Monday, March 5, 2012

Could not load file or assembly 'msshrtmi' or one of its dependencies

Today, for no reason, one of mine projects in ASP.NET MVC 3 crashed at launch... I had this error every time:

After some searches, I've found the solution:

  • unload your web project
  • edit the .csproj file
  • remove all "PlatformTarget" elements that you found
  • reload your web project

Normally, it should be enough but I have also changed my build configuration to x64 (inspite of Any CPU).

Hope that information can be useful for someone!

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.