Bug Report T356861
Visible to All Users

The "Dictionary already contains ClassInfo ..." exception is thrown when opening the XAF application model designer in certain scenarios

created 9 years ago

As suggested in T321982 a new ticket concerning the exception "Dictionary already contains class info" which occurs every time I want to open the Xaf-ModelDesigner while working with VS2015.

I was able to reproduce the issue in a sample project which is attached to this ticket (as I'm not allowed to upload the main app). The sample basically contains two solutions.

  1. The SampleXaf, which mocks the main application.
  2. The CommonXaf, which mocks a common module.

SampleXaf references CommonXaf in the SampleXaf.Module.csproj as well as in the SampleXaf.Module.Win.csproj. They are referenced by the assemblies located in the SampleXaf.Module folder and were included with the Module-Designer via Drag&Drop. For reproducing I only need to open the SampleXaf, rebuild it and try to open the Model.DesignedDiffs.xaml in SampleXaf.Module.Win. So CommonXaf is only uploaded to be complete.

I've tested this sample on a different machine and it's getting the same error as on my current developer machine.

Thanks in advance.

Comments (1)
DevExpress Support Team 9 years ago

    Hello Daniel.

    Thank you for your report and the sample. We have replicated the issue and need additional time to research it. We will update this ticket knce a solution is found.

    Answers approved by DevExpress Support

    created 9 years ago (modified 9 years ago)

    We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

    Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

      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.