expressappframework-400081-installation-upgrade-version-history-visual-studio-integration-designers-troubleshooting-guide.md
This topic describes how to resolve problems that can occur when you open Model Editor or Visual Studio designers.
Perform the following steps if you have problems with a designer:
Close opened windows with the designers in Visual Studio.
Close Visual Studio.
Remove the contents of the bin and obj directories in each project and the .vs folder in the solution.
Build your solution and ensure that the build succeeded.
Open the designer again. Refer to the following section if it still throws an error:
Solution:
Solution: Close Visual Studio and navigate to the folder where its executable (devenv.exe) is located:
After that, execute the following command in the command prompt:
devenv /ResetSkipPkgs
It is also possible that extensions do not load because the Visual Studio component’s cache is corrupted. Clear the cache as described in the following articles:
Solution #1: Refer to the previous solution. See the following solution if the Model Editor still does not work.
Solution #2:
Ensure the DevExpress.ExpressApp.Design.NetCorePackage extension is enabled. To do this, click the Extensions | Manage extensions menu item, and in the invoked window, click the Enable button (if the extension is disabled). Restart Visual Studio.
You can disable this extension when you received the following notification:
We recommend that you do not disable DevExpress extensions as this may cause functionality issues.
This extension can be disabled due to a corrupted installation. Refer to the articles below for more information.
Solution #3: Ensure that the “Subtype Designer” is added unnecessarily to xml-based files like csproj issue is fixed in the version of Visual Studio you use. Otherwise, update your IDE.
Solution: Ensure that:
the Model.DesignedDiffs.xafml file’s Build Action is set to EmbeddedResource ;
your changes are not overridden in higher application model layers. For example, if you customized the Model in a platform-agnostic module (MySolution.Module), check the Model.DesignedDiffs.xafml or Model.xafml files of your platform-dependent module and project, respectively.
Solution: Follow the steps below to collect diagnostic information and send it to DevExpress Support.
%USERPROFILE%\AppData\Roaming\eXpressAppFramework\, and archive the folder content.Solution: Debug Visual Studio where designers are opened as described in the How to obtain a design-time exception call stack KB Article.
Solution: Close Visual Studio and rerun the DXperience installation in the Repair mode.
Important
Do not start Visual Studio until the installation is completed.
If designers still do not work, submit a support ticket and attach the Visual Studio Activity Log and DevExpress installation log.