The type or namespace name 'Optimization' does not exist in the namespace 'System.Web'

后端 未结 7 503
花落未央
花落未央 2021-02-05 01:32

I am deploying a new website as my main site and it works beautifully.

All of my applications under the root url work as well, except for one. It is a legacy system (c#

7条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-05 01:56

    In Visual Studio .. Go to your project and see the References tree.

    right click System.Web.Optimization and choose Properties

    look for the path , you will find it empty if that is the case then look in your PC for the file names System.Web.Optimization.dll and copy it in the bin folder of your project and that will resolve it

提交回复
热议问题