Wednesday, June 20, 2007

Precompile ASP.NET in command line

posted by Lars Hundebøl # 08:33 PM

I have sometimes been unable to precompile ASP.NET web projects using the built in function of Visual Studio. In these cases I use the following command line to manually precompile ASP.NET 2.0 projects:

%WINDIR%\Microsoft.NET\Framework\v2.0.50727\aspnet_compiler.exe 
-p . -v / c:\myprecompiledwebsite -u

Leave a comment

Your name

Your e-mail (will not be displayed)†

†Your e-mail will never be displayed and only used on the site to display your gravatar (if you got one), and as a means to potentially get back to you, if I have any feedback or questions regarding your comment.

all posts