I am trying to figure out why when I create a scriptbundle that is referencing files that are in an IIS VirtualDirectory under my main site's application folder, why it won't output anything.
我试图弄清楚为什么当我创建一个脚本包引用我的主站点的应用程序文件夹下的IIS VirtualDirectory中的文件时,为什么它不会输出任何内容。
I found this post:
我发现这篇文章:
Why does ResolveBundleUrl not work for custom folders? (MVC Beta 4)
为什么ResolveBundleUrl不适用于自定义文件夹? (MVC Beta 4)
but it no longer seems valid with the latest beta build of System.Web.Optimization.
但对于System.Web.Optimization的最新beta版本,它似乎不再有效。
3 个解决方案
#1
7
System.Web.Optimization
is still in the process of being moved to open source, so you can't find the official sources currently.
System.Web.Optimization仍处于被转移到开源的过程中,因此您无法找到当前的官方来源。
#2
12
For anyone stumbling upon this question, the source can now be found at https://aspnetoptimization.codeplex.com/SourceControl/latest#src/System.Web.Optimization/.
对于任何绊倒这个问题的人来说,现在可以在https://aspnetoptimization.com/odex.com/SourceControl/latest#src/System.Web.Optimization/找到源代码。
#3
9
It's still not currently available, but it will eventually be hosted on the ASP.NET Optimization CodePlex site.
它目前仍然不可用,但它最终将托管在ASP.NET Optimization CodePlex网站上。
#1
7
System.Web.Optimization
is still in the process of being moved to open source, so you can't find the official sources currently.
System.Web.Optimization仍处于被转移到开源的过程中,因此您无法找到当前的官方来源。
#2
12
For anyone stumbling upon this question, the source can now be found at https://aspnetoptimization.codeplex.com/SourceControl/latest#src/System.Web.Optimization/.
对于任何绊倒这个问题的人来说,现在可以在https://aspnetoptimization.com/odex.com/SourceControl/latest#src/System.Web.Optimization/找到源代码。
#3
9
It's still not currently available, but it will eventually be hosted on the ASP.NET Optimization CodePlex site.
它目前仍然不可用,但它最终将托管在ASP.NET Optimization CodePlex网站上。