views:

52

answers:

1

I want to precompile (for deplayment) a ASP.NET webapplication with Visual Studio 2008. The problem now is, that the Publish dialog don't provide me the necessary options. I want to do this as it described in http://dotnetperls.com/precompiled-aspnet, but my Publish dialog differs very much !?!?!

My publish dialog has the following appearance:

  • Target Location
    • Replace matching files with local copies
    • Delete all existing files prior to publish
  • Copy
    • Only files needed to run this application
    • All project files
    • All files in the source project folder
    • Include files from the App_Data folder
+1  A: 

That's because you're trying to publish a Web Application-Project, not a Website. In Visual Studio, there is a difference between these two. If possible, you can convert the project to a website. That way you get the dialog you want.

More on the differences between these two can be found at: http://damieng.com/blog/2008/02/07/web-site-vs-web-application

Pbirkoff