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 No Upload, limited compile... (Read 1481 times)
Brian Odlum
Newbies
*
Offline


Posts: 3
Joined: Mar 29th, 2015
No Upload, limited compile...
Mar 29th, 2015 at 9:50am
Print Post  
I just installed Visual Micro. Here are all my versions:

Visual Micro latest
Visual Studio 2010 10.0.40219.1 SP 1Rel
.NET Framework 4.5.51209 SP 1Rel
Arduino IDE 1.0.6
Windows 7 v64 Professional
Arduino Mega 2560 R3

Here is my problem: I have yet to get Visual Micro to upload the sketch build to the Arduino board, no matter what I do.  Sad

Worse, the only way I can get the sketch to compile is by right clicking on the project in the Solution Explorer window and selecting one of the "Project Only" build options.

I should mention that this is a multi-project solution, with the "central" project being a .NET forms application. If I right click on the Arduino project and select "Set as StartUp project", then all of the various build buttons in VS work as advertised, but ONLY the Arduino sketch is built - all of the other projects in the solution are left untouched. If I right click on the central Forms project and select "Set as StartUp Project", then ALL of the other projects in the solution are built EXCEPT the Arduino sketch. Regardless, the sketch has yet to be uploaded by Visual Micro to the Arduino mega board.

I should add that the sketch compiles successfully and uploads successfully using the Arduino 1.0.6 IDE. No problems there. I can't use the latest Arduino IDE (1.6.x) because the original sketch was written by a third party (I'm only making modifications) and the third party warns that their code won't compile under the 1.6.x IDE (which it doesn't) Shocked

I haven't bought Visual Micro yet, I'm running the trial period.  Does that make a difference? However, unless I can get it working as advertised, I won't be buying the product. (Are you folks at VisualMico listening?)

Have I missed something obvious? Thanks...


« Last Edit: Jun 5th, 2017 at 10:58pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: No Upload, limited compile...
Reply #1 - Mar 29th, 2015 at 1:18pm
Print Post  
Hi Brian,

It would be a lot easier if you used a single project solution to prove your installation is correct before jumping into mixture of windows and arduino projects Smiley

There are distinctive functions in Visual Studio for build and build/upload. You don't say which "buttons" you are using. The "Debug>Start ..." options are used to build and run/upload??

Please also confirm the name of the application you picked when configuring the Ide location in Visual Micro?

Thanks

« Last Edit: Jun 3rd, 2017 at 3:20am by Tim@Visual Micro »  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: No Upload, limited compile...
Reply #2 - Jun 2nd, 2017 at 9:19pm
Print Post  
Edit: Some confusion

1) The Visual Micro build and upload commands upload the currently active arduino project.
2) The Visual Studio "build and upload" commands upload the "Startup Project". So if you are using the Visual Studio F5 or debug start then it will only ever upload the Startup project. In this case make Visual Micro the Startup Project or use the Visual Micro tool bar to upload.
3) Visual Micro also allows you to use the Visual Studio 'Build>Project Only'
4) Visual Studio can only debug one project at a time.


What other combination would you require?

Sorry but it seems to me that this is not an error but your lack of understanding of how things work. You haven't been clear about what magic combination you want to work. It sounds like you want to build and upload Arduino at the same as building and possible starting a window project which would be ridiculous so I must have missed the point.


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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: No Upload, limited compile... SOLVED
Reply #3 - Jun 5th, 2017 at 11:00pm
Print Post  
SOLVED

Sorry didn't see you are using vs2010

That is not the latest Visual Micro it is an old unsupported version from 2015.

A lot has changed since then, upgrade to vs2013 or above. Visual studio has been free since vs 2013

Release notes always worth a read!

http://www.visualmicro.com/page/Visual-Micro-Product-Version-History-Fixes-and-A...
« Last Edit: Jun 5th, 2017 at 11:01pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint