I need to do this but one step leads me to uncheck the "Allow this precompiled site to be updatable" option, but I don't see that in the publish website dialog on Visual Studio 2010.
Does anyone know how can I do that on Visual Studio 2010?
Open the Book Review WSP in Visual Studio, go to the Build menu, and select the Publish Web Site menu option. This launches the Publish Web Site dialog box (see Figure 1), where you can specify the target location, whether or not the precompiled site's user interface is updatable, and other compiler tool options.
aspx. cs file) must first be compiled. This compilation can happen explicitly or automatically. If the compilation happens explicitly then the entire application's source code is compiled into one or more assemblies ( .
Precompiling with Non-Updatable UIThe ASP.NET compilation tool can compile all the source code for an application into DLLs that are deployed in the application's Bin directory. This includes UI files, such as . aspx and . ascx files.
This option is available for ASP.Net Web Site projects not ASP.Net Web Applications. Right click on the solution explorer and select Add New Web Site...against that you will get that checkbox
Check out this Web Application Projects versus Web Site Projects, Under Summary of Differences, you will see:
Compilation:
Web application projects
Web site projects
The source code is typically compiled dynamically (automatically) by ASP.NET on the server the first time a request is received after the site has been installed or updated.
You can precompile the site (compile in advance on a development computer or on the server).
By default, compilation produces multiple assemblies.
For ASP.Net Web Applications
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With