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 Visual Studio 2010 - Open existing Sketch - Blank Project and Crash (Read 5230 times)
Red Penguin
Newbies
*
Offline


Posts: 3
Joined: Jan 6th, 2013
Visual Studio 2010 - Open existing Sketch - Blank Project and Crash
Jan 6th, 2013 at 7:57pm
Print Post  
I am opening an existing sketch via the File --> Open --> Arduino Project and it opens the Solution with 0 Projects.   

Ok maybe that is what is should do at first.

I then rick click on the Solution in the Explorer and click Add existing Item and choose the ino file.It then says "Would you like to open an arduino project for sketch 'ProjectName' and I click ok.  "Visual Studio has encountered a problem and needs to restart" then restarts VS with nothing open.

I just installed today and have restarted everything.

Thanks for any help
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Studio 2010 - Open existing Sketch - Blank Project and Crash
Reply #1 - Jan 6th, 2013 at 8:24pm
Print Post  
Hi,

If you open a sketch that way it should create a project and add all the sketch files (ino) to the project so something is wrong.

Can you open vs and create an empty c++ Win32 project using "File>New>Project"? This is a non-arduino project simply to test that the standard c++ system is installed in VS correctly?

Thanks
  
Back to top
IP Logged
 
Red Penguin
Newbies
*
Offline


Posts: 3
Joined: Jan 6th, 2013
Re: Visual Studio 2010 - Open existing Sketch - Blank Project and Crash
Reply #2 - Jan 6th, 2013 at 8:32pm
Print Post  
I probably made a dumb mistake.  I am not a C/C++ developer so all I have installed was the C# and visual options.   

I suppose I need to update that in order to start using this tool.  I will update VS and see that that brings, thanks for the VERY quick reply.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Studio 2010 - Open existing Sketch - Blank Project and Crash
Reply #3 - Jan 6th, 2013 at 8:49pm
Print Post  
Yep needs C++  Smiley
  
Back to top
IP Logged
 
Red Penguin
Newbies
*
Offline


Posts: 3
Joined: Jan 6th, 2013
Re: Visual Studio 2010 - Open existing Sketch - Blank Project and Crash
Reply #4 - Jan 6th, 2013 at 9:53pm
Print Post  
I would just like to say I already like it more than the Arduino IDE.  Its a familiar IDE that I am already familiar with and has a better feel to it.

I can disconnect the UNO as long as I close the serial monitor and not have to cycle the COM #'s in the device manager to get it working again. The Arduino IDE has to be closed to disconnect the USB without causing an issue, atleast for both of my Win 7 x64 machines.

More reviews to come once I really start in.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint