VS Arduino
>> >> COMPILER AND UPLOADER Problem
https://www.visualmicro.com/forums/YaBB.pl?num=1563167737

Message started by MARCO_ITALY on Jul 15th, 2019 at 5:15am

Title: COMPILER AND UPLOADER Problem
Post by MARCO_ITALY on Jul 15th, 2019 at 5: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?

https://www.visualmicro.com/forums/YaBB.pl?action=downloadfile;file=ArduinoDueProject.txt ( 2 KB | 1 Download )

Title: Re: COMPILER AND UPLOADER Problem
Post by MARCO_ITALY on Jul 15th, 2019 at 5:41am
In attach more info from log output window.

https://www.visualmicro.com/forums/YaBB.pl?action=downloadfile;file=Logfile_when_donot_work.txt ( 46 KB | 2 Downloads )

Title: Re: COMPILER AND UPLOADER Problem
Post by Visual Micro on Jul 15th, 2019 at 10: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)





[/code]

Title: Re: COMPILER AND UPLOADER Problem
Post by MARCO_ITALY on Jul 15th, 2019 at 10:33am
OK I will install vs2017

Title: Re: COMPILER AND UPLOADER Problem
Post by MARCO_ITALY on Jul 15th, 2019 at 10:44am
Where I can find ws2017, now MS offert to down load only 2019!!! :(

Title: Re: COMPILER AND UPLOADER Problem
Post by Visual Micro on Jul 15th, 2019 at 10:58am
If repairing vs2019 works then leave it at that.

Title: Re: COMPILER AND UPLOADER Problem
Post by MARCO_ITALY on Jul 15th, 2019 at 11:01am
Sorry, I have finisced to reparing vs2019 right now.

But reparing has no effect!  Same problem!

:(

Title: Re: COMPILER AND UPLOADER Problem
Post by Visual Micro on Jul 15th, 2019 at 11:10am
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

Title: Re: COMPILER AND UPLOADER Problem
Post by MARCO_ITALY on Jul 15th, 2019 at 11:21am
SOLVED: VS2019 ignore status bar exceptions

Thanks

Title: Re: COMPILER AND UPLOADER Problem
Post by Visual Micro on Jul 15th, 2019 at 12:43pm
Great, thanks for the report.

VS Arduino » Powered by YaBB 2.6.12!
YaBB Forum Software © 2000-2024. All Rights Reserved.