Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
70
Infragistics 7.2 and 7.3 coexist - Issue in referencing correct DLL file
posted

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

Parents
No Data
Reply
  • 670
    Verified Answer
    posted

    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.

Children