Why is CLR Startup Slow?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm trying to add some ADO.NET code to a program developed with VC++ 6.0.
When I add a small C++ routine in a file compiled with /CLR my startup time
goes from 2 seconds to 20 seconds every time a try to run the program. (not
just first time).

Any ideas on how to get around this?
 
The slow part of the startup seems to be loading mscorlib.dll

'DefaultDomain': Loaded
'c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll', No symbols
loaded.

Further
This is just compiled with \CLR and is unmanaged.
 
Back
Top