2

The boxes that say "Include all IIS Settings in IIS Manager (used only for IIS Web projects) is disabled for an WCF Service and also for a WebApp I created.

Are these not "web projects"? Why is this box disabled, and how do I enable it? I'm trying to do a test of MSDepoy, and I want it to copy the name of the application pool from the dev system. (I have IIS6/WinXP on my dev machine.)

4

1 回答 1

4

通过打开项目属性并转到 Web 选项卡,我能够启用“在 IIS 管理器中包含所有 IIS 设置(仅用于 IIS Web 项目)”复选框。

(我对服务器的设置是“使用 Visual Studio 开发服务器”。这可能也适用于“使用自定义 Web 服务器”。)

当我将服务器更改为“使用本地 IIS Web 服务器”时,该设置已启用。

在转到“Package/Publish Web”选项卡之前,我还重新打开了 Project Properties 窗口,但此步骤可能是不必要的。

我希望这有助于节省一些时间。这个我花了一段时间才弄清楚。

于 2011-02-24T17:29:52.540 回答