Can we package and publish a website using webdeploy
In Visual Studio, is it necessary to convert a开发者_如何学JAVA website into Web Application project for Web Deploy to work?
It's not possible to publish a website created in Visual Studio 2010 unless it's a Web Application project.
File based web projects created using File -> New -> Web Site...
or Shift+Alt+N
(assuming you haven't changed the keystrokes) can only be published using FrontPage extensions when publishing to http://www.mysite.com
.
So yes, you need to convert your "web site" project to a "Web Project" to be able to publish using Web Deploy.
精彩评论