开发者

Publish A WPF Application To An Asp.Net Website

开发者 https://www.devze.com 2023-01-16 01:57 出处:网络
I\'m using Visual Studio (VS) Professional Edition 2010 and IIS 7.I\'d like to publish a wpf application for download from a website.But for some reason, when I go to Build > Publish in VS, select a p

I'm using Visual Studio (VS) Professional Edition 2010 and IIS 7. I'd like to publish a wpf application for download from a website. But for some reason, when I go to Build > Publish in VS, select a publishing location, select that users will install the application from a website, and then try to browse to a URL on my machine, VS gives me an error message saying:

To access local IIS Web sites, you must install th开发者_如何学JAVAe following IIS components:

IIS 6 Metabase and IIS 6 Configuration Compatibility ASP.NET

I'm not really sure why this is happening. I'm running IIS 7 on my computer, and it was my understanding that Metabase has been rendered obsolete in the latest version of IIS... Does anyone know what's going on?

Many thanks in advance,

Andrew


I don't know why these components are needed, but they actually are. Some features like the FTP server are still handled by IIS 6 or installed separately. See this blog that explains how to do it.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号