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 Error opening project after first-time install (Read 2113 times)
Len
Newbies
*
Offline


Posts: 3
Joined: Jun 29th, 2018
Error opening project after first-time install
Jun 29th, 2018 at 9:13pm
Print Post  
Just installed Visual Micro on VS2017 (latest - v15.7.4). Upon opening a project, I get the error:
"An exception has been encountered.  This may be caused by an extension.  You can get more information by examining the file...".  The xml log file contains this:

System.NullReferenceException: Object reference not set to an instance of an object.
   at ornmentManager.PerformLayout(SnapshotPoint trackingPoint)
   at ornmentManager.OnBatchedTagsChanged(Object sender, BatchedTagsChangedEventArgs e)
   at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.RaiseEvent[TArgs](Object sender, EventHandler`1 eventHandlers, TArgs args)
--- End of stack trace from previous location where exception was thrown ---
   at ExceptionInfo(Exception exceptionObject)


Ignoring the error, I can edit the .ino file, but the vMicro toolbar properties, build, and build and upload icons are greyed out, so can't compile.  I'm not sure if this is related to the above error, or if I have something else wrong.

Any input would be appreciated.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Error opening project after first-time install
Reply #1 - Jun 29th, 2018 at 10:18pm
Print Post  
Did you install C++ when you chose your VS2017 install components?
  
Back to top
IP Logged
 
Len
Newbies
*
Offline


Posts: 3
Joined: Jun 29th, 2018
Re: Error opening project after first-time install
Reply #2 - Jun 30th, 2018 at 5:31pm
Print Post  
I checked the installed options, and while I do see a number of C++ and VC++ checks, there were a few others that weren't checked, and I added them.  I also disabled a trial of another add-on that was giving a startup message, and then uninstalled and reinstalled vMicro.  After all that the error message has gone away.

The vMicro toolbar properties, build, and build and upload icons are still greyed out, even with a project loaded.  Can you point me to some documentation or a fix for that?  Probably something simple!
Thanks.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Error opening project after first-time install
Reply #3 - Jun 30th, 2018 at 5:54pm
Print Post  
How did you create your project?

Does the project name, containing folder name and a .ino name all match?




  
Back to top
IP Logged
 
Len
Newbies
*
Offline


Posts: 3
Joined: Jun 29th, 2018
Re: Error opening project after first-time install
Reply #4 - Jul 1st, 2018 at 2:43pm
Print Post  
OK.  All is good now.  Seems I didn't create the project correctly the first time.  Starting from a new project fixed it.
Thanks for the help.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Error opening project after first-time install
Reply #5 - Jul 1st, 2018 at 4:46pm
Print Post  
Great thanks for the update
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint