Cyberactiva WEB

Sunday, February 24, 2008

Visual web developer: compile and publish your web site

Visual web developer is a very good free environment to develope web projects over the .NET 2.0 framework.
Everything works fine, developing is great, debugging much better than in visual studio 2003.
The problem comes when you need to publish the web site. This option is not available on visual web developer. It is available only in Visual Studio 2005.
You could just copy all source files on the server, and they will be compiled run-time; anyway it is not recommendable to distribute source file, I mean for business reasons.
The alternative is to open the command console and launch the following command:

aspnet_compiler -p C:\MyWebSite -v / C:\Staging

This should produce the DLL to copy on the server.

Labels:

0 Comments:

Post a Comment



<< Home