.NET Compiler is a snail...

cyrilgupta

Newcomer
Joined
Aug 3, 2003
Messages
11
Location
New Delhi, India
I just started using VB.NET. Since the last few weeks I have an odd problem. Whenever I try to compile in the debug mode VB.NET takes over 6 minutes to compile even a very small app. Can anyone please help me solve this issue.

Thanks... :)...

I think I am going to like VB.NET very much once I get used to all the differences.. LOL...

One more thing.. Is there any strategy guide that tells what to do to migrate my VB6 apps to VB.NET. I have some very huge projects that I'd like to take to VB.NET, but migration isn't simple as I've discovered.

Thanks for your help.

Cheerios!
 
Sounds like the computer doesn't have enough processor power and/or RAM on hand. You may have too many programs going or the computer is too slow.

There's a migration guide in the MSDN help, search "Visual Basic and Related" for 'Migration'. The only things you need to watch out for is to always use Option Strict, and avoid the Object class unless absolutely necessary.
 
I have a P4 1.6 Gig with 256 MBs of memory. Doesn't sound so low powered to me.. And .NET was working fine earlier. It just slowed down some weeks ago.

Something else must be wrong.. Even re-installation hasn't solved the issue. I am sure re-installing my OS will do the trick. But I don't feel up to it right now :(.

Thanks for helping :)

Cheerios!
 
You may want to check how many Windows services are running in the background and also try AdAware to search for spyware in the background.

And to add to the migration list, also use Option Explicit and avoid using APIs unless absolutely necessary
 
I had a terrible problem with my installation of 2003 whereby the CPU was showing 100% usage in whilst in the IDE. The key response was extremely slow.

I raised the issue with MS but whilst awaiting a response I wiped the machine and installed everything from scratch and have not looked back since :)
 
4 IDEs open amongst other programs and my CPU usage shifts between an average of 0-5%...

2.66 ghz
512 mb ram

:D
 
Back
Top