VS Arduino | |
Visual Micro >> Installation & Troubleshooting >> Visual_studio_package did not load corectly
https://www.visualmicro.com/forums/YaBB.pl?num=1561879081 Message started by Eblis on Jun 30th, 2019 at 7:18am |
Title: Visual_studio_package did not load corectly Post by Eblis on Jun 30th, 2019 at 7:18am
Coming from the latest Gallery release I tried to update to the newest candidate, as I'm working on Teensy.
VS2019, arduino 1.8.9. I get a prompt stating the the package did not load correctly, and directs me to a AtivityLog.XML file, which states that it can't file the package's dll file. Here's the relevant segment: Code (]<entry> <record>753</record> <time>2019/06/30 07:00:22.865</time> <type>Information</type> <source>VisualStudio</source> <description>Begin package load [Visual_Micro_StudioPackage):
Uninstalling the package, and returning to any build before 1906_26_0 (including) fixes the issue. Is the build not stable yet, or did I miss something? Thanks in advance. EDIT: to clarify, all builds from 1906.26.4 onward cause the same issue. |
Title: Re: Visual_studio_package did not load corectly Post by Visual Micro on Jun 30th, 2019 at 11:24am
Thanks for the report. The error suggests we have a missing dll. I suspect another Microsoft installer issue, they really do mess things up.
An extension is simply a .vsix file which is actually just a zip. The vsix is created by vS when we build and the Microsoft MSIXInstaller.exe is responsible for unpacking and installing the extension. It's not possible for the extension to install correctly for one person but be missing a dll for another person unless virus checker or the vsixinstaller play a part in things. We know we are virus checked so this is some other variation. Can you please download the extension to your documents folder and then try to run manually by double clicking. What happens? Same problem? |
Title: Re: Visual_studio_package did not load corectly Post by Eblis on Jun 30th, 2019 at 12:16pm
Thank you for the reply.
Yes, the same outcome. I checked the aforementioned folder, and it the file is indeed missing from it. I tried to install it from my documents, and the same result. Then I decided to copy the file from the VSIX (as you mentioned it is a zip file) The prompt disappeared, but the building my program (which I was able to do successfully in previous builds) fails with the following error. [code]Severity Code Description Project File Line Suppression State Error MSB8020 The build tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found. To build using the v100 build tools, please install Visual Studio 2010 build tools. Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution". EEGTest C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets 379 [/code] Note, that I didn't change anything except installing the latest "Visual.Micro.Arduino.Studio_1906_29_0" build. |
Title: Re: Visual_studio_package did not load corectly Post by Visual Micro on Jun 30th, 2019 at 12:22pm
That message is Microsoft trying to make a standard c++ windows build. This happens if Visual Micro is not loaded and unable to capture the vs build events for projects that contain a C++ file.
Do you see the vMicro menu? It your board selected? Does a new empty project build for Uno? |
Title: Re: Visual_studio_package did not load corectly Post by Eblis on Jun 30th, 2019 at 12:49pm Tim@Visual Micro wrote on Jun 30th, 2019 at 12:22pm:
Yes, but it is incomplete as board choice and other options are missing. Tim@Visual Micro wrote on Jun 30th, 2019 at 12:22pm:
Can't choose a board. Tim@Visual Micro wrote on Jun 30th, 2019 at 12:22pm:
Pressing File->New->Arduino Project doesn't do anything (and trying to create one from the new project window doesn't show Arduino as an option) |
Title: Re: Visual_studio_package did not load corectly Post by Visual Micro on Jun 30th, 2019 at 12:51pm
This means that your virus checker is removing one of our dll's
Which virus checker are you using? |
Title: Re: Visual_studio_package did not load corectly Post by Eblis on Jun 30th, 2019 at 1:02pm
Avira.
I tried scanning the VSIX file to see if he gives me false positives - but it said the file is clean. I disabled the antivirus, and installed the new build. A new directory has been created with all the files from the zip file in the extension folder. However, the prompt is back, and the ActivityLog is still asking for the original folder (which has been deleted). I have VS2017 installed as well, and its ActivityLog is also looking for the old dll in the old folder. |
Title: Re: Visual_studio_package did not load corectly Post by Visual Micro on Jun 30th, 2019 at 1:10pm
It's very strange. As you can see we don't have any way to interfere with what the vsixinstaller.exe does and our side of things is simple.
The new version will be published to the gallery over the next few days. I suspect that when you can install from within the IDE using "Extensions and Updates" Visual Studio might do a better job. I have no idea why an older version downloaded from the forum works using the external vsixinstall.exe but not for a latter version of Visual Micro. The changes in the last few builds have mainly been .txt file changes with debug and build instructions as opposed to significant program file changes. When you run an install from outside the IDE it's down to your windows registry to resolve which program runs for a .vsix. It's possible that a repair of vs2019 will also re-register the latest vsinstaller.exe? Sorry not much help. |
Title: Re: Visual_studio_package did not load corectly Post by Visual Micro on Jul 1st, 2019 at 11:36am
another thought. if it is confused about an "old path" then maybe first uninstall visual micro then install the new extension. We will look into why this has happened but so far it is isolated to your vs install.
|
Title: Re: Visual_studio_package did not load corectly Post by Eblis on Jul 2nd, 2019 at 6:58am
I tried your suggestion of repairing the installation of VS2019, and now the extension is working as intended.
|
Title: Re: Visual_studio_package did not load corectly Post by JanF on Sep 16th, 2019 at 6:18pm Tim@Visual Micro wrote on Jul 1st, 2019 at 11:36am:
I also have this issue. I have tried uninstalling and then reinstalling from inside VS2017. Also tried to uninstall from control panel and then reinstall from inside VS2017. I see this dialog about Visual_Micro_Studiopackage did not load correctly twice when I start VS2017. Last I tried manually download Visual Micro and run he installation from outside VS2017. Now VS2017 hangs up and when I try to close it I get a Window telling me that Microsoft Visual Studio has detected that an operation is blocking user input |
Title: Re: Visual_studio_package did not load corectly Post by Visual Micro on Sep 16th, 2019 at 6:20pm
This is a visual studio problem. Please open visual studio and ensure you have applied all updates via the tools>check for updates menu,
If the problem persists then run a repair on vs2017 Thanks |
VS Arduino » Powered by YaBB 2.6.12! YaBB Forum Software © 2000-2024. All Rights Reserved. |