Conflict between different versions of the same dependent assembly

2 posts, 0 answers
  1. Jill-Connie Lorentsen
    Jill-Connie Lorentsen avatar
    118 posts
    Member since:
    Nov 2008

    Posted 04 Apr 2011 Link to this post

    After upgrading to Q1 2011 I get a warning saying: Found conflicts between different versions of the same dependent assembly.

    Doubleclicking brings out this message:  One or more dependent assemblies have version conflicts. Do you want to fix these conflicts by adding binding redirect records in the app.config file?

    Anwering "yes" adds these records in the file:


    <assemblyIdentity name="TelerikCommon" publicKeyToken="5BB2A467CBEC794E" culture="neutral"/>

    <bindingRedirect oldVersion="" newVersion="2011.1.11.315"/>
    <assemblyIdentity name="Telerik.WinControls" publicKeyToken="5BB2A467CBEC794E" culture="neutral"/>
    <bindingRedirect oldVersion="" newVersion="2011.1.11.315"/>
    <assemblyIdentity name="Telerik.WinControls.UI" publicKeyToken="5BB2A467CBEC794E" culture="neutral"/>
    <bindingRedirect oldVersion="" newVersion="2011.1.11.315"/>

    When attemting to run I get the following error:

    Could not load type Telerik.WinControls.Primitives.RectanglePrimitive from assembly Telerik.WinControls, Version=2011.1.11.315, Culture=neutral, PublicKeyToken=5bb2a467cbec794e

    Then I get "No source available, no symbols are loaded for any call stack fram, the source code can not be shown". Frustrating...

    I have tried removing and adding all the references to Telerik dll's, but I still get the error. Any help is appreciated!

  2. Nikolay
    Nikolay avatar
    1805 posts

    Posted 04 Apr 2011 Link to this post

    Hi Jill-Connie Lorentsen,

    Thank you for contacting us.

    It will be best if you uninstall all RadControls for WinForms versions from your machine and make sure that your GAC does not contain Telerik.WinForms assemblies as well. After this is done, please download the installer from Your Account and install RadControls for WinForms anew. Then, open your solution, add the correct references and remove the serialized xml code concerning the assemblies. Finally, close the Visual Studio instance that has your project opened and reopen it. These steps should allow you to update to the latest version successfully.

    All the best,
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top