We're having problems opening design view after a multi-project upgrade. The upgrade seems to have succeeded. It compiles and runs without any issue.
Some of the forms, however, show this error when attempting to go into Design:
Unable to cast object of type 'Infragistics.Win.Appearance' to type 'Infragistics.Win.Appearance'.
with this in the call stack:
at Infragistics.Win.AppearanceHolder..ctor(SerializationInfo info, StreamingContext context)
Whats up?
Thanks.
Hello, This error message look like the typical upgrading issue. It possible that you application is referring to a reference with older version. Please check references in your project. They all should point to one location I recommend to use it form GAC. Recheck also your license file and delete the whole content. Then close all open files form visual studio and rebuild your project. If this doesn’t help you , then delete the whole content of bin and debug directory and remove all references and add them again. Then again rebuild your project. Let me know if this solve your problem.Sincerely,Dimi GinevaDeveloper Support EngineerInfragistics, Inc.
To my knowledge, VS does not allow you to add references to assemblies in the GAC.
I deleted and re-added references. Rebuilt. Same problem!