Search code examples
.netwindowsvisual-studio-2005windows-vistapublish

Publish option disabled in win Vista after converting a website to web application


I have converted a web site to a webapplication. In windows Vista, the option of publish is no more available. Any idea how to solve this problem.


Solution

  • You can't publish from a Web Application, regardless of your operating system.

    What you need todo is add a Web Setup project to the solution. Right click on the Web Setup project in solution explorer, click Add > Project Output and add the Primary Output and Content Files from your Web Application project.