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 Warning when open an existing Arduino sketch first time (Read 1841 times)
fluxanode
Newbies
*
Offline


Posts: 9
Joined: Oct 5th, 2020
Warning when open an existing Arduino sketch first time
Jul 14th, 2021 at 8:56pm
Print Post  
I always get a message when opening an existing sketch for the first time, this is the warning in the log:

599 Warning MainWindowFrameControls\{042609f5-f636-4666-9cbc-9c4bcd9676c2} doesn't specify NoToolbarAlignment, defaulting to TitleBarRight   FrameControl 2021/07/14 20:47:24.291 

Also these:
630 Warning Request for "Microsoft.VisualStudio.Shell.Internal.SettingsManager (1.0)" from Process denied because the service is only exposed RemoteExclusiveClient, LiveShareGuest.   GlobalBrokeredServiceContainer 2021/07/14 20:47:55.143
 
631 Warning Request for proxy to "Microsoft.VisualStudio.Shell.Internal.SettingsManager (1.0)" is declined: ServiceAudienceMismatch.   GlobalBrokeredServiceContainer 2021/07/14 20:47:55.143 

650 Warning Performance warning: String load failed. Pkg:{37F69003-4AC4-4B33-AA3A-4D620BE07696} (CommonEditorPackage) LANG:0409 ID:113    VisualStudio 2021/07/14 20:47:59.086 

Errors:

675 ERROR System.InvalidOperationException: ValueFactory attempted to access the Value property of this instance.at System.Lazy`1.CreateValue()at System.Lazy`1.LazyInitValue()at System.Lazy`1.get_Value()at r textBuffer)at playClass1_0.<CreateSuggestedActionsSource>b__0()at [T](Object key, Func`1 creator)at ggestedActionsSource(ITextView textView, ITextBuffer textBuffer)at _DisplayClass49_0.<CreateSourcesForBuffer>b__0(ISuggestedActionsSourceProvider provider)at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.InvokeMatchingFactories[TExtensionInstance,TExtensionFactory,TMetadataView](IEnumerable`1 lazyFactories, Func`2 getter, IContentType dataContentType, Object errorSource) --- End of stack trace from previous location where exception was thrown --- at ExceptionInfo(Exception exceptionObject)   Editor or Editor Extension 2021/07/14 20:48:03.556 

681 ERROR Unable to load solution user option 'SccProvider.Solution.LoadCount'   SccDisplayInformation.SolutionOptions 2021/07/14 20:48:03.799 
682 ERROR Unable to load solution user option 'SccProvider.Solution.LastBranch'   SccDisplayInformation.SolutionOptions 2021/07/14 20:48:03.799 

Why am i seeing these warnings and errors?
Is this normal?

« Last Edit: Jul 14th, 2021 at 9:01pm by fluxanode »  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2145
Joined: Feb 13th, 2019
Re: Warning when open an existing Arduino sketch first time
Reply #1 - Jul 15th, 2021 at 8:29am
Print Post  
Thanks for the report.

Does repairing VS from Control Panel improve the errors shown?

Do you get the same errors opening a standard C++ project in Visual Studio?
  
Back to top
 
IP Logged
 
fluxanode
Newbies
*
Offline


Posts: 9
Joined: Oct 5th, 2020
Re: Warning when open an existing Arduino sketch first time
Reply #2 - Jul 15th, 2021 at 7:25pm
Print Post  
1 - I don't know what you mean "repairing VS from Control Panel" how do you do that?  Do you mean the windows control panel?

2 - I don't do any other programming but I guess I can try an example.  I have to get back to you...
  
Back to top
 
IP Logged
 
fluxanode
Newbies
*
Offline


Posts: 9
Joined: Oct 5th, 2020
Re: Warning when open an existing Arduino sketch first time
Reply #3 - Jul 15th, 2021 at 7:31pm
Print Post  
I tested with a demo hello world prog and no errors
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Warning when open an existing Arduino sketch first time
Reply #4 - Jul 16th, 2021 at 12:00am
Print Post  
Hi

Possibly an issue with the Live share extension. To repair visual studio, go to Control Panel > Add or Remove programs > Visual Studio
« Last Edit: Jul 16th, 2021 at 12:12am by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint