Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Build and Upload running twice? (Read 5620 times)
Acuario
Full Member
***
Offline


Posts: 233
Location: Spain
Joined: Aug 28th, 2015
Build and Upload running twice?
Oct 15th, 2015 at 5:35am
Print Post  
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
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Build and Upload running twice?
Reply #1 - Oct 15th, 2015 at 11:32am
Print Post  
Thanks for the info.

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

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


Posts: 233
Location: Spain
Joined: Aug 28th, 2015
Re: Build and Upload running twice?
Reply #2 - Oct 15th, 2015 at 12:05pm
Print Post  
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
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Build and Upload running twice?
Reply #3 - Oct 15th, 2015 at 12:14pm
Print Post  
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
Full Member
***
Offline


Posts: 233
Location: Spain
Joined: Aug 28th, 2015
Re: Build and Upload running twice?
Reply #4 - Oct 15th, 2015 at 3:25pm
Print Post  
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
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Build and Upload running twice?
Reply #5 - Oct 15th, 2015 at 3:50pm
Print Post  
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 TopicPrint