user154366
user154366

Reputation: 581

speed up visual studio 2010 build asp.net mvc

Right now our team's ASP.NET MVC 2.0 web project takes about 4 minutes to do build on debug. We have the following things included on our project:

My work pc is a

I am also getting the same build times, on my desktop

I do not see any difference between my desktop and laptop? I am guessing that it CPU bound? I may need to upgrade my box?

I did set this to false, and the build times went from 3 minutes before now down to 5 seconds.

 <MvcBuildViews>false</MvcBuildViews>

I believe the problem is the compiling the asp.net mvc views. I am still need to see why it takes so long?

Upvotes: 4

Views: 1114

Answers (2)

user154366
user154366

Reputation: 581

I had tried all of the options given too me. I upgrade my machine @ home and can build under 15 seconds with true. I am guessing that it is a CPU bound problem.

Upvotes: 0

Colin Pickard
Colin Pickard

Reputation: 46633

Have you tried building the project with msbuild instead of from visual studio? this may give you a clue where the bottlenecks are.

See also:

Upvotes: 2

Related Questions