IIS中的全球主题目录前preSS路径 [英] iis express path for global theme directory

查看:137
本文介绍了IIS中的全球主题目录前preSS路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用Visual Studio 2010 SP1中,ASP.NET Web表单,.NET框架3.5和 IIS防爆preSS (也称为WebMatrix中)。

I'm using Visual Studio 2010 SP1, ASP.NET Webforms, Framework .NET 3.5 and IIS Express (also called WebMatrix).

我得到在Visual Studio以下编译错误与我的网站:结果

I get the following compilation error in Visual Studio with my WebSite :

主题'MySweetyTheme'不能在应用程序或全局主题目录中找到。

你知道那里的全局主题目录位于与IIS防爆preSS?
结果(我最喜欢的搜索引擎不友好,似乎这个时候)。

Do you know where the global theme directories is located with IIS Express ?
(My favorite search engine seems unfriendly this time).

有关信息:


  • 使用IIS 5.0 / 6.0全球主题路径为: C:\\的Inetpub \\ wwwroot的\\的aspnet_client \\ system_web \\ 2_0_50727 \\主题

通过卡西尼(ASP.NET开发服务器)全球主题路径为: C:\\ WINDOWS \\ Microsoft.NET \\框架\\ V2.0.50727 \\ ASP.NETClientFiles \\主题

With Cassini (ASP.NET Development Server) the global theme path is : C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ASP.NETClientFiles\Themes

推荐答案

这个问题得到回答在IIS的论坛。答案包含下面。

This question was answered on the IIS forum. The answer is included below.

IIS防爆preSS将搜索位于主题
  在
  [SiteRootPath] \\的aspnet_client \\ system_web \\ [版本] \\主题
  目录,SiteRootPath是
  根应用程序的物理路径,
  版本是.NetFramwork版本。子
  应用将能够共享
  主题该目录中。

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.

这篇关于IIS中的全球主题目录前preSS路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆