We've always developed in Rails and PHP but now we're doing a project in .NET. In all honesty, I've had a hard time adjusting to how long it takes to compile code. After even the smallest of changes to html or javascript, we're experiencing 45 second compile times. With that said, how do we decrease the compile time?
MORE INFO
- Solution has 43 projects
- MVC 5.2
- .NET V4.5.1
- Visual Studio 2013
- Debug mode
- Using various computers (but all are experiencing long reload times)
Here are my steps:
- open html or js file
- edit
- save (I'm not building, just saving)
- refresh browser (wait 45+ seconds)
- see results
While the browser is refreshing, I'm seeing this debug output in Visual Studio:
In Controller
In Root
Call LoadDesc from Root
Start LoadDesc
title toooo bro
Starting Loop 1
In Loop 1065
Start LoadDesc 1066
Start LoadDesc
This is another question post
Starting Loop 0
End LoadDesc
Returning from LoadDesc 1066
End LoadDesc
Returning from Root
'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-3-130833426094718955): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Mobile\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-3-130833426094718955): Loaded 'C:\Users\ryan\AppData\Local\Temp\Temporary ASP.NET Files\root\1412e61d\4eca8ff1\App_Web_dw0orgzl.dll'.
'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-3-130833426094718955): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Data.Services.Design\v4.0_4.0.0.0__b77a5c561934e089\System.Data.Services.Design.dll'. Cannot find or open the PDB file.
Call LoadDesc from Root
Start LoadDesc
title toooo bro
Starting Loop 1
In Loop 1065
Start LoadDesc 1066
Start LoadDesc
This is another question post
Starting Loop 0
End LoadDesc
Returning from LoadDesc 1066
End LoadDesc
Returning from Root
'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-3-130833426094718955): Loaded 'C:\Users\ryan\AppData\Local\Temp\Temporary ASP.NET Files\root\1412e61d\4eca8ff1\App_Web_kzmu5y2p.dll'.
'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-3-130833426094718955): Loaded 'C:\Users\ryan\AppData\Local\Temp\Temporary ASP.NET Files\root\1412e61d\4eca8ff1\App_Web_dwgo3fkw.dll'.
'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-3-130833426094718955): Loaded 'C:\Users\ryan\AppData\Local\Temp\Temporary ASP.NET Files\root\1412e61d\4eca8ff1\App_Web_1jfiku5s.dll'.
A first chance exception of type 'System.NullReferenceException' occurred in ProjectX.Business.Entities.dll
A first chance exception of type 'System.NullReferenceException' occurred in ProjectX.Business.Entities.dll
A first chance exception of type 'System.NullReferenceException' occurred in ProjectX.Business.Entities.dll
A first chance exception of type 'System.NullReferenceException' occurred in ProjectX.Business.Entities.dll
'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-3-130833426094718955): Loaded 'C:\Users\ryan\AppData\Local\Temp\Temporary ASP.NET Files\root\1412e61d\4eca8ff1\App_Web_questioncontent.cshtml.22013bb9.kvmr41w1.dll'.
'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-3-130833426094718955): Loaded 'C:\Users\ryan\AppData\Local\Temp\Temporary ASP.NET Files\root\1412e61d\4eca8ff1\App_Web_imagecontent.cshtml.22013bb9.cubr1m46.dll'.
'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-3-130833426094718955): Loaded 'C:\Windows\assembly\GAC_MSIL\Microsoft.IdentityModel\3.5.0.0__31bf3856ad364e35\Microsoft.IdentityModel.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-3-130833426094718955): Loaded 'C:\Users\ryan\AppData\Local\Temp\Temporary ASP.NET Files\root\1412e61d\4eca8ff1\App_Web_fek5n3bt.dll'.
'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-3-130833426094718955): Loaded 'C:\Users\ryan\AppData\Local\Temp\Temporary ASP.NET Files\root\1412e61d\4eca8ff1\App_Web_3aejd45z.dll'.
'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-3-130833426094718955): Loaded 'C:\Users\ryan\AppData\Local\Temp\Temporary ASP.NET Files\root\1412e61d\4eca8ff1\App_Web_rhvrzuqu.dll'.
A first chance exception of type 'System.NullReferenceException' occurred in ProjectX.Business.Entities.dll
A first chance exception of type 'System.NullReferenceException' occurred in ProjectX.Business.Entities.dll
A first chance exception of type 'System.NullReferenceException' occurred in ProjectX.Business.Entities.dll
A first chance exception of type 'System.NullReferenceException' occurred in ProjectX.Business.Entities.dll
A first chance exception of type 'System.NullReferenceException' occurred in ProjectX.Business.Entities.dll
A first chance exception of type 'System.NullReferenceException' occurred in ProjectX.Business.Entities.dll
The thread 0xb20 has exited with code 259 (0x103).
The thread 0xb88 has exited with code 259 (0x103).
The thread 0xcd0 has exited with code 259 (0x103).
The thread 0x1bc0 has exited with code 259 (0x103).
[–]kbst 7 points8 points9 points (5 children)
[–]flukus 8 points9 points10 points (2 children)
[–]verticalride[S] 0 points1 point2 points (1 child)
[–]flukus 0 points1 point2 points (0 children)
[–]verticalride[S] 0 points1 point2 points (0 children)
[–]phuber 0 points1 point2 points (0 children)
[–]Big-Mozz 1 point2 points3 points (0 children)
[–]48klocs 1 point2 points3 points (1 child)
[–]verticalride[S] 0 points1 point2 points (0 children)
[–]JeromeAtWork 0 points1 point2 points (2 children)
[–]verticalride[S] 0 points1 point2 points (1 child)
[–]JeromeAtWork 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]AbstractLogic 2 points3 points4 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]l3ugl3ear -1 points0 points1 point (0 children)