Current filter:
                                You should refresh the page.
                                • Dan (DevExpress) 10.30.2008

                                  Hello,
                                  Currently, XAF doesn't support this projects structure: [ObjectsLib + CommonModule + WinFormsModule + WinFormsApplication]
                                  And, this structure is not supported by VisualStudio out of the box: an old assembly could be loaded after rebuilding an entire solution ( see also: B32244 ).
                                  Thanks,
                                  Dan

                                1 Solution

                                Creation Date Importance Sort by

                                Hi guys,
                                This error is a result of a bug in Visual Studio: http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=379324. I am afraid we cannot overcome it on our side.
                                Currently, you can use the following solutions:

                                1. Reopen the Visual Studio when the "Dictionary already contains class info" error occurs;
                                2. Simplify the Visual Studio solution's hierarchy by referencing an output assembly instead of referencing a project.
                                For instance, if the error mentioned the <YourSolutionName>.Module assembly, then you can reference its output assembly (<YourSolutionName>.Module.dll) instead of having its source added into your Visual Studio solution.
                                3. Use a standalone Model Editor tool (%ProgramFiles%\DevExpress 15.2\Components\Tools\eXpressAppFramework\Model Editor"
                                UPDATE:
                                Regarding the bug, Microsoft said that they couldn't fix this problem of Visual Studio. So, I have posted ( http://social.msdn.microsoft.com/Forums/en-US/csharpide/thread/b7ee8b92-335d-4118-b609-eb7825c7d1a4 ) on their forum to see a feedback from other users and to gather votes or find a workaround for this issue.
                                • Dennis (DevExpress) 11.07.2008

                                  Hi guys,
                                  Regarding the bug, Microsoft said that they couldn't fix this problem in this release.
                                  So, I have posted ( http://social.msdn.microsoft.com/Forums/en-US/csharpide/thread/b7ee8b92-335d-4118-b609-eb7825c7d1a4 ) on their forum to see a feedback from other users and to gather votes or find a workaround for this issue.
                                  Thanks,
                                  Dennis

                                • Ilia Lopatkin 12.08.2015

                                  As I understand, no progress here after 8 years and Visual Studio 2015?

                                • Dennis (DevExpress) 12.08.2015

                                  @Ilja: To process your recent post more efficiently, I created a separate ticket on your behalf: T321982: Questions regarding S30927. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.

                                • Dennis (DevExpress) 09.26.2019

                                  Hello,

                                  Sporadically receive "assembly has been loaded twice" or "Dictionary already contains class info" error with XAF designers?

                                  Please help us test the ultimate remedy in v19.2 by collecting tracing information from your projects.

                                  We will send you the v19.2 build and simple instructions to upgrade your XAF solution. Once you happen to reproduce these errors, we will await the eXpressAppFramework.log file back.

                                  This build will also allow you test our ITypeDiscoveryService implementation that gives tremendous performance boost and stability in designers.

                                  Email XafTeam@devexpress.com if you are all in. Thanks!