Ticket T321982
Visible to All Users

Questions regarding S30927

created 9 years ago
Show previous comments (8)

    Hi! Sorry for the late reply - notification got lost in the email.
    Sadly I can't participate in testing because for XAF we have to stick to 18.1 with Windows XP support. It's the reality in the industrial area so far.

    B B
    Baha'a Eldin Elsayed 5 years ago

      Hi! I have the same issue in my project, I will send the log file to th mentioned email address. DX version is 19.2

      B B
      Baha'a Eldin Elsayed 5 years ago

        Update: I passed through all my projects in the solution and made sure to replace all file references to Project-to-Project. Now I can open the model editor without receiving "assembly has been loaded twice" or "Dictionary already contains class info" error.

        Answers

        created 5 years ago

        Hello Everyone,

        Below is what I recommended to Baha'a Eldin Elsayed via email.

        We suggest you ensure that projects in your XAF solution use project-to-project references instead of file assembly references. Microsoft recommends this as the best way to manage references in a project: https://docs.microsoft.com/en-us/visualstudio/ide/managing-references-in-a-project?view=vs-2019#project-to-project-references. Our Model Editor requires project-to-project references to collect accurate dependency information. If projects inside your XAF solution are added as file references, it may not only increase maintenance costs, but also cause "Dictionary already contains ClassInfo. Possible reason: the assembly has been loaded twice" errors in the Model Editor.

        We avoided this behavior in the new Model Editor for .NET Core and .NET Standard projects, which uses a different architecture and out-of-Visual Studio process. For more information, please review the following help topics:

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.