Fog Creek Software
Discussion Board

VS.NET macro slowdown

Anyone had this problem?

We use Visual Studio .NET for our C++ development. We've got a bunch of macros that we use to do things like slide in/out comments, insert our standard header file templates, function templates etc.

Sometimes, these work fine. Other times, they work incredibly slowly, and quite often they crash. It seems to be some sort of COM problem -- QueryInterface is failing for the DTE._EnvDTE interface. You can usually tell that the macros are going to fail, because they run noticeably slowly first.

One thing I've noticed is that we've got .NET framework 1.1 installed, but if I go to "Help/About Microsoft Visual C++", it says:

Microsoft Development Environment 2002 Version 7.0.9466
Microsoft .NET Framework 1.0  Version 1.0.3705

(Note: .NET Framework 1.0  ???)

I can't find anything about macro slowdowns in VS.NET on MDSN. Anyone here have suggestions?

Adrian Gilby
Friday, September 26, 2003

I've got no idea about the slowdown (never used VS.NET macros), but I can explain why you're seeing that .NET 1.0 framework version:

You're using the original release of VS.NET. It only works with the 1.0 framework. Even if you have 1.1 installed, VS.NET won't use it. To work against v1.1, you need VS.NET 2003.

Which is only $29. Upgrade already! ;-)

Chris Tavares
Friday, September 26, 2003

It's only $29 until the end of the month.  Since that's only a few days away, you better hurry the heck up!

Friday, September 26, 2003

*  Recent Topics

*  Fog Creek Home