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) COMPILER AND UPLOADER Problem (Read 3488 times)
Marco (Italy)
Full Member
***
Offline


Posts: 165
Joined: Jul 12th, 2019
COMPILER AND UPLOADER Problem
Jul 15th, 2019 at 5:15am
Print Post  
I report a problem with VM. Attached the log file. When I launch MS visual studio with VM and do build upload I can perfectly compile and upload without errors. 
From the second time on I can no longer upload, the compilation stops and does not continue. To resume with the compilation I have to close VStudio, exit, reopen the IDE at this point I can compile and rebuild again only one time.

I tried to uninstall VStudio
I tried to uninstall VM
I installed VStudio again
I have installed VM
I opened a new sketch

Always the same result: compile and upload only once from the opening of MS visual Studio.

Can you help me?
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Marco (Italy)
Full Member
***
Offline


Posts: 165
Joined: Jul 12th, 2019
Re: COMPILER AND UPLOADER Problem
Reply #1 - Jul 15th, 2019 at 5:41am
Print Post  
In attach more info from log output window.
  

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


Posts: 12070
Location: United Kingdom
Joined: Apr 10th, 2010
Re: COMPILER AND UPLOADER Problem
Reply #2 - Jul 15th, 2019 at 10:12am
Print Post  
This looks like a bug in vs2019 and we know your vs was working okay

I suggest you run a repair on vs2019 and make sure you are on up to date version of vs2019. here is the error from the end of the file you posted. Visual Micro is simply attempting to set the status bar text. 

I recommend you use vs2017 because it is stable, Microsoft are making a lot of changes in vs2019 and have a lot of bugs.

Code
Select All
System.Resources.MissingSatelliteAssemblyException: The satellite assembly named "Microsoft.VisualStudio.Shell.UI.Internal.resources.dll, Version=16.0.0.0, PublicKeyToken=b03f5f7f11d5a3a" for fallback culture "en" either could not be found or could not be loaded. This is generally a setup problem. Please consider reinstalling or repairing the application.
   at System.Resources.ManifestBasedResourceGroveler.HandleSatelliteMissing()
   at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
   at System.Resources.ResourceManager.GetString(String name, CultureInfo culture)
   at Microsoft.VisualStudio.PlatformUI.StatusBarResources.get_Ready()
   at Microsoft.VisualStudio.PlatformUI.StatusBarDataModel.set_Text(String value)
   at Microsoft.VisualStudio.PlatformUI.StatusBarService.Progress(UInt32& pdwCookie, Int32 fInProgress, String pwszLabel, UInt32 nComplete, UInt32 nTotal)
   at EnvDTE.StatusBar.Progress(Boolean InProgress, String Label, Int32 AmountCompleted, Int32 Total)
   at Visual.Micro.Visual.Studio.Arduino.AddInApp.CompileDo(Object oProject, Boolean IsDebugStartCommand, Boolean isRebuild, Boolean UseGdbIfAvailable)
   at Visual.Micro.Visual.Studio.Arduino.AddInApp.Compile(Object oProject, Boolean IsDebugStartCommand, Boolean IsRebuild, Boolean UseGdbIfAvailable)





 

  
Back to top
WWW  
IP Logged
 
Marco (Italy)
Full Member
***
Offline


Posts: 165
Joined: Jul 12th, 2019
Re: COMPILER AND UPLOADER Problem
Reply #3 - Jul 15th, 2019 at 10:33am
Print Post  
OK I will install vs2017
  
Back to top
 
IP Logged
 
Marco (Italy)
Full Member
***
Offline


Posts: 165
Joined: Jul 12th, 2019
Re: COMPILER AND UPLOADER Problem
Reply #4 - Jul 15th, 2019 at 10:44am
Print Post  
Where I can find ws2017, now MS offert to down load only 2019!!! Sad
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12070
Location: United Kingdom
Joined: Apr 10th, 2010
Re: COMPILER AND UPLOADER Problem
Reply #5 - Jul 15th, 2019 at 10:58am
Print Post  
If repairing vs2019 works then leave it at that.
  
Back to top
WWW  
IP Logged
 
Marco (Italy)
Full Member
***
Offline


Posts: 165
Joined: Jul 12th, 2019
Re: COMPILER AND UPLOADER Problem
Reply #6 - Jul 15th, 2019 at 11:01am
Print Post  
Sorry, I have finisced to reparing vs2019 right now.

But reparing has no effect!  Same problem!

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


Posts: 12070
Location: United Kingdom
Joined: Apr 10th, 2010
Re: COMPILER AND UPLOADER Problem
Reply #7 - Jul 15th, 2019 at 11:10am
Print Post  
We have upload 1907.14.2 which ignores the error that VS throws attempting to reset the status bar after the build.

Please install LATEST

https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES
  
Back to top
WWW  
IP Logged
 
Marco (Italy)
Full Member
***
Offline


Posts: 165
Joined: Jul 12th, 2019
Re: COMPILER AND UPLOADER Problem
Reply #8 - Jul 15th, 2019 at 11:21am
Print Post  
SOLVED: VS2019 ignore status bar exceptions

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


Posts: 12070
Location: United Kingdom
Joined: Apr 10th, 2010
Re: COMPILER AND UPLOADER Problem
Reply #9 - Jul 15th, 2019 at 12:43pm
Print Post  
Great, thanks for the report.
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint