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 Installation Issue - VS Ultimate 2012 on Windows 8 (Read 7806 times)
Chris Crowe
Newbies
*
Offline


Posts: 7
Joined: Aug 4th, 2012
Installation Issue - VS Ultimate 2012 on Windows 8
Oct 1st, 2012 at 6:54pm
Print Post  
Hi

I am having a problem with the addin not showing up in VS 2012.

I have removed it and readded it multiple times with no luck. No menus - not listed in the addin manager - and trying the reset procedure returns with an error message

http://www.visualmicro.com/post/2011/10/01/How-to-reset-the-arduino-visual-studi...

Using the cmd line option this is what is displayed when VS loads.

---------------------------
Microsoft Visual Studio
---------------------------
The following files were specified on the command line:


     Visual.Micro.Visual.Studio.Arduino.Helper

These files could not be found and will not be loaded.
---------------------------
OK   
---------------------------

So it looks like it is not registering the DLL.

I see you mentioned that it registers the DLL via a registry key.

Can you provide the path so I can manually register it?

The files are installed into C:\Program Files (x86)\Visual Micro

Note: Installing in VS Ultimate 2012 under Windows 7 worked fine on a different machine.

Cheers

chris
« Last Edit: Oct 1st, 2012 at 6:55pm by Chris Crowe »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Installation Issue - VS Ultimate 2012 on Windows 8
Reply #1 - Oct 1st, 2012 at 7:17pm
Print Post  
Hi Chris, yes it says on codeplex that win8 is not tested yet and therefore not supported.

However, I think the problem is with the installer so you could try copying the files from your win7 machine (program files/visual micro/visual micro for arduino") to your win8 machine and then in VS 2012 Tools>Options> Addin Security" add the path to the vm folder to the list. This is all that the installer does Smiley

It will be looked at official asap but hope this gets you going for now
  
Back to top
WWW  
IP Logged
 
Chris Crowe
Newbies
*
Offline


Posts: 7
Joined: Aug 4th, 2012
Re: Installation Issue - VS Ultimate 2012 on Windows 8
Reply #2 - Oct 1st, 2012 at 7:47pm
Print Post  
Thanks for the heads up - I missed that about Windows 8.

OK I have got it working!!

I added the directory "c:\Program Files (x86)\Visual Micro\Visual Micro for Arduino" in Tools - Add-In Security" folder.

Once I did this it showed up in Add In Manager with all check boxes not checked.

I checked all 3 and then clicked on OK and it failed with a message "File Not Found"

I used Process Monitor to look at the requests

I found it was opening the .ADDIN file - in this case Visual.Micro.Visual.Studio.Arduino.2012.AddIn

It was then trying to open the file 

C:\Visual Micro\Visual Micro 2010 for Arduino\Bin\Visual.Micro.Visual.Studio.Arduino.11.dll

I exited VS.NET and edited the Visual.Micro.Visual.Studio.Arduino.2012.AddIn file and changed the reference from 

C:\Visual Micro\Visual Micro 2010 for Arduino\Bin\Visual.Micro.Visual.Studio.Arduino.11.dll

to

C:\Program Files (x86)\Visual Micro\Visual Micro for Arduino\Visual.Micro.Visual.Studio.Arduino.12.dll

I tried to save this but was denied access - so I saved to c:\temp  and then copied the file over the top (admin rights needed)

I started VS.NET and opened addin manager.

I again checked the options for Visual Micro and Startup and CMDLINE and clicked OK.

This time it worked and it is working - I have the Visual Micro Menus etc..

Let me know if you want someone to test Windows 8 / VS2012 functionality installations for you.

Chris
« Last Edit: Oct 1st, 2012 at 7:48pm by Chris Crowe »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Installation Issue - VS Ultimate 2012 on Windows 8
Reply #3 - Oct 1st, 2012 at 9:31pm
Print Post  
You are a star, thanks for that. I suspect it needs a new installer for .net 4. The current one is compatible with vs 2008 so is .net3.5.

The installer is responsible for configuring all of the things you spotted, well done for finding them all!! I forgot what it does when I replied earlier.
« Last Edit: Oct 1st, 2012 at 9:31pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Installation Issue - VS Ultimate 2012 on Windows 8
Reply #4 - Oct 6th, 2012 at 10:41pm
Print Post  
As a short term help for windows 8 64bit updates the .addin files are now distributed with these default settings:-
  • Force load when VS starts
  • Pointing to the correct dlls in the default installation path of "C:\Program Files (x86)\Visual Micro\Visual Micro for Arduino"

This means that after first time install of Visual Micro on Window 8, users only need to add the "Enviroment>Macro & Security" path manually. In a default 64 bit install this means adding "C:\Program Files (x86)\Visual Micro\Visual Micro for Arduino" to the path list.
  
Back to top
WWW  
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Installation Issue - VS Ultimate 2012 on Windows 8
Reply #5 - Nov 4th, 2012 at 11:52pm
Print Post  
For others that read this topic...

In recent versions win8 has installed correctly after enabled .NET3.5 in "Control Panel>Add Windows Feature"
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint