Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
Support requests without the output above may be impossible to answer, so please help us to help you
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
Build and Upload running twice? (Read 4001 times)
Acuario
Member
***
Offline



Posts: 105
Build and Upload running twice?
Oct 15th, 2015 at 6:35am
 
Hi,
I just updated to the 12th October version and have a strange thing happening.
When I click on the 'Build and upload' icon on the toolbar it appears as if 2 builds are simultaneously started - I see it starting up twice in the Output window.
The resulting output shows:

Compiling 'Test' for 'Arduino Nano w/ ATmega328'
Uploading to I/O board using 'COM17'
Binary sketch size: 28,430 bytes (used 93% of a 30,720 byte maximum) (1.46 secs)
Minimum Memory Usage: 1512 bytes (74% of a 2048 byte maximum)
Uploading to I/O board using 'COM17'
avrdude: ser_open(): can't open device "\\.\COM17": Access is denied.
Done uploading

This didn't happen on previous versions.
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10529
United Kingdom
Re: Build and Upload running twice?
Reply #1 - Oct 15th, 2015 at 12:32pm
 
Thanks for the info.

Which Ide are you using and what are you clicking to upload?

Thanks
Back to top
 
WWW  
IP Logged
 
Acuario
Member
***
Offline



Posts: 105
Re: Build and Upload running twice?
Reply #2 - Oct 15th, 2015 at 1:05pm
 
Visual Studio 2015 professional. The latest October 12th build of Visual Studio (installed via the visual studio notifications link).
I click on the VS toolbar button 'Build and upload'
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10529
United Kingdom
Re: Build and Upload running twice?
Reply #3 - Oct 15th, 2015 at 1:14pm
 
Thanks, can you please try the Green Toolbar arrow or F5 instead and see if that does one or two upload attempts
Back to top
 
WWW  
IP Logged
 
Acuario
Member
***
Offline



Posts: 105
Re: Build and Upload running twice?
Reply #4 - Oct 15th, 2015 at 4:25pm
 
Not sure what you mean by the green toolbar button but F5 does a single build and upload. If you mean the '> Local Windows Debugger' button then yes, this only does a single build/upload.
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10529
United Kingdom
Re: Build and Upload running twice?
Reply #5 - Oct 15th, 2015 at 4:50pm
 
Yes that's what I meant. Thanks for the report there will be a new release over the next few days.
Back to top
 
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print