System.Web.MVC not copied into bin folder since MS14-059. How to protect against creating builds with missing DLLs as a result of Windows Updates?

前端 未结 3 2006
醉梦人生
醉梦人生 2020-12-05 02:08

This morning it was reported that our web app on our QA server was completely broken with the following error reported from Web.config:

Could not load

3条回答
  •  佛祖请我去吃肉
    2020-12-05 02:42

    I added a note about this issue in my blog: Microsoft Asp.Net MVC Security Update MS14-059 broke my build!.

    Your analysis of the problem is right on the money, by default the Copy Local flag is set to false when the assembly is in the GAC, manually setting it to true should fix this problem.

    Upgrading to 5.2.2 is even better, you get the benefits of the new release in addition to the security fix.

提交回复
热议问题