Visual Studio Ide for Arduino
https://www.visualmicro.com/forums/YaBB.pl
>> >> App project and Sketch project in one
https://www.visualmicro.com/forums/YaBB.pl?num=1435342437

Message started by jrich on Jun 26th, 2015 at 7:13pm

Title: App project and Sketch project in one
Post by jrich on 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

Title: Re: App project and Sketch project in one
Post by Visual Micro on 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.

Visual Studio Ide for Arduino » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2019. All Rights Reserved.