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
Locked Topic Unable to set C++ project settings (Read 4941 times)
Bleary Eye
Junior Member
**
Offline


Posts: 18
Joined: Mar 10th, 2015
Unable to set C++ project settings
Aug 24th, 2015 at 6:05pm
 
I got the below error in VS 2013. Any ideas?

---------------------------
Visual Micro
---------------------------
Unable to set C++ project settings

System.Runtime.InteropServices.COMException (0x80004005): Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL))

   at EnvDTE.Configuration.get_ConfigurationName()

   at Visual.Micro.Visual.Studio.Arduino.AddInApp.GetProjectPlatform(Project oProject)

   at fs(Project oProject, List`1 procDefList, String ForcedIncludes)
---------------------------
OK   
---------------------------

Also, I'm getting scads of Intellisense errors.
« Last Edit: Aug 24th, 2015 at 6:30pm by Bleary Eye »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12167
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Unable to set C++ project settings
Reply #1 - Aug 24th, 2015 at 6:36pm
 
Have you got c plus plus installed?
  
Back to top
IP Logged
 
Bleary Eye
Junior Member
**
Offline


Posts: 18
Joined: Mar 10th, 2015
Re: Unable to set C++ project settings
Reply #2 - Aug 24th, 2015 at 6:43pm
 
Pretty sure about C++ but I'll check. I uninstalled Visual Micro, reinstalled, and no exception. My program builds fine but Intellisense still has lots of problems.

I'm installing VS 2015 Community Edition + Visual Micro now to see if the problem goes away. 

Can Visual Micro be installed both for VS 2013 and 2015?
  
Back to top
 
IP Logged
 
Bleary Eye
Junior Member
**
Offline


Posts: 18
Joined: Mar 10th, 2015
Re: Unable to set C++ project settings
Reply #3 - Aug 24th, 2015 at 6:46pm
 
btw, I mistyped. It's Visual Studio 2012 I have.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12167
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Unable to set C++ project settings
Reply #4 - Aug 24th, 2015 at 6:51pm
 
Yes both can ne installed but try switching to a different board and back again

If you still have intelli errors or probably means you are using Arduino 1.6.0 or 1.6.1. These versions ate mentioned in the faq and require you to use the Arduino 1.5 option in visual micro
  
Back to top
IP Logged
 
Bleary Eye
Junior Member
**
Offline


Posts: 18
Joined: Mar 10th, 2015
Re: Unable to set C++ project settings
Reply #5 - Aug 24th, 2015 at 8:13pm
 
Ha, that was the problem: wrong language version. I had to set and reset it a couple of times but everything started working now. Thanks.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint