Hi,
I am facing this problem at runtime:
CS0433: The type 'Infragistics.WebUI.Shared.Style' exists in both 'c:\WINDOWS\assembly\GAC_MSIL\Infragistics2.WebUI.Shared.v7.2\7.2.20072.61__7dd5c3163f2cd0cb\Infragistics2.WebUI.Shared.v7.2.dll' and 'c:\WINDOWS\assembly\GAC_MSIL\Infragistics2.WebUI.Shared.v7.3\7.3.20073.38__7dd5c3163f2cd0cb\Infragistics2.WebUI.Shared.v7.3.dll'
Any suggestion to resolve this?
AG
How to upgrade project?
Thanks & Regards,
Mukesh
I used the upgrade utility but still had to change the web.config... Thanks for the tipo
Hi
Check your project references. You might have a reference to both 7.2 and 7.3. Also check your bin directory for the same two references.
If you find one, delete the one you are not using.
Thanks for the reply. I guess I was missing the step to run Upgrade Project Utility. Everything worked fine once I did that.
Check your web.config file. You must have both versions of controls referenced there. Which means you must have a 7.2 control on one of your pages. Upgrade your project using thier upgrade utility and follow all directions on elimintating the bin.
You can have only one version of controls within a web project.
I had this problem when I upgraded from one version to another but the toolbar still had the older version of controls. When I upgraded the project it worked fine. Then I added an Infragistics control to a webform and the problem you are facing appeared.
Once I used their utiltiy to upgrade the project again, and removed the old controls from the toolbar and imported the new ones, everything was fine.