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
App project and Sketch project in one (Read 1837 times)
jrich
Newbies
*
Offline



Posts: 1
App project and Sketch project in one
Jun 26th, 2015 at 7:13pm
 
I was just screwing around with this, and wrote a simple sketch to pull the temp and dump it to the serial port with a project called TempSketch, which when i hit F5 will build and upload.

Now I want to read it so I added a C# project to this solution called TempApp and set it to the startup project.

So now i cant just Build All to have it upload I have to build/run the sketch and then build run the app...

it would be nice if i could just do some sort of dependency between the two and have it upload as part of the process.

i tried to set multiple startup projects, but it basically looks for an exe so that doesnt work.

is there any way to do this?

Thanks,
Jusitn
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10558
United Kingdom
Re: App project and Sketch project in one
Reply #1 - Jun 26th, 2015 at 8:55pm
 
Hi,

Vs only ever has one "start-up" project, you select which of the projects is startup so it can be run and debugged. You can also right click any of the projects and "start a new instance".

It's also possible to open multiple instances of visual studio, one for each project. This makes most sense because then you can debug both projects at the same time.
Back to top
 
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print