Speeding up build times in ASP.NET

后端 未结 10 1129
感动是毒
感动是毒 2020-12-28 20:32

I am currently involved in a ASP.NET project with about 40 projects in the solution. We are doing all our development in cloned Virtual PC environments so all developers hav

10条回答
  •  我在风中等你
    2020-12-28 21:33

    You can greatly reduce the time you wait for a build with ASP.NET by doing the following:

    • Use the new "optimizeCompilations" flag. It will tell .NET to not rebuild the entire project just because you changed one project/dll. If you have 40 projects and you don't use this, every time you change a simple method in one project, .NET will try to compile all other projects and dlls. With the new flag (plus the installation of a hotfix) you will see a lot of increase overall performance during development. Check it out this blog post with details on how to speed up the build with this the optimizeCompilations flag: http://www.wagnerdanda.me/2009/11/optimizing-asp-net-build-time-with-dynamic-compilation-and-optimizecompilations/

    Hope it helps!

    Wagner Danda da Silva

提交回复
热议问题