我使用的是 Visual Studio 2010 SP1、ASP.NET Webforms、Framework .NET 3.5 和 IIS Express (也称为 WebMatrix)。
我的网站在 Visual Studio 中收到以下编译错误:Theme 'MySweetyTheme' cannot be found in the application or global theme directories.
您知道 IIS Express 的全局主题目录位于何处吗?
(这次我最喜欢的搜索引擎似乎不友好)。
信息:
C:\Inetpub\wwwroot\aspnet_client\system_web\2_0_50727\Themes
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ASP.NETClientFiles\Themes
最佳答案
此问题已在 IIS forum 上得到解答.答案包含在下面。
IIS Express will search themes located in [SiteRootPath]\aspnet_client\system_web\[version]\Themes directory, the SiteRootPath is physical path of the root application, version is .NetFramwork version. Sub applications will be able to share themes in that directory.
关于asp.net - 全局主题目录的 iis 快速路径,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5444720/