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
Hot Topic (More than 8 Replies) VS 2012 Alpha Issues (new thread) (Read 10746 times)
Robert KJohnson Sr
Newbies
*
Offline


Posts: 3
Joined: Sep 6th, 2012
VS 2012 Alpha Issues (new thread)
Sep 12th, 2012 at 5:18pm
Print Post  
I'm pleased you find it all useful 

Please zip and email the test sketch so that I can take a look at it. Also send a link of where I can download the library.

The intellisense isn't 100% perfect because we use the vs C++ system which does not know about some arduino syntax, however, it should be MUCH better than it sounds in your report.

When you noticed the errors where you looking at the sketch code or library code?

Request: Please open a new conversation thread because this thread was raised by a different user with a different problem. That user will not want to received automated emails about your problem because it is unconnected.

Thanks
New thread as you requested... I am reasonable certain that all or a large part of all is my lack of experience with both VS and the Arduino IDE
The errors using the mouse over (intellisense?) occurred in a working sketch, better thought, I... to start with a piece of code that I knew worked rather than try to fix one I knew didn't. So I loaded up a GPS thing I had used several months ago "Test_With_gps_device" by mikal Hart Mouseover was an interesting thing and so were the errors as I knew that the code was good, complied for an Uno successfully in VS but not from the display of the sketch... (I hate that word... ITS CODE...) nuff said. 
Considering the utility and the possible future of this work I am mORe than ready to be real patient. What...
Perhaps it would help both of us if you could point me to tutorials on using VS so "Hopefully" I can learn more about VS and ultimately Visual Micro and C++ as well (Likely more important). I have a lot of experience with Basic, in the late 90's I was writing code for devices I was building for Irrigation Controllers... in Quick Basic (PDS 7.1) .
I wrote some assembler for PIC micro's both in spasm and Microchip assembler.
Now I'm retired and wanting badly to learn C++. I also have a great deal of free time and needing to structure my time and a great desire to follow my dreams... I wound up here.
I think for now I've said enough, If I spend some time reading here I might be able to find some if not all of my answers.
Thank You Sir for your time and care...

Bob (Docedison)
« Last Edit: Sep 13th, 2012 at 12:16pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VS Issues (new thread)
Reply #1 - Sep 12th, 2012 at 7:35pm
Print Post  
Hi Bob,

Please email the sketch. It might be that 2012 needs a bit of work but I would like to see the sketch

Thanks very much
  
Back to top
IP Logged
 
Robert KJohnson Sr
Newbies
*
Offline


Posts: 3
Joined: Sep 6th, 2012
Re: VS Issues (new thread)
Reply #2 - Sep 12th, 2012 at 11:49pm
Print Post  
I didn't email or post it because it is so common... at least to me. Sorry. I can't figure how to email it to you so here is the link>>> [url]http://arduiniana.org/libraries/TinyGPS[/url]  <<<

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


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VS 2012 Alpha Issues (new thread)
Reply #3 - Sep 13th, 2012 at 12:16pm
Print Post  
I suspect that I might know what the problem is. I think it is a problem when an existing sketch is first opened for the first time in visual studio 2012.

Visual micro updates the visual studio intellisense definitions at various times. One of those times if when a vs sketch project is automatically created from an existing sketch.

Other times that the definitions are updated are:-
1) Change of board
2) Addition or removal of a library (after clicking save)
3) Addition or removal of methods() from any .pde or .ino sketch file (after clicking save)

As a test...

Would you please try to add EEPROM library to your sketch. VS should auto save your sketch after adding a library (if it doesn't please click save yourself.) (you can remove it again after the test)

Does this cause ALL intellisense to start working properly?

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


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VS 2012 Alpha Issues (new thread)
Reply #4 - Sep 13th, 2012 at 12:35pm
Print Post  
I have replicated some problems with intellisense refresh in VS2012 Alpha and will produce a fix during the next few days. Sorry for the messing and thanks for the reports.
  
Back to top
IP Logged
 
Robert KJohnson Sr
Newbies
*
Offline


Posts: 3
Joined: Sep 6th, 2012
Re: VS 2012 Alpha Issues (new thread)
Reply #5 - Sep 13th, 2012 at 11:25pm
Print Post  
Thank You sir. I will try your suggestion about the libraries as soon as I can today, I am awaiting your pleasure.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VS 2012 Alpha Issues (new thread)
Reply #6 - Sep 14th, 2012 at 1:11am
Print Post  
I wouldn't bother just yet Smiley I need to look into some things when I get a chance. I had a project where the intellisense was working and when I changed the board the intellisense broke.

The VS C++ properties are not being updated, which is something that Visual Micro does in the background.

So it might be broken at the moment although one user reports is working well. 

I think that microsoft have a new C++ compiler in 2012 and some projects are using the old one and some the new one. I guess I'll be coding for each of them! They never make things easy  Cry
  
Back to top
IP Logged
 
Bryan
Junior Member
**
Offline


Posts: 58
Location: Canada
Joined: Sep 8th, 2012
Re: VS 2012 Alpha Issues (new thread)
Reply #7 - Sep 14th, 2012 at 1:55am
Print Post  
Tim@Visual Micro wrote on Sep 14th, 2012 at 1:11am:

I think that microsoft have a new C++ compiler in 2012 and some projects are using the old one and some the new one. I guess:'(


When I opened up a couple VS20120 projects in VS2012 it said the project was being updated to a new compiler version 101 or 110, something like that ??. So yes it looks like it is using using a updated compiler. If i revert back to VS2012 I have to clean and rebuild the solution.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VS 2012 Alpha Issues (new thread)
Reply #8 - Sep 14th, 2012 at 2:06am
Print Post  
Thanks, that make sense.


Quote:
If i revert back to VS2012 I have to clean and rebuild the solution


Do you mean that you have been able to revert projects back to 2010 with these instructions?
  
Back to top
IP Logged
 
Bryan
Junior Member
**
Offline


Posts: 58
Location: Canada
Joined: Sep 8th, 2012
Re: VS 2012 Alpha Issues (new thread)
Reply #9 - Sep 14th, 2012 at 5:27am
Print Post  
Appears so, if I try and rebuild a VS2012 project in VS2010 I receive this error.

Code
Select All
1>C:\Program Files ,5): error MSB8008:
Specified platform toolset (v110) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected. 



If I clean the solution and then rebuild the solution all is well.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VS 2012 Alpha Issues (new thread)
Reply #10 - Sep 15th, 2012 at 8:48pm
Print Post  
VS2012 beta is now on codeplex. It fixes all the problems and also some debugger problems in 2010. 

I hope that I have updated all file version numbers so that you do not need to uninstall the previous version prior to install of 1209.15. 

After installation you can confirm the "Visual Micro version via Tools>Options>Visual Micro>Version"

The version also fixes some re-size issues in the options windows
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint