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 Upload Last Arduino Build (Read 3453 times)
michael_x
Newbies
*
Offline


Posts: 5
Location: Germany
Joined: May 13th, 2013
Upload Last Arduino Build
May 16th, 2013 at 7:23pm
Print Post  
I have a Solution with an Arduino project and a c# VisualStudio project for my local machine. 

I can compile both projects, the Arduino project building can be seen in the Micro Build Output.
However uploading using the menu Project / "Upload Last Arduino Build" does not work unless I switch the Startup Project to the Arduino Project.

Is there a way to avoid switching the Startup Project all the time ? 
Or: How would you easiest start the new Windows exe while having the Arduino project as the "main", from within VS ? ( I admit, that might be a non VisualMicro question )


  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Upload Last Arduino Build
Reply #1 - May 16th, 2013 at 7:36pm
Print Post  
It's a good point and always difficult with vs to know what to do. 

I think it should upload for whichever project VS shows 'Build only "projectx"'?

If you agree I will put it on the list, maybe also the right mouse context menu in the solution explorer should also have the option.

  
Back to top
IP Logged
 
michael_x
Newbies
*
Offline


Posts: 5
Location: Germany
Joined: May 13th, 2013
Re: Upload Last Arduino Build
Reply #2 - May 16th, 2013 at 9:03pm
Print Post  
If it's not that easy to remember which Arduino project was compiled last, the currently selected one ( which "Build only" refers to), is a good choice, agreed. 

I tried the right mouse context first (in vain), so if you add this enhancement fast, I still might get used to it.   

Again, thanks Tim, for your fast response.

I promised to invent a harder question next time, an accepted enhancement request is not that bad Wink
But:
How do others deal with such scenarios? I think having an Arduino and a Windows project related to each other is a common  situation, especially when using VisualStudio ...
Sure, one gets used to switching the "active" project after a while (and true love does not complain)
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Upload Last Arduino Build
Reply #3 - May 16th, 2013 at 11:13pm
Print Post  
Smiley

Don't forget you can customise the vs tool bars. You could add a new tool bar that has a button to set the startup project to the currently selected in the explorer. This will save a menu click.

Will do something soon, thanks again. look forward to more difficult question next time!
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint