Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Visual Studio 中,是否需要将网站转换为 Web 应用程序项目才能使 Web Deploy 工作?
除非是 Web 应用程序项目,否则无法发布在 Visual Studio 2010 中创建的网站。
File -> New -> Web Site...使用or创建的基于文件的 Web 项目Shift+Alt+N(假设您没有更改击键)只能在发布到http://www.mysite.com.
File -> New -> Web Site...
Shift+Alt+N
http://www.mysite.com
所以是的,您需要将您的“网站”项目转换为“Web 项目”才能使用 Web Deploy 进行发布。