Thanks for the post and good to hear things are going well. Answer and question below
Quote:1) Visual Micro seems to ignore the Startup Project when building. I have a solution that has 1 Windows program and 2 Arduino projects. I have to unload one of the Arduino projects to build the other. Setting it as the Startup Project, like the manual says to do, has no impact, Visual Micro always builds the first Arduino project it finds. Loading and unloading projects is tiresome.
This behavior is optional.
Why The problem is that most arduino users do not understand the concept of a Visual Studio Start-up project. In fact they find it confusing.
Default way of working Therefore Visual Micro builds the project of the code that is active in the code editor. This means that is you are editing/viewing "Project1.ino" it will build when you click build. If you are editing/viewing "Project2.ino" then Project2 will build.
Using the Startup Project If I recall you can enable use of Startup project by switching OFF
vMicro>General>Active Code Has Priority Over Solution Explorer Documentation Maybe this needs to be documented better. If you have seen a link on visualmicro.com that is incorrect then please provide otherwise I will add to the docs.
Quote:2) Visual Studio always complains about size_t be ambiguous. In my Arduino projects, I have cleared the Visual Studio include directory, and made sure that all include files are coming from the Teensy headers. There are no Windows or Visual C++ files being included, but the IDE still complains and underlines all size_t types. When I right click and choose "Peek" it finds 0 size_t to navigate to. If I right click and choose view the declaration, it jumps to the correct Teensy include file where size_t is defined.
Visual Micro manages the build process to ensure it is accurate but we leave a lot of intellisense to Visual Studio.
Sometimes VS intellisense needs a little extra info for certain boards/platforms. Therefore, for intellisense reports please always state the board/mcu you are using and if not standard arduino then provide a link to the board support package or git repository. Failing that at least say the name of the board and hardware package.
Thanks