When attempting to create an Azure project in Visual Studio 2010 I get a dialog box with an error msg stating “LoadPackage call failed”.
The Visual Studio ActivityLog shows the following errors:
466 ERROR CreateInstance failed for package
[Microsoft.Cct.CctProjectPackage, Microsoft.VisualStudio.CloudService,
Version=1.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]
{CCE67B96-C6C0-4765-93CB-995CF3BF913C} 80070002 VisualStudio
2012/05/12 18:14:17.357467 ERROR End package load [Microsoft.Cct.CctProjectPackage,
Microsoft.VisualStudio.CloudService, Version=1.3.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a]
{CCE67B96-C6C0-4765-93CB-995CF3BF913C} 80004005 – E_FAIL VisualStudio
2012/05/12 18:14:17.359468 Warning Package failed to load; error message suppressed by skip
flag {CCE67B96-C6C0-4765-93CB-995CF3BF913C} VisualStudio 2012/05/12
18:14:17.360 469 Entering function
CVsPackageInfo::HrInstantiatePackage
{CCE67B96-C6C0-4765-93CB-995CF3BF913C} VisualStudio 2012/05/12
18:14:17.399470 Begin package load [Microsoft.Cct.CctProjectPackage,
Microsoft.VisualStudio.CloudService, Version=1.3.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a]
{CCE67B96-C6C0-4765-93CB-995CF3BF913C} VisualStudio 2012/05/12
18:14:17.402471 ERROR CreateInstance failed for package
[Microsoft.Cct.CctProjectPackage, Microsoft.VisualStudio.CloudService,
Version=1.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]
{CCE67B96-C6C0-4765-93CB-995CF3BF913C} 80070002 VisualStudio
2012/05/12 18:14:17.403472 ERROR End package load [Microsoft.Cct.CctProjectPackage,
Microsoft.VisualStudio.CloudService, Version=1.3.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a]
{CCE67B96-C6C0-4765-93CB-995CF3BF913C} 80004005 – E_FAIL VisualStudio
2012/05/12 18:14:17.404473 Warning Package failed to load; error message suppressed by skip
flag {CCE67B96-C6C0-4765-93CB-995CF3BF913C} VisualStudio 2012/05/12
18:14:17.406
When trying to load any azure projects another dialog box appears:
‘HelloWorld.ccproj’ cannot be opened because its project types (.ccproj) is not supported by this version of the application.
Similar errors appear in the ActivityLog in this instance as well, referencing the same CctProjectPackage assemblies.
Thus far I’ve tried installing, removing and reinstalling the latest versions of
- Windows Azure SDK
- VSCloudService.exe
- Windows Azure Tools
- Windows Azure Libs for .NET
I’ve tried using the web platform installer to install the necessary tools. I’ve even gone so far as to upgrade to Visual Studio 2010 SP1 as well as remove and reinstall Visual Studio.
None of this has resolved the issue. I’ve tried searching for explanations on why the Microsoft.Cct.CctProjectPackage or Microsoft.VisualStudio.CloudService assemblies don’t seem to load via Google and the only suggestion seems to be to reinstall the tools, which didn’t work. I’ve even gone so far as to try searching on Bing.
I’m out of ideas and would appreciate insights from anyone else who may have experienced similar problems or could recommend other things to try.
Thanks to Microsoft support the issue has been resolved. It turns out that Azure Tools 1.3 hadn’t been properly uninstalled which meant Visual Studio was looking for files from it when trying to load Azure projects, regardless of newer versions having been installed.
The solution was to reinstall Azure Tools 1.3 and then uninstall it again.