Could not load file or assembly System.Web.WebPages.Deployment

后端 未结 7 1706
[愿得一人]
[愿得一人] 2020-12-18 23:53

Im working developing a system web page and suddenly appears this error:

Could not load file or assembly \'System.Web.WebPages.Deployment, Version=1.0.0.0, C         


        
7条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-19 00:01

    In my case this was due to corrupted assembly being referenced which happened due to crash restart of my laptop.

    To fix this please following these steps

    1. Clean all the files in the following folders of your project or you can simply click on clean project and clean solution

      • \bin
      • \obj
    2. Clean the Appdata temp folder for my Win 7 machine its located here C:\Users\your_username\AppData\Local\Temp\Temporary ASP.NET Files in windows 7

    Hope this helps!

提交回复
热议问题