Reputation: 1868
I wrote a WebSite Project and a Web Api Project in Visual Studio 2013 Express for Web.
Now I installed additional to VS2013Web from my MSDN subscription Visual Studio 2013 Pro.
When I try to open my Projects in Pro, I get an error:
The Microsoft.VisualStudio.Web.Project.WebProjectPackage,Microsoft.VisualStudio.Web.Project package did not load correctly.
I should have a look into my ActivityLog.xml.
And there is:
<entry>
<record>273</record>
<time>2014/04/08 08:37:13.725</time>
<type>Error</type>
<source>VisualStudio</source>
<description>SetSite failed for package [Microsoft.VisualStudio.Web.Project.WebProjectPackage, Microsoft.VisualStudio.Web.Project]</description>
<guid>{AAB75614-2F8F-4DA6-B0A6-763C6DBB2969}</guid>
<hr>80070002</hr>
<errorinfo>Could not load file or assembly 'Microsoft.VisualStudio.Web.AzureAD.Contracts, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Das System kann die angegebene Datei nicht finden.</errorinfo>
</entry>
<entry>
<record>274</record>
<time>2014/04/08 08:37:13.730</time>
<type>Error</type>
<source>VisualStudio</source>
<description>End package load [Microsoft.VisualStudio.Web.Project.WebProjectPackage, Microsoft.VisualStudio.Web.Project]</description>
<guid>{AAB75614-2F8F-4DA6-B0A6-763C6DBB2969}</guid>
<hr>80070002</hr>
<errorinfo>Could not load file or assembly 'Microsoft.VisualStudio.Web.AzureAD.Contracts, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Das System kann die angegebene Datei nicht finden.</errorinfo>
</entry>
I still have VS2013Web installed. If I open my Project with this Version, everything is fine. Any ideas, how to fix the Problem?
Might this error Comes up, because VS2013Web is in german and VS2013Pro is in english?
I tried also in NuGet Console:
Update-Package -Reinstall
But this breaks my web Project totally...
Upvotes: 3
Views: 2378
Reputation: 941635
Could not load file or assembly 'Microsoft.VisualStudio.Web.AzureAD.Contracts...
"Azure" is surely the keyword here, Express does not support Azure out of the box. As described in this MSDN page, the Azure Tools must be installed and you must have the Web version of Express.
It is a separate download. You'll find the VS2013 Express for Web version of it here, pick the upper left one to get the installer.
Upvotes: 1
Reputation: 2365
Try like this -
Upvotes: 1