Including the on demand compilation build option I described above. Specific tips and tricks for optimizing VS 2005 website project build times When using the VS 2005 Web Site Project model you can significantly improve build performance by following these steps 1 Make sure you are not suffering from what I call the Dueling Assembly References problem. I describe how to detect and solve this problem in this blog post . If you. Have ever seen a build where the compilation process seems. To be stuck at the Validating Web Site stage of the compilation i.e. no output appears in.
The Output window for more than a few seconds you are most likely belize phone number data this problem. Use the techniques outlined in the above blog post to resolve this problem. 2 Keep the number of files in the appcode subdirectory small. If you end up with a large number of class files in this directory I recommend creating a separate class library project in your VS solution and moving the classes into this class. Library project as class library projects compile much faster than. Classes in the appcode subdirectory. This is usually not a problem if there are only a small.
Number of files in the appcode directory but if you have many directories or dozens of files you will improve build speeds by moving the files into a separate class library project and then referencing this class library project in your website project. Another thing to know is that every time you switch from source view to design view in the VS HTML designer the designer will cause a compile of the appcode. Directory before the design surface is loaded. The reason for. This is so that you can use controls defined in the appcode directory in the designer. If.