Speed ​​up visual studio 2010 build asp.net mvc

Now our ASP.NET MVC 2.0 web project for our team takes about 4 minutes to do debugging. Our project has the following things:

  • T4MVC Templates
  • compiling mvc asp.net views in all builds

My pc job is

  • Intel Core 2 Duo T7250 @ 2.00 MHz.
  • Windows 7 32-bit
  • 4 gb ram

I also get the same build time on the desktop

  • Intel Core 2 Duo E6550 Conroe 2.33 GHz
  • 6gb ram
  • ocz ssd drive

I do not see the difference between my desktop and laptop? I assume that it is connected to the CPU? Maybe I need to update my box?

I set it to false, and build time increased from 3 minutes to 5 seconds.

<MvcBuildViews>false</MvcBuildViews> 

I believe the problem is compiling views of asp.net mpc. I still need to understand why so long?

+4
source share
2 answers

I tried all the options that they also gave me. I am updating my @home machine and can build in less than 15 seconds with the truth. I assume the problem is with the processor.

0
source

Have you tried creating a project using msbuild instead of visual studio? this can give you a clue where the bottlenecks are.

See also:

+2
source

All Articles