ESRI.ArcGIS.esriSystem.IPropertySet pInPropSet; pInPropSet = new PropertySetClass(); //The error is highlighting new PropertySetClass()
Have you updated all the project references to be version independent and to replace some of the changed ones to the ArcGIS 10 references? I notice you use the full namespace reference to the library in interface name for the declaration but not for the class name in the constructor, did you declare using on the namespace for the class, are there warnings on these using statements?
// either: using ESRI.ArcGIS.esriSystem; IPropertySet pInPropSet; pInPropSet = new PropertySetClass(); // or: ESRI.ArcGIS.esriSystem.IPropertySet pInPropSet; pInPropSet = new ESRI.ArcGIS.esriSystem.PropertySetClass();