GetTypeFromCLSID changes in .Net Framework 2.0

My application, written for .Net 1.1, used GuidAttribute of Type to uniquely identify classes and then load different classes, based on specified GUID passing to GetTypeFromCLSID.  The classes were not COM classes.

The functionality is broken in .NET 2.0 as documented here.

Now GetTypeFromCLSID returns valid type only if the class is COM object (Type.IsComObject() returns true) and is registered as COM class.

Managed class with matched GuidAttribute will not be returned by GetTypeFromCLSID(guid) .

I have two options- 1. to change identifier to be full class name or make class COM objects and register them in Windows Registry.

 

 

«January»
SunMonTueWedThuFriSat
25262728293031
1234567
891011121314
15161718192021
22232425262728
2930311234