asp.net - 全局主题目录的 iis 快速路径

标签 asp.net iis webforms webmatrix iis-express

我使用的是 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 的全局主题目录位于何处吗?
(这次我最喜欢的搜索引擎似乎不友好)。

信息:

  • 对于 IIS 5.0/6.0,全局主题路径为:C:\Inetpub\wwwroot\aspnet_client\system_web\2_0_50727\Themes
  • 使用 Cassini(ASP.NET 开发服务器),全局主题路径是: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/

    相关文章:

    asp.net-mvc - 为什么 Asp.NET MVC 优于 Asp.NET Web 窗体

    asp.net - 关闭PC时ASP页面崩溃

    iis - VS2010在打开项目时引发异常

    python - 无法让 Mercurial 的 hgweb.cgi 在 IIS7 上工作

    IIS URL 重写 ~ 重写端口路径

    c# - 如何调整 Google RECAPTCHA 的大小

    c# - javascript__dopostback 的一个例子

    c# - 不使用for循环将数据写入xml

    jquery - WCF 正在更改从 jQuery .ajax 调用返回的 JSON 格式的日期时间

    c# - Repeater 在 PostBacks 上丢失了它的数据