The environment variable NT_SYMBOL_PATH needs to be removed
Not in my experience.
However a slow link, and a third party dll without local symbols will cause delays. But the best route is to switch off the automatic downloading of symbols inside VS (the environment variable is also used by other tools which will suffer for its loss).
Tools | Options | Debugging | Symbols.and checking the "search the above locations only when ..." option.
My laptop runs VS2008 fast with 2Gb of RAM and my desktop runs VS2008 very fast with 3.8 Gb of RAM.
I suggest you you check your Virtual memory settings. Do you have a fixed size extent for the page file (minimum value = maximum value)?
Click "Mark as Answer" on the post that helped you.
This earns you a point and marks your thread as Resolved so we will all know you have been helped.
FAQ on the correct forum http://forums.asp.net/p/1337412/2699239.aspx#2699239
2) We had some projects that were vb classes and our data access layer DLLs underneath the web application project. We moved those outside of the web app project. Then updated went to the web
application project properties page, and on the References page, pointed to these projects using Project tab in the Add References dialog.
3) Optionally, changing it to use IIS instead of the cassini application server sped it up a couple more seconds. However, you can't do edit and continue with this. You change this setting on
the Web page of the web application properties page.
After doing all of that, we can make a code change and start up in 12 to 15 seconds. That's the best we could get it.
This absolutely nothing to do with PC performance. Thanks for your input but please do not damage this thread. It's been a huge headache for us to have this message go through and get Microsoft to help or fix this problem. It's one of the worst problems
ASP.NET/Visual Studio developers face every single day. This problem really harms our productivity.
In my case, the fix above (on the web.config compilation element) did not help. I have a page that has a big number of user controls. This is what takes a couple of minutes each time I do a code change and try to debug:
'WebDev.WebServer.EXE' (Managed): Loaded 'M_1789df76_4b1f_4822_93d1_b228b0e8d9ec'
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\10256aec\9d1e1872\App_Web_msgboxuc.ascx.6bb32623.rnw21_je.dll', Symbols loaded.
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\10256aec\9d1e1872\App_Web_searchorganizationuc.ascx.6bb32623.yhgnwqi1.dll', Symbols loaded.
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\10256aec\9d1e1872\App_Web_navigation.master.cdcab7d2.hwtipfs7.dll', Symbols loaded.
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\10256aec\9d1e1872\App_Web_searchcontract.ascx.5a4dd027.8uadhjlb.dll', Symbols loaded.
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\10256aec\9d1e1872\App_Web_contractciproduct.ascx.5a4dd027.zknbdmut.dll', Symbols loaded.
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\10256aec\9d1e1872\App_Web_contracteventlist.ascx.5a4dd027.flmqjphk.dll', Symbols loaded.
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\10256aec\9d1e1872\App_Web_contractlocale.ascx.5a4dd027._quubfok.dll', Symbols loaded.
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\10256aec\9d1e1872\App_Web_contractretailer.ascx.5a4dd027.w5rpftx_.dll', Symbols loaded.
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\10256aec\9d1e1872\App_Web_contractsalestab.ascx.5a4dd027._fes67ej.dll', Symbols loaded.
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\10256aec\9d1e1872\App_Web_contractevent.ascx.5a4dd027.pmnl1bnd.dll', Symbols loaded.
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\10256aec\9d1e1872\App_Web_contact.ascx.5a4dd027.dfkxd2hu.dll', Symbols loaded.
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\10256aec\9d1e1872\App_Web_contractmfrtab.ascx.5a4dd027.oi883vsj.dll', Symbols loaded.
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\10256aec\9d1e1872\App_Web_contractlegaltab.ascx.5a4dd027.52-krbgr.dll', Symbols loaded.
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\10256aec\9d1e1872\App_Web_contractfintab.ascx.5a4dd027.rcy894rl.dll', Symbols loaded.
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\10256aec\9d1e1872\App_Web_searchcategory.ascx.bb99d8ca.yhw9kqoe.dll', Symbols loaded.
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\10256aec\9d1e1872\App_Web_contractopstab.ascx.5a4dd027.xw-cyuqg.dll', Symbols loaded.
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\10256aec\9d1e1872\App_Web_contractmfr.ascx.5a4dd027.lnurchjh.dll', Symbols loaded.
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\10256aec\9d1e1872\App_Web_contract.ascx.5a4dd027.pvvuohqw.dll', Symbols loaded.
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\10256aec\9d1e1872\App_Web_contract.aspx.adf53a76.26kaybg9.dll', Symbols loaded.
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\10256aec\9d1e1872\App_Theme_ThemeDefault.xfrphm-4.dll', Symbols loaded.
Because I changed web.config to not batch compilation I can now see the details of all the user controls as they are each compiled or linked. I don't know why this takes so long (2 to 3 minutes to debug each time!). I am not changing the code in any of these
user controls. But if I change code anywhere in the application or in any of the class libraries the long delay will happen the next time I debug. It's a nightmare.
>Thanks for your input but please do not damage this thread
How can it damage the thread?
I have Visual Studio 2008 on two machines with 4Gb of RAM, and VS opens very fast.
Click "Mark as Answer" on the post that helped you.
This earns you a point and marks your thread as Resolved so we will all know you have been helped.
FAQ on the correct forum http://forums.asp.net/p/1337412/2699239.aspx#2699239
Do you ever clear out your C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files directory?
Click "Mark as Answer" on the post that helped you.
This earns you a point and marks your thread as Resolved so we will all know you have been helped.
FAQ on the correct forum http://forums.asp.net/p/1337412/2699239.aspx#2699239
rjcox
Contributor
7064 Points
1444 Posts
Re: Visual Studio 2008 ASP.NET Builds VERY Slow
Aug 21, 2008 08:34 PM|LINK
Not in my experience.
However a slow link, and a third party dll without local symbols will cause delays. But the best route is to switch off the automatic downloading of symbols inside VS (the environment variable is also used by other tools which will suffer for its loss). Tools | Options | Debugging | Symbols.and checking the "search the above locations only when ..." option.
TATWORTH
All-Star
72415 Points
14017 Posts
MVP
Re: Visual Studio 2008 ASP.NET Builds VERY Slow
Aug 23, 2008 06:23 PM|LINK
Have many Gb of RAM do you run with?
My laptop runs VS2008 fast with 2Gb of RAM and my desktop runs VS2008 very fast with 3.8 Gb of RAM.
I suggest you you check your Virtual memory settings. Do you have a fixed size extent for the page file (minimum value = maximum value)?
This earns you a point and marks your thread as Resolved so we will all know you have been helped.
FAQ on the correct forum http://forums.asp.net/p/1337412/2699239.aspx#2699239
dmurphy7299
Member
22 Points
24 Posts
Re: Visual Studio 2008 ASP.NET Builds VERY Slow
Sep 05, 2008 08:00 PM|LINK
Thanks for the replies. I have 2gb of Ram with Dual core processor.
I have been working with MS on this case. One suggestion they had that got me down to 25 seconds was:
In web.config, set the batch attribute in the compilation tag to false. Example below.
<compilation debug="true" strict="false" explicit="true" batch="false">
I'll let you know if they come up with anything else.
ASPNeophyte
Member
6 Points
42 Posts
Re: Visual Studio 2008 ASP.NET Builds VERY Slow
Sep 05, 2008 10:18 PM|LINK
VS2008 SP1 did it for me - not sure if you've tried that or not. Brought the builds down to 5 seconds or so.
dmurphy7299
Member
22 Points
24 Posts
Re: Visual Studio 2008 ASP.NET Builds VERY Slow
Sep 17, 2008 10:36 PM|LINK
After working with MS Support, three things helped.
1) set batch="false" in the compilation tag of the web.config file. Set it back to true when releasing to production. This knocked off a few seconds.
<
system.web><compilation debug="true" strict="false" explicit="true" batch="false">
2) We had some projects that were vb classes and our data access layer DLLs underneath the web application project. We moved those outside of the web app project. Then updated went to the web application project properties page, and on the References page, pointed to these projects using Project tab in the Add References dialog.
3) Optionally, changing it to use IIS instead of the cassini application server sped it up a couple more seconds. However, you can't do edit and continue with this. You change this setting on the Web page of the web application properties page.
After doing all of that, we can make a code change and start up in 12 to 15 seconds. That's the best we could get it.
neutrino
Participant
768 Points
237 Posts
Re: Visual Studio 2008 ASP.NET Builds VERY Slow
Nov 07, 2008 05:23 PM|LINK
Tatworth,
This absolutely nothing to do with PC performance. Thanks for your input but please do not damage this thread. It's been a huge headache for us to have this message go through and get Microsoft to help or fix this problem. It's one of the worst problems ASP.NET/Visual Studio developers face every single day. This problem really harms our productivity.
Thanks
neutrino
Participant
768 Points
237 Posts
Re: Visual Studio 2008 ASP.NET Builds VERY Slow
Nov 07, 2008 05:47 PM|LINK
In my case, the fix above (on the web.config compilation element) did not help. I have a page that has a big number of user controls. This is what takes a couple of minutes each time I do a code change and try to debug:
'WebDev.WebServer.EXE' (Managed): Loaded 'M_1789df76_4b1f_4822_93d1_b228b0e8d9ec'
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\10256aec\9d1e1872\App_Web_msgboxuc.ascx.6bb32623.rnw21_je.dll', Symbols loaded.
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\10256aec\9d1e1872\App_Web_searchorganizationuc.ascx.6bb32623.yhgnwqi1.dll', Symbols loaded.
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\10256aec\9d1e1872\App_Web_navigation.master.cdcab7d2.hwtipfs7.dll', Symbols loaded.
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\10256aec\9d1e1872\App_Web_searchcontract.ascx.5a4dd027.8uadhjlb.dll', Symbols loaded.
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\10256aec\9d1e1872\App_Web_contractciproduct.ascx.5a4dd027.zknbdmut.dll', Symbols loaded.
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\10256aec\9d1e1872\App_Web_contracteventlist.ascx.5a4dd027.flmqjphk.dll', Symbols loaded.
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\10256aec\9d1e1872\App_Web_contractlocale.ascx.5a4dd027._quubfok.dll', Symbols loaded.
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\10256aec\9d1e1872\App_Web_contractretailer.ascx.5a4dd027.w5rpftx_.dll', Symbols loaded.
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\10256aec\9d1e1872\App_Web_contractsalestab.ascx.5a4dd027._fes67ej.dll', Symbols loaded.
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\10256aec\9d1e1872\App_Web_contractevent.ascx.5a4dd027.pmnl1bnd.dll', Symbols loaded.
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\10256aec\9d1e1872\App_Web_contact.ascx.5a4dd027.dfkxd2hu.dll', Symbols loaded.
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\10256aec\9d1e1872\App_Web_contractmfrtab.ascx.5a4dd027.oi883vsj.dll', Symbols loaded.
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\10256aec\9d1e1872\App_Web_contractlegaltab.ascx.5a4dd027.52-krbgr.dll', Symbols loaded.
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\10256aec\9d1e1872\App_Web_contractfintab.ascx.5a4dd027.rcy894rl.dll', Symbols loaded.
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\10256aec\9d1e1872\App_Web_searchcategory.ascx.bb99d8ca.yhw9kqoe.dll', Symbols loaded.
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\10256aec\9d1e1872\App_Web_contractopstab.ascx.5a4dd027.xw-cyuqg.dll', Symbols loaded.
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\10256aec\9d1e1872\App_Web_contractmfr.ascx.5a4dd027.lnurchjh.dll', Symbols loaded.
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\10256aec\9d1e1872\App_Web_contract.ascx.5a4dd027.pvvuohqw.dll', Symbols loaded.
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\10256aec\9d1e1872\App_Web_contract.aspx.adf53a76.26kaybg9.dll', Symbols loaded.
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\10256aec\9d1e1872\App_Theme_ThemeDefault.xfrphm-4.dll', Symbols loaded.
Because I changed web.config to not batch compilation I can now see the details of all the user controls as they are each compiled or linked. I don't know why this takes so long (2 to 3 minutes to debug each time!). I am not changing the code in any of these user controls. But if I change code anywhere in the application or in any of the class libraries the long delay will happen the next time I debug. It's a nightmare.
David
TATWORTH
All-Star
72415 Points
14017 Posts
MVP
Re: Visual Studio 2008 ASP.NET Builds VERY Slow
Nov 07, 2008 06:15 PM|LINK
>Thanks for your input but please do not damage this thread
How can it damage the thread?
I have Visual Studio 2008 on two machines with 4Gb of RAM, and VS opens very fast.
This earns you a point and marks your thread as Resolved so we will all know you have been helped.
FAQ on the correct forum http://forums.asp.net/p/1337412/2699239.aspx#2699239
TATWORTH
All-Star
72415 Points
14017 Posts
MVP
Re: Visual Studio 2008 ASP.NET Builds VERY Slow
Nov 07, 2008 06:17 PM|LINK
David
Do you ever clear out your C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files directory?
This earns you a point and marks your thread as Resolved so we will all know you have been helped.
FAQ on the correct forum http://forums.asp.net/p/1337412/2699239.aspx#2699239
neutrino
Participant
768 Points
237 Posts
Re: Visual Studio 2008 ASP.NET Builds VERY Slow
Nov 07, 2008 09:20 PM|LINK
why would that be necesarry?