Reputation: 5627
After installing VS 2013 Upgrade 3, I get errors for loading a bunch of packages. 1) VS Package 2) PowerShellToolsPackage 3)Microsoft.Lightswitch.VSIntegration.Project .ProjectUpdateDelegatorPackage
Right now I'm dealing with #1, VS Package. It says "The 'VSPackage' package did not load correctly.
Activity Log says:
<entry>
<record>315</record>
<time>2014/09/15 17:32:43.190</time>
<type>Error</type>
<source>VisualStudio</source>
<description>CreateInstance failed for package [VSPackage]</description>
<guid>{1A4EFADE-F6B2-4490-A2EF-21D5F3D1C8E0}</guid>
<hr>80070002</hr>
<errorinfo>Could not load file or assembly 'file:///C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\hjkzccc5.cqc\Microsoft.AppInsights.GettingStarted.dll' or one of its dependencies. The system cannot find the file specified.</errorinfo>
This happens not when I open VS itself, but when I open the solution.
Upvotes: 2
Views: 3615
Reputation: 471
The solution that ended up working for me was uninstalling Xamarin (via Programs And Features), repairing VS, and re-installing Xamarin (found this solution elsewhere, but don't remember where).
Upvotes: 0
Reputation: 2733
I had the same issue and I found a workaround in the following website:
Workaround to include Deployment Project
gwmi win32_product | ? {$.PackageName -Like "*ResourceManager.Setup*" -or $.PackageName -Like "DeploymentProject" -or $.PackageName -Like "*CommonAzureTools*"} | % {$id = $.IdentifyingNumber ; Start-Process -FilePath "msiexec" -ArgumentList " /x $id /qb" -Wait}
gci "$env:ProgramData\Package Cache\MicrosoftAzureTools.*.exe" -Recurse | % {. $_.FullName /modify}
Upvotes: 1
Reputation: 499
I had the same issue after installing SQL Server Data Tools for Visual Studio 2013, having applied Visual Studio 2013 Update 4 a week earlier. Gave Mel’s suggestion a go, but no joy. The rest of the error said
The problem may have been caused by a configuration change or by the installation of another extension. You can get more information by examining the file 'C:\Users\USERNAME\AppData\Roaming\Microsoft\VisualStudio\12.0\ActivityLog.xml'.
What worked for me:
In my case, the problem package was Application Insights Tools for Visual Studio. The conflict related to Visual Studio Online (VSO). If that's the case for you, note that the package web page says:
If you have Visual Studio Update 3 or later and you still want to use the VSO portal, you have to uninstall version 2 of these Tools before installing this version.
I'd had version 2.5 installed, possibly from when I installed some Azure stuff a couple of weeks before.
Upvotes: 1
Reputation: 2385
I started having this error earlier today as well, and found that it has to do with the "Release Management for Visual Studio 2013" package. Once I uninstalled that, everything went back to normal. I only installed it in the first place because Visual Studio wouldn't shut up about it in the notifications pane. Anyway, if you have it installed and you're not actively using it, try uninstalling it and see if that clears up the error for you.
Hopefully that fixes it for you, too.
Upvotes: 7