How to build a web site using VWD ?

When you use VWD or Visual Studio to build an application – it is just one button click. There are couple of ways you can do this in VWD:

  1. Click on the shortcut toolbar for Build
  2. Use the menu option Build -> Build Solution
  3. Use the keyboard shortcut Ctrl + Shift + B

When you use any of the above options to build a solution, Visual Studio does the following:

  1. Identifies all the files part of the project.
  2. Checks for compilation errors for each file in the solution.

Older versions of ASP.NET projects used to compile all the source files into an assembly and put them into a folder called “Bin”. From ASP.NET 2.0 onwards, there won’t be any “bin” folder created. Instead, source files will be compiled dynamically when a request is made for that particular piece of code. However, when you “build” the solution using Visual Studio, it verifies each file for compilation errors to avoid any compilation error during run time.
In case of windows application, all files are compiled into an executable.

Tagged . Bookmark the permalink.

Leave a Reply