Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Mar 01, 2012 03:55 AM by thaicarrot
Member
2 Points
2 Posts
Mar 01, 2012 03:21 AM|LINK
Running a build takes over 12 seconds for the MVC3 project type.
Build succeeded. Time Elapsed 00:00:12.93
There are about 50 views (cshtml files) in it.
Is there a way to speed this up?
It's really slowing down my development workflow.
All-Star
134903 Points
21619 Posts
Moderator
MVP
Mar 01, 2012 03:26 AM|LINK
if you are not building the views ( see csproj/vbproj), the build does not build the views.
But you are building the controllers. How many controller files are you having?
Mar 01, 2012 03:29 AM|LINK
I have 6 controllers.
What's the setting to turn off building the views for the debug configuration?
Mar 01, 2012 03:54 AM|LINK
Tequila What's the setting to turn off building the views for the debug configuration?
Edit by notepad. MVCBuildViews must be false.
Contributor
5130 Points
1464 Posts
Mar 01, 2012 03:55 AM|LINK
Hi,
Tequila Tequila
Separete the Project into n-modules then right click Solution at configuration check and uncheck what you need or just changes you PC to 8 Core.
Tequila
Member
2 Points
2 Posts
How to speed up the project build time?
Mar 01, 2012 03:21 AM|LINK
Running a build takes over 12 seconds for the MVC3 project type.
Build succeeded.
Time Elapsed 00:00:12.93
There are about 50 views (cshtml files) in it.
Is there a way to speed this up?
It's really slowing down my development workflow.
ignatandrei
All-Star
134903 Points
21619 Posts
Moderator
MVP
Re: How to speed up the project build time?
Mar 01, 2012 03:26 AM|LINK
if you are not building the views ( see csproj/vbproj), the build does not build the views.
But you are building the controllers. How many controller files are you having?
Tequila
Member
2 Points
2 Posts
Re: How to speed up the project build time?
Mar 01, 2012 03:29 AM|LINK
I have 6 controllers.
What's the setting to turn off building the views for the debug configuration?
ignatandrei
All-Star
134903 Points
21619 Posts
Moderator
MVP
Re: How to speed up the project build time?
Mar 01, 2012 03:54 AM|LINK
Edit by notepad. MVCBuildViews must be false.
thaicarrot
Contributor
5130 Points
1464 Posts
Re: How to speed up the project build time?
Mar 01, 2012 03:55 AM|LINK
Hi,
Separete the Project into n-modules then right click Solution at configuration check and uncheck what you need or just changes you PC to 8 Core.
Weera