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) "Unable to create an Arduino project for Atmel Studio" When opening file (Read 7376 times)
Jacob
Newbies
*
Offline


Posts: 5
Joined: Jan 4th, 2016
"Unable to create an Arduino project for Atmel Studio" When opening file
Jan 4th, 2016 at 4:24pm
Print Post  
I installed atmel studios and the newest version of the arduino IDE today (I previously have been using the non administrator zip file).  When I try and File-> Open ->  Arduino Project I get a "Unable to create an Arduino project for Atmel Studio" error message.  

I have verified that the file path to the Arduino IDE folder is correct.  As suggested in the FAQ page I tried to reinstall the visual micro as an administrator but I do not have that option.  I have read about 5 other topics on this but nothing there so far has worked.  I have seen that the information below is sometimes required.  Please Help Thanks!

Atmel Studio 7 (Version: 7.0.634 - )
© 2015 Atmel Corp.
All rights reserved.

« Last Edit: Jan 4th, 2016 at 4:31pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: "Unable to create an Arduino project for Atmel Studio" When opening file
Reply #1 - Jan 4th, 2016 at 4:33pm
Print Post  
Hi,

Thanks for the info. The current AS& version does not support the latest Arduino ide's which have changed significantly during the past few weeks/month. 

The AS7 version of Visual Micro will be updated during the next few weeks. The Visual Studio 2015 version of visual micro is better and always the most up to date.
  
Back to top
IP Logged
 
Jacob
Newbies
*
Offline


Posts: 5
Joined: Jan 4th, 2016
Re: "Unable to create an Arduino project for Atmel Studio" When opening file
Reply #2 - Jan 4th, 2016 at 4:50pm
Print Post  
Okay what is the latest version that should work right now?
  
Back to top
 
IP Logged
 
Jacob
Newbies
*
Offline


Posts: 5
Joined: Jan 4th, 2016
Re: "Unable to create an Arduino project for Atmel Studio" When opening file
Reply #3 - Jan 4th, 2016 at 5:05pm
Print Post  
I just uninstalled 1.6.7 and installed 1.6.0.  I then tried to open a file and it did the same thing.  I then uninstalled and reinstalled visual micro.  Still the same result.

Thanks for your help.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: "Unable to create an Arduino project for Atmel Studio" When opening file
Reply #4 - Jan 4th, 2016 at 7:09pm
Print Post  
Hi

1.6.7 is only a week or so old and too new for AS7 you need to use Visual Studio for that. 

1.6.6 from November had a major change to where hardware is stored (edit: Vm does support it I just checked)

1.6.5-1.6.5-r5 were stable and good versions

1.6.2 introduced a massive change and was full of bugs, sorted by 1.6.5

1.6.0 and 1.6.1 are really 1.5.x because they just changed the version number. To use them with Visual Micro use the Arduino 1.5 app name ot Aduino 1.6 (see the faq and release notes)

So they made a meal of the versions and you picked the two worst two for right now Smiley

The version won't solve the issue you are having but when it is solved the right config will prevent other issues.

Does creating a new project work from "File>New>Arduino Project"?

Does creating a new vm project from the "File>New>Project" wizard work?

Did you check your AS7 is working okay by creating a new Gcc application?

Thanks   
« Last Edit: Jan 4th, 2016 at 8:33pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Jacob
Newbies
*
Offline


Posts: 5
Joined: Jan 4th, 2016
Re: "Unable to create an Arduino project for Atmel Studio" When opening file
Reply #5 - Jan 4th, 2016 at 8:33pm
Print Post  
I am now running 1.6.5

Quote:
Does creating a new project work from "File>New>Arduino Project"?

Does creating a new vm project from the "File>New>Project" wizard work?

Did you check your AS7 is working okay by creating a new Gcc application?


1) No it gives me the same "Unable to create an Arduino project for Atmel Studio".   

2) If I do it as described in http://www.visualmicro.com/page/User-Guide.aspx?doc=Create-New-project.html it will pull up a sketch but when I try and edit it AtmelStudio goes into not responding.

3) Yes it seems to work just fine.  Assuming I did the right thing.  I followed the steps given here http://www.atmel.com/webdoc/atmelstudio/atmelstudio.Projects.NewProject.GCC_Proj...
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: "Unable to create an Arduino project for Atmel Studio" When opening file
Reply #6 - Jan 4th, 2016 at 8:50pm
Print Post  
Thanks for the info. 

Which version of Visual Micro shows in "Tools>Extensions and Updates"?

I recommend VS 2015 Community (with the C++ option selected during install) Smiley

I just tried to load my copy of Atmel and it's telling me it's broken because my VS 2015 is on Sp1. Ugghh. I will reinstall it on a clean virtual machine so it is isolated!
  
Back to top
IP Logged
 
Jacob
Newbies
*
Offline


Posts: 5
Joined: Jan 4th, 2016
Re: "Unable to create an Arduino project for Atmel Studio" When opening file
Reply #7 - Jan 4th, 2016 at 10:29pm
Print Post  
The Version is 1511.21.0

I tried to install VS 2015 community from here https://www.visualstudio.com/en-us/downloads/download-visual-studio-vs.aspx but during the final leg of the instulation I got the attached failure window.

Even still I tried to restart and create a new sketch.  Same error.  Visual Studios installed a shell program during my initial install should I have uninstalled that shell?
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: "Unable to create an Arduino project for Atmel Studio" When opening file
Reply #8 - Jan 5th, 2016 at 12:32pm
Print Post  
The current Visual Micro version for Visual Studio is 1601.4. The November (1511) version you mention is not available.

The best place to install Visual Micro in all VS products is from within the product Tools>Extensions and Updates

You must have clicked C++ in the Visual Studio install process. If you didn't you need to rerun the VS install process via "Control panel>add or remove programs>change" 

As for the VS installer errors I have no idea about them you need to ask microsoft about that. Sorry I can't help.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint