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 crash (After renaming a project) (Read 3557 times)
Jim
Newbies
*
Offline


Posts: 5
Location: Central Colorado,USA
Joined: Oct 21st, 2012
Visual Studio crash (After renaming a project)
Nov 8th, 2012 at 5:36pm
Print Post  
I opened a ino in VS. It asked me if I wanted to open a project, I said yes. I wanted to rename the project. When I renamed it without changing the ino name a window came up warning me that the sketch name was different, You couldn't exit the window. If you clicked OK or the close button it just repainted the window.

Jim
« Last Edit: Nov 8th, 2012 at 5:49pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Studio crash
Reply #1 - Nov 8th, 2012 at 5:48pm
Print Post  
Hi Jim, what version of vm are you running. I thought, in the latest version, that annoying message had been moved to a status bar message.

The version can be found in Tools>Options>Visual Micro>Version

Some rules...

1) VM expects the project to be same name as the main sketch

2) Arduino and vm expect the folder name to be the same name as the sketch

Renaming a sketch wasn't too easy in earlier versions. The best way was to close vs, rename the sketch and folder using windows explorer and then delete the .vc... project files. Vm will always re-create the project (if it doesn't exist) when a sketch is opened.

In the latest version (1211.04) we have the first pass at providing an automatic rename facility. You need to right click the main .ino (or .pde) and select rename. Doing this will cause vm to ask you if you want to rename the sketch. If you click okay vm will close the project, rename all of the required files and the folder then re-open the project.
  
Back to top
WWW  
IP Logged
 
Jim
Newbies
*
Offline


Posts: 5
Location: Central Colorado,USA
Joined: Oct 21st, 2012
Re: Visual Studio crash (After renaming a project)
Reply #2 - Nov 8th, 2012 at 6:00pm
Print Post  
Sorry, I only uploaded two weeks ago but did have old version 1.1210.26.

OK on renaming! I knew that about the Arduino IDE, did not realize VS was the same. Thanks for the speedy reply!!!!

Jim
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint