Hi All
I've been struggling with this for quite a while now and
it driving me up the wall. Every time I press enter in
the IDE I wait for 10-30 seconds before I can process
again!!! Here's the problem:
When coding and compiling my code in VB .NET in VS 2002-
2003, I have tremendous delays in waiting for the compiler
to finish (3-5 minutes to compile a medium size project on
a P3 1Ghz with 512MB RAM). In my attempt to solve the
problem, I have noticed the following:
- It only happens if I strong name my assemblies, i.e.
add the <AssemblyKeyFile> attribute to an assembly
- Whilst the IDE is so slow, it is constantly accessing
the network. I downloaded a packet sniffer and it is
constantly sending packets to various IP addresses within
our company's domain. This made me think that it is some
service running and sure enough if I stop the DHCP Client
service, the IDE is back to "normal speed" again.
However, I do not get this kind of network traffic using
any other app except the VS IDE and then only in VS IDE if
I strong name my assemblies...
Where is the problem? With the way our network is setup?
Why does a compilation in the VS IDE require such network
access and why only if you strong name your assemblies??
Remember this does not happen in any other application
that I use on my computer.
Thanks
Carel
Michael A. Covington - 29 Nov 2003 05:42 GMT
Are you working on your own disk or through the network? VS does *lots* of
disk access. There's no problem with storing your project on a network
disk; but is VS itself installed locally or on a remote machine?