简体   繁体   中英

System.Web.Optimization error to add

我无法添加对System.Web.Optimization的引用,我安装了MVC 4,但是当我尝试添加引用“你没有权限打开这个文件”时我有这条消息,但我正在使用像adm这样的系统。

Have you tried using nuget to get the latest version of System.Web.Optimization?

eg Type this into your package manager console

Install-Package Microsoft.AspNet.Web.Optimization

I have a feeling there's an older version which isn't compatible with MVC 4.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM