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) How to install for VS2012 and AS6.1? (Read 13762 times)
Bernd Plagens
Junior Member
**
Offline


Posts: 14
Location: Germany
Joined: Apr 22nd, 2013
How to install for VS2012 and AS6.1?
May 2nd, 2013 at 7:51pm
Print Post  
I have VS2012 (demo) and AS6.1 installed on the same PC.
How to install VM for both?

The Add-In Manger inside AS6.1 did not have any "Add" button.

Thank you!
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12204
Location: United Kingdom
Joined: Apr 10th, 2010
Re: How to install for VS2012 and AS6.1?
Reply #1 - May 2nd, 2013 at 8:56pm
Print Post  
Hi there,

The Atmel version is not official released yet. There is an early beta on codeplex 1305.01, the installer installs both Atmel and Visual Studio versions. the installer or a repair must be run after installing any version of VS or Atmel.

1)
Do you have Atmel Studio version 6.1 installed? If so when did you install it.

2)

Please tell me which version of Visual Micro you installed from codeplex and when it was installed?

Thanks
« Last Edit: May 2nd, 2013 at 11:14pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Bernd Plagens
Junior Member
**
Offline


Posts: 14
Location: Germany
Joined: Apr 22nd, 2013
Re: How to install for VS2012 and AS6.1?
Reply #2 - May 3rd, 2013 at 7:04pm
Print Post  
Hello - here the awnser to your questions:

Tim@Visual Micro wrote on May 2nd, 2013 at 8:56pm:
1) Do you have Atmel Studio version 6.1 installed? If so when did you install it.

Yes - yesterday -> it shows version 6.1.2562

Tim@Visual Micro wrote on May 2nd, 2013 at 8:56pm:
2) Please tell me which version of Visual Micro you installed from codeplex and when it was installed?

VS2012 and AS6.0 was already installed - then i upgrade AS6.0 to AS6.1 - then i installed VM (version 1305.01 b)

In VS2012 it is ok - but also after a Repair of AS6.1 i do not see any VM menu entry anywhere inside AS6.1

Thank you!
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12204
Location: United Kingdom
Joined: Apr 10th, 2010
Re: How to install for VS2012 and AS6.1?
Reply #3 - May 3rd, 2013 at 9:14pm
Print Post  
EDIT: I removed my last post because I thought there was an installer problem.

Please see if the location of your visual micro installation is listed in Atmel Studio.

Tools>options>Addin/Macros and Security>add-in locations list"

The installer should add an entry to this list. Please let me know if you see the entry??

Thanks
« Last Edit: May 3rd, 2013 at 9:15pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Bernd Plagens
Junior Member
**
Offline


Posts: 14
Location: Germany
Joined: Apr 22nd, 2013
Re: How to install for VS2012 and AS6.1?
Reply #4 - May 4th, 2013 at 9:15am
Print Post  
Hello.

Yes - there is a entry - it is:

C:\Program Files (x86)\Visual Micro\Visual Micro for Arduino\Atmel Studio

As inside this Folder are no DLLs (only a Subfolder) i add this path also: 

C:\Program Files (x86)\Visual Micro\Visual Micro for Arduino\

Now i have the menus for Arduino but in the Properties of a Arduino Project (the right panel named "Solution Explorer" i do no have any VM properties.
I only have the Categorie "Misc" no "Micro....".

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


Posts: 12204
Location: United Kingdom
Joined: Apr 10th, 2010
Re: How to install for VS2012 and AS6.1?
Reply #5 - May 4th, 2013 at 2:12pm
Print Post  
1)

Good to hear the plugin is working. Hopefully a re-start of Atmel Studio caused the addin to install  correctly. I am assuming you didn;t have to alter any settings?

2)

It looks like Atmel forgot to include an update to a few of the files with the latest Atmel Studio install. They have given me permission to distribute the update which allows visual micro project properties to be viewed. 

Please close Atmel Studio and extract ProjectSystemFiles  inside the folder <Atmel Studio 6.1 Installation directory>\extensions\application

Thanks for the clear reports
« Last Edit: May 4th, 2013 at 2:15pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Bernd Plagens
Junior Member
**
Offline


Posts: 14
Location: Germany
Joined: Apr 22nd, 2013
Re: How to install for VS2012 and AS6.1?
Reply #6 - May 4th, 2013 at 4:53pm
Print Post  
Hello Tim - thank you for your fast support!

Before i add the path i restart AS several times - but nothing about VM. So it seem on my system i need the path without "...\Atmel Studio".

After extracting the Zip-File into the mentioned folder i have the properties for VM.

But all the Files which i extracted where already in a newer version there. So i overwrite the existing ones with the older version from the zip.

So now i only have this problems:
- Intellisens does not work
- Syntax color coding not everywhere



As you can see in VS2012 the "LOW" or "HIGH" is colored.
Also the "unit8_t" is colored in VS2012 but not in AS6.1.

Since I'm convinced of VM i bought it yesterday via PayPal!
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12204
Location: United Kingdom
Joined: Apr 10th, 2010
Re: How to install for VS2012 and AS6.1?
Reply #7 - May 4th, 2013 at 5:02pm
Print Post  
Great news and thanks very much for your support! 

Atmel are looking into this problem and I am sure they will release another patch shortly but this does seem to work for now.

I might not be able to help with the colors. I will explain how this works and you might fins some options but I have not yet explored this.

First to confirm that viewing the definition of HIGH takes you to the correct arduino core definition? If yes, then we know the project is setup correctly by visual micro.

That is the only involvement Visual Micro has with ensuring intellisense and color coding. 

In VS, Microsoft use the C++ options to enable you to control how color coding works and Atmel Studio uses the VisualAssistX options. I hope this gives you something to explorer that is useful.

If you do find settings that make the color coding more suitable then please post your findings.



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


Posts: 12204
Location: United Kingdom
Joined: Apr 10th, 2010
Re: How to install for VS2012 and AS6.1?
Reply #8 - May 4th, 2013 at 5:06pm
Print Post  
Sorry one more question. I am still unsure about exactly what path was in the macros and security list after install and what you change you made to make it work.

I would really appreciate knowing this information, thanks
  
Back to top
IP Logged
 
Bernd Plagens
Junior Member
**
Offline


Posts: 14
Location: Germany
Joined: Apr 22nd, 2013
Re: How to install for VS2012 and AS6.1?
Reply #9 - May 4th, 2013 at 5:19pm
Print Post  
I hope this will help you:


  
Back to top
 
IP Logged
 
Bernd Plagens
Junior Member
**
Offline


Posts: 14
Location: Germany
Joined: Apr 22nd, 2013
Re: How to install for VS2012 and AS6.1?
Reply #10 - May 4th, 2013 at 5:29pm
Print Post  
When i place the cursor inside VS2012 over the "HIGH" and press the right mouse-button and use "Go to Definitition" VS jumps to "Arduino.h" at line "#define HIGH 0x1" which is ok.

When i do the same inside  AS6.1 -(Refractor... Find Reference) a MsgBox with "Find References is not available because the symbol is unrecognized." is shown.

With the coloring i will play a little bit.

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


Posts: 12204
Location: United Kingdom
Joined: Apr 10th, 2010
Re: How to install for VS2012 and AS6.1?
Reply #11 - May 4th, 2013 at 5:56pm
Print Post  
Thanks that's just what I needed to know. 

Don't worry about changing the default color settings yet. I would like to investigate why the arduino header is not being found/registered for the project. This will probably take a few days.

I'll look into the installer path problem. There should only be one vm path and it should point to the visual micro program files .addin folder in all version of VS and Atmel.

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


Posts: 12204
Location: United Kingdom
Joined: Apr 10th, 2010
Re: How to install for VS2012 and AS6.1?
Reply #12 - May 5th, 2013 at 10:46pm
Print Post  
Looking at your image again I can see that the intellisense/code explorer system is not working as it should in Atmel Studio. I suspect this is a problem with the installer on 32 bit systems but have yet to prove it (will do soon).

Here is how the editing of any code in an arduino project should look. 

Please notice the drop down lists above the code editor. The drop down lists and the code syntax coloring are managed by two mechanisms. 

I am looking into this but would like to know the difference between red and green boxes in your image of the "add-in locations"?


« Last Edit: May 6th, 2013 at 12:27pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Bernd Plagens
Junior Member
**
Offline


Posts: 14
Location: Germany
Joined: Apr 22nd, 2013
Re: How to install for VS2012 and AS6.1?
Reply #13 - May 6th, 2013 at 6:49pm
Print Post  
Hello!

Sometimes the language barriere is to big for me! Embarrassed
I have problems to understand your statement:
Quote:
"I am looking into this but would like to know the difference between red and green boxes in your image of the "add-in locations"?"


If it is a question for me then i thougt the blue-text in the image will awnser the question.  

If you need any onther information - feel free to ask the question.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12204
Location: United Kingdom
Joined: Apr 10th, 2010
Re: How to install for VS2012 and AS6.1?
Reply #14 - May 6th, 2013 at 7:50pm
Print Post  
Oh sorry, you are right. Yes the blue text answers my question.

This is all I needed to know (your English is very good).

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