Visual Studio 2008 SP1 Error "Error loading package"

I recently installed VS08 SP1 so that I can use the Entity Framework. However, when loading projects with edmx files, I get the error "Package loading failed", indicating "Microsoft.Data.Entity.Design.Package".

Unfortunately, googling only has problems associated with installing Service Pack 1 (SP1) on top of the Entity Framework CTP, which I have never installed.

Here is what I tried:

  • Uninstall, reinstall SP1, and repeatedly restart.
  • Using the Visual Studio 2008 Service Pack Preparation Tool before and after installing SP1.
  • Used the "package loading analyzer" from the Visual Studio SDK. The test passes, but the previous error is displayed after the test.

Edit: Ok, I started VS with login, and I see an error

Field not found: 'Microsoft.VisualStudio.Modeling.Shell.CommonModelingCommands.PrintPreview'. 
+4
source share
2 answers

The answer of my answer to package loading errors, which does not always solve the problem, is to open the VS command line and run "devenv / resetsippkgs" (without quotes). If you are using Vista +, you need to run the elevated prompt.

+1
source

All Articles