Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ASP.NET MVC 5 applications really slow to build

I'm getting into ASP.NET, and I'm using MVC 5 to build my applications while I follow some Pluralsight trainings. I noticed that in the video training the instructor's Visual Studio builds really fast, but in my computer, after I modify something, every time I build it usually takes from 90 to 120 seconds for the build to finish and I be able to navigate through my application on the browser.

My laptop isn't super old or slow, since it has a Core i5 with 4GB of RAM and an SSD. I've tried to set the MvcBuildViews attribute to false, but still the problem persists. I'm using Visual Studio 2015 Enterprise with Update 2.

Any ideas on what should be the problem?

like image 674
adamasan Avatar asked Oct 31 '22 01:10

adamasan


1 Answers

Delete everything under C:\Users\YOUR_USER_NAME\AppData\Local\Microsoft\WebSiteCache Check here too C:\Users\YOUR_USER_NAME\AppData\Local\Temp\Temporary ASP.NET Files\siteName

like image 149
Steve Coleman Avatar answered Nov 11 '22 16:11

Steve Coleman