Direct and indirect reference conflict

Posted by: dave.scott on 4 May 2018, 4:38 pm EST

    • Post Options:
    • Link

    Posted 4 May 2018, 4:38 pm EST

    Working on a project I haven’t been to for a while. When I opened it I was experiencing some weird behavior. So I removed the references to all of the C1 extensions used in the project. That cleared all my errors except this one. Not sure how I resolve that? Any help would be appreciated.

    Error BC32207 The project currently contains references to more than one version of ‘C1.C1Report.4’, a direct reference to version 4.0.20161.139 and an indirect reference to version 4.0.20162.188. Change the direct reference to use version 4.0.20162.188 (or higher) of C1.C1Report.4.

  • Posted 4 May 2018, 4:40 pm EST

    Sorry, meant to say that I removed the C1 extensions and then added them back in.

  • Posted 7 May 2018, 1:19 am EST

    Hello,

    Please make sure that all the C1 related references have a common version i.e. they are picked up from the same location.

    Also, ensure that the licenses.licx file contain controls’ class and assembly names only. Please remove the strong names.

    eg: ```

    C1.C1Report.C1Report, C1.C1Report.4, Version=4.0.20162.188, Culture=neutral, PublicKeyToken=75ae3fb0e2b1e0da

    should be trimmed to
    

    C1.C1Report.C1Report, C1.C1Report.4

    
    Further, Clean and Rebuild the solution. 
    The issue should no longer occur. If it does, please share a screenshot of the error and added References, along with your licenses.licx file.
    This will help us assist you further.
    
    Best Regards,
    Esha
  • Posted 7 May 2018, 1:20 pm EST - Updated 4 October 2022, 2:42 am EST

    Here is a screen shot and the license file.

    C1.Win.C1Command.C1CommandDock, C1.Win.C1Command.4

    C1.Win.C1Command.C1ContextMenu, C1.Win.C1Command.4

    C1.Win.C1FlexGrid.C1FlexGrid, C1.Win.C1FlexGrid.4

    C1.Win.C1Chart.C1Chart, C1.Win.C1Chart.4

    C1.Win.C1Command.C1MainMenu, C1.Win.C1Command.4

    C1.Win.C1Command.C1CommandHolder, C1.Win.C1Command.4

    C1.C1Report.C1Report, C1.C1Report.4

  • Posted 7 May 2018, 4:06 pm EST

    I seem to have corrected my mistake. Thank you.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels