View Full Version : Configuring Visual Studio Express to compile DLLs locally

July 19th, 2010, 01:18 PM
Before publishing a site to a live ASP.Net server, it is recommended that you compile your project locally before uploading to the Web server. This process creates a "bin" folder in your project which contains compiled DLL versions of your "code-behind" files. If you upload the "bin" folder (and its DLL files) to your Web site, the Web server will not have to compile your "code-behind" files on-the-fly. This will help prevent compilation errors that can occur on .Net sites.

If you use an Express version of Visual Studio, however, it will not compile DLLs by default. This tutorial shows a workaround that allows Visual Studio Express to compile DLLs when building the project locally: http://www.dotnetspark.com/kb/469-automating-compilation-for-vs-web-developer.aspx