當我運行我的ASP.NET MVC 4應用程序版本模式時,捆綁軟件仍在輸出未分離和單獨的js文件,而不是捆綁並將其縮小爲更少的捆綁JavaScript文件。以發佈模式運行ASP.NET MVC 4應用程序不會捆綁並縮小js文件
任何想法?
僅供參考,釋放配置:
<?xml version="1.0"?>
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<system.web>
<compilation xdt:Transform="RemoveAttributes(debug)" />
</system.web>
</configuration>
[也許這會幫助你](http://stackoverflow.com/a/11956652/703607) – Verkion 2013-03-01 15:26:05