Link to home
Start Free TrialLog in
Avatar of sevzas
sevzasFlag for United States of America

asked on

Which version of a .net class am I using?

I'm presently using Microsoft Visual Studio 2005.  I've always been under the impression that MSVS 2005 comes with .net 2.0.

Now I'm researching a feature in the System.GC class that according to Microsoft is available on .Net 3.5 and higher.  The feature is called RegisterForFullGCNotification.  So I'm surprised to see that in my MSVS 2005, I can code using this feature.  A look on the hard disk in C:\windows\Microsoft.NET\Framework reveals that I have

v1.0.3705, v1.1.4322, v2.0.50727, v3.0, v3.5

So I have the following questions:

1. How does MSVS choose the version of a class that I'm going to be using?
2. How can I find out what MSVS has chosen while developing?
3. Are there any known issues using .net 3.5 classes with MSVS 2005?
ASKER CERTIFIED SOLUTION
Avatar of maXXXeE
maXXXeE

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sevzas

ASKER

If I've already created the project, how can I determine what the current framework setting is?
Avatar of sevzas

ASKER

ok.  I see that the references tab tells me which .net libaries are included.  The System.GC class I assume is in System.dll.  System.dll is in the v2.0.50727 folder.  There is not System.dll in the v3.5 folder.  So it appears to me that I'm using some kind of patch release of .net 2.0 (probably sp1).