Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
Support requests without the output above may be impossible to answer, so please help us to help you
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
COMPILER AND UPLOADER Problem (Read 621 times)
MARCO_ITALY
Junior Member
**
Offline



Posts: 52
COMPILER AND UPLOADER Problem
Jul 15th, 2019 at 6:15am
 
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?
Back to top
 
 
IP Logged
 
MARCO_ITALY
Junior Member
**
Offline



Posts: 52
Re: COMPILER AND UPLOADER Problem
Reply #1 - Jul 15th, 2019 at 6:41am
 
In attach more info from log output window.
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10617
United Kingdom
Re: COMPILER AND UPLOADER Problem
Reply #2 - Jul 15th, 2019 at 11:12am
 
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:
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
Junior Member
**
Offline



Posts: 52
Re: COMPILER AND UPLOADER Problem
Reply #3 - Jul 15th, 2019 at 11:33am
 
OK I will install vs2017
Back to top
 
 
IP Logged
 
MARCO_ITALY
Junior Member
**
Offline



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



Posts: 10617
United Kingdom
Re: COMPILER AND UPLOADER Problem
Reply #5 - Jul 15th, 2019 at 11:58am
 
If repairing vs2019 works then leave it at that.
Back to top
 
WWW  
IP Logged
 
MARCO_ITALY
Junior Member
**
Offline



Posts: 52
Re: COMPILER AND UPLOADER Problem
Reply #6 - Jul 15th, 2019 at 12:01pm
 
Sorry, I have finisced to reparing vs2019 right now.

But reparing has no effect!  Same problem!

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



Posts: 10617
United Kingdom
Re: COMPILER AND UPLOADER Problem
Reply #7 - Jul 15th, 2019 at 12:10pm
 
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
Junior Member
**
Offline



Posts: 52
Re: COMPILER AND UPLOADER Problem
Reply #8 - Jul 15th, 2019 at 12:21pm
 
SOLVED: VS2019 ignore status bar exceptions

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



Posts: 10617
United Kingdom
Re: COMPILER AND UPLOADER Problem
Reply #9 - Jul 15th, 2019 at 1:43pm
 
Great, thanks for the report.
Back to top
 
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print