How to improve compilation of Visual Studio 2008 in Perfomance

I'm having serious performance issues when compiling a small ASP.NET site in Visual Studio 2008 (targeting .NET 3.5). I know that there are some tips and registry hackers to improve compilation performance in VS 2005, are there any for VS 2008? In particular, it seems that VS 2008 compiles the entire site every time F5 hits, even when the files have not been changed in this project since the last compilation, or maybe there is some way to skip the verification step?

+3
source share
4 answers
  • Problems with antivirus . Make sure your Antivirus program excludes your project directories! Make sure your Microsoft.NET directory inside the Windows directory is also included in the exclusion list.

  • IIS vs. "Cassini" . If you can, use IIS instead of the built-in VS web server (aka "Cassini"). This will prevent the server from restarting every time it starts.

  • Memory : Do you have enough?

+2
source

I assume this is an ASP.Net website project, not an ASP.Net web application project. You will get better compilation performance from your web application project, so you might consider converting it.

- - Visual Studio, - node "". , "" " " " " " ". Visual Studio . , .

0

App_Code, ( ) .

.suo.

Dueling Assemblies ( , =)?), . , .

0
source

.Net 3.5 Service Pack 1 has made some big performance gains, at least in terms of the IDE and the transition from Code to Design. I do not know if this affects the overall compilation speed, but it is worth applying if you have not already done so.

0
source

Source: https://habr.com/ru/post/1699532/


All Articles