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] 2  Send TopicPrint
Very Hot Topic (More than 25 Replies) Installing plugin (VS2012 Alpha) (Read 37733 times)
Roberto Imai
Junior Member
**
Offline


Posts: 22
Joined: Sep 9th, 2012
Installing plugin (VS2012 Alpha)
Sep 9th, 2012 at 6:01pm
Print Post  
I downloaded and installed ArduinoForVisualStudio.msi on a fresh installation of VS2012, but I can't seem to find "Tools>Options>Visual Micro"
Has it been relocated under another menu option on VS2012?
« Last Edit: Sep 13th, 2012 at 12:19pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Installing plugin
Reply #1 - Sep 9th, 2012 at 6:39pm
Print Post  
Hi, there will be a version of vm for 2012 in a week or so.

For now you should be able to install vs 2010 pro for free via the microsoft websitespark program. See the main vm site for more info.

The problem with 2012 is that it needs the addin to be compiled for .net4.5. I tried the .net4.0 version that vs2010 uses and it failed when getting the C++ project properties. So this means a different build for 2012 which is a pain! We have two already 2008,2010.

Anyway, it won't be long now before I find some time
  
Back to top
IP Logged
 
Roberto Imai
Junior Member
**
Offline


Posts: 22
Joined: Sep 9th, 2012
Re: Installing plugin
Reply #2 - Sep 9th, 2012 at 9:57pm
Print Post  
Not available anymore Sad
Only 2012 is available on websitespark now.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Installing plugin
Reply #3 - Sep 10th, 2012 at 12:43am
Print Post  
oh. okay i'll do it over next couple of days.
  
Back to top
IP Logged
 
Bryan
Junior Member
**
Offline


Posts: 58
Location: Canada
Joined: Sep 8th, 2012
Re: Installing plugin
Reply #4 - Sep 10th, 2012 at 1:44am
Print Post  
Roberto Imai wrote on Sep 9th, 2012 at 9:57pm:
Not available anymore Sad
Only 2012 is available on websitespark now.


It is still there, as a iso file download. I used 7-zip to extract.

Visual Studio 2010 Professional (x86) - DVD (English)

Not sure if the link will work but here is where it is or search the name as above.

https://msdn.microsoft.com/subscriptions/securedownloads/#searchTerm=visual%20st...
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Installing plugin
Reply #5 - Sep 10th, 2012 at 3:20am
Print Post  
Thanks all for letting me know and thanks Bryan for looking!

I didn't realise that Microsoft had defaulted to 2012 for WebSiteSpark so I have just upload a new version to codeplex for you to try when you have time.

The code is the same as the previous version 1208.19 so I don't expect any really nasty problems. The only difference is the compile of .NET4.5 for the 2012 version and slight changes to the installer.

I hope to hear news that the version works for everyone in all vs versions. At that time I will update the codeplex status from alpha to stable.

Thanks
  
Back to top
IP Logged
 
Bryan
Junior Member
**
Offline


Posts: 58
Location: Canada
Joined: Sep 8th, 2012
Re: Installing plugin
Reply #6 - Sep 10th, 2012 at 9:22am
Print Post  
Hi Visual Micro:  Smiley

Downloaded VS 2012 and installed the latest version from Codeplex 1.1208.19 (beta) and have noticed the same issue as Roberto. Can not find any reference to Visual Micro in the menus of VS 2012, even though the installer reported it installed successfully. VS 2010 still works fine though Smiley
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Installing plugin
Reply #7 - Sep 10th, 2012 at 11:47am
Print Post  
Hi Bryan, Robertos report was before the 2012 version so I would expect that.

Can you check your VS 2012 "Tools>Options>Enviroment>Addin Security", locations list. Do you see the visual micro program folder in the list?

Thanks
« Last Edit: Sep 10th, 2012 at 3:19pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Installing plugin
Reply #8 - Sep 10th, 2012 at 2:50pm
Print Post  
Other requests to save us all some time..
1)
After running the new 2010/2012 update from codeplex do you see a file called "Visual.Micro.Visual.Studio.Arduino.12.dll" in "Program Files\Visual Micro\Visual Micro for Arduino" folder?

nb: The correct folder is show in "Tools>Options>Visual Micro>Version>Assembly"

2)
See request below concerning VS2012 ""Tools>Options>Enviroment>Addin Security>Locations>Addin file paths"
« Last Edit: Sep 10th, 2012 at 3:20pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Bryan
Junior Member
**
Offline


Posts: 58
Location: Canada
Joined: Sep 8th, 2012
Re: Installing plugin
Reply #9 - Sep 10th, 2012 at 4:30pm
Print Post  
Tim@Visual Micro wrote on Sep 10th, 2012 at 2:50pm:
Other requests to save us all some time..
1)
After running the new 2010/2012 update from codeplex do you see a file called "Visual.Micro.Visual.Studio.Arduino.12.dll" in "Program Files\Visual Micro\Visual Micro for Arduino" folder?

nb: The correct folder is show in "Tools>Options>Visual Micro>Version>Assembly"

2)
See request below concerning VS2012 ""Tools>Options>Enviroment>Addin Security>Locations>Addin file paths"



Hi Visual Micro:

Yes, both 2 above are there. It is now appearing in VS2012 as it should. Rather strange, but I uninstalled the latest Codeplex build, as it did not appear to be working with VS2102.

Uninstalled and then then reinstalled the previous version. At that point neither VS 20120 and VS 2012 had the plug in showing. So reinstalled the latest version and all appears to be well. Although have not tested a project yet.
  
Back to top
 
IP Logged
 
Bryan
Junior Member
**
Offline


Posts: 58
Location: Canada
Joined: Sep 8th, 2012
Re: Installing plugin
Reply #10 - Sep 10th, 2012 at 4:48pm
Print Post  
HI VM:

Projects there and compiles, but when uploading to UNO, the following error message when a breakpoint is enabled.

Unable to load breakpoint from xml settings
System nullreference exception: Object reference not set to an instance of an object...


Have a screen capture, but can't see a way of uploading attachements.

I removed the breakpoint and it uploads fine, when adding back the breakpoint error again. 
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Installing plugin
Reply #11 - Sep 10th, 2012 at 6:17pm
Print Post  
I didn't get a chance to test the debug fully in 2012, it sounds like the vs breakpoint class has been changed.

I am going to nail that installer once and for all. It has been misbehaving recently. I must have altered a setting by mistake.

Thanks very much for the feedback it really help!!
  
Back to top
IP Logged
 
Bryan
Junior Member
**
Offline


Posts: 58
Location: Canada
Joined: Sep 8th, 2012
Re: Installing plugin
Reply #12 - Sep 10th, 2012 at 6:41pm
Print Post  
Will send you a screenshot to your e-mail of the error
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Installing plugin
Reply #13 - Sep 10th, 2012 at 7:38pm
Print Post  
Thanks, yes forgot to say I've had a problem setting this bb to allow attachments. Some sort of permission error that I haven't had time to investigate. Email good but I will be a able to reproduce. The breakpoints were the last thing I expected to fail in vs2012.

I'll update the debug board when fixed and of course, codeplex Smiley
  
Back to top
IP Logged
 
Roberto Imai
Junior Member
**
Offline


Posts: 22
Joined: Sep 9th, 2012
Re: Installing plugin
Reply #14 - Sep 11th, 2012 at 4:01pm
Print Post  
Ok, I was able to load installation and everything is good for the installation part of it Smiley
Unfortunately, I'm in the same boat as Bryan. Same error Sad

PS. I check marked the "Notify of replies", but still get no emails when the thread gets replies Sad
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Installing plugin
Reply #15 - Sep 11th, 2012 at 4:33pm
Print Post  
Hello, please unistall Visual Micro for Arduino via windows control panel and then reun the codeplex install.

Before running the uninstall make sure all instances of visual studio are closed. Check task manager and terminate any remaining devenv.exe processes. 

Devenv.exe is visual studio and should not be open loaded after vs is closed. If it is it can be terminated safely.
  
Back to top
IP Logged
 
Roberto Imai
Junior Member
**
Offline


Posts: 22
Joined: Sep 9th, 2012
Re: Installing plugin
Reply #16 - Sep 11th, 2012 at 8:40pm
Print Post  
I did that and still get the same message.
It only happens after the code is uploaded to the board.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Installing plugin
Reply #17 - Sep 11th, 2012 at 10:42pm
Print Post  
Hi Roberto,

Questions

Are you saying that the standard system works but fails when breakpoints are set?

Have you enabled the debug? If so please switch it off and confirm if 2012 is fully working without debug?

Thanks

  
Back to top
IP Logged
 
Roberto Imai
Junior Member
**
Offline


Posts: 22
Joined: Sep 9th, 2012
Re: Installing plugin
Reply #18 - Sep 12th, 2012 at 4:08am
Print Post  
Correct.
I can upload sketches fine.
I did not go through the whole debug thing, because I still need to read up on how to do it, but when I try to upload again, it tell me that I have a debug session running and if I want to start a new one.
I only get error messages if I add a breakpoint and it happens after the code is uploaded to the board.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Installing plugin
Reply #19 - Sep 12th, 2012 at 5:56am
Print Post  
please add topics to the debug board. this board is for normal usage problems unrelated to debug, that includes breakpoints Smiley 

Because you are a new user I would like you to uninstall the debug pack then if you still have a problem install vs2010 and use that until 2012 has been more fully tested

Thanks
  
Back to top
IP Logged
 
Page Index Toggle Pages: [1] 2 
Send TopicPrint