Quantcast
Channel: Developer to developer
Viewing all articles
Browse latest Browse all 9076

Error after EPiServer CMS version update: Could not load file or assembly EPiServer.Framework.

$
0
0

Hey guys,

I'm having an issue after updating my project to the latest version of EPiServer CMS. This is the error message I am getting when building my solution:

SGEN : error : Could not load file or assembly 'EPiServer.Framework, Version=10.10.0.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7' or one of its dependencies. The system cannot find the file specified.

I have searched my solution for the string "10.10.0.0" with 0 results. 

This is my packages.config:

And this is a snippet from my Web.config:

Note that I am referencing EPiServer.Framework 10.10.4 in both files. As previously mentioned, I can't find any reference to 10.10.0 like the error message refers to. 

Note that my project builds fine in the Debug configuration, but not in Release or any of my custom build configurations. However, if I manually go and set the build property "Generate assembly serialization" to "Off" instead of the default "Auto", it does build. But I don't feel comfortable with that solution because I suspect it slows down performance. 

Other things I have tried without success:

  • Deleted packages directory and restored all packages
  • Deleted bin folder and cleaned solution
  • Deleted ASP.NET temp directory
  • Restarted Visual Studio (and my computer)
  • Tried to build my project in an older version of Visual Studio (I am currently on VS 2017 (15.4.1))

Any feedback is appreciated. Thank you!


Viewing all articles
Browse latest Browse all 9076

Latest Images

Trending Articles



Latest Images