Error: The tag 'DesignOnlyResourceDictionary' does not exist in XML namespace

608
1
Jump to solution
08-02-2021 07:01 AM
MaryGraceMcClellan
New Contributor III

I am receiving an error when I try to build an Add-in solution using the ArcGIS Pro SDK. I have set the target framework for .NET 4.8 and I have ArcGIS Pro 2.8 installed. The error is as follows: 

The tag 'DesignOnlyResourceDictionary' does not exist in XML namespace 'clr-namespace:Esri.ArcGISPro.Extensions;assembly=Esri.ArcGISPro.Extensions'. 

The error is occurring on my .XAML file. 

Has anyone else run into this issue? 

0 Kudos
1 Solution

Accepted Solutions
Wolf
by Esri Regular Contributor
Esri Regular Contributor

In 2.8 all Pro assemblies were switched from mixed (x86 and x64) to 64 bit only.  Unfortunately the XAML designer loader cannot load x64 bit assemblies.   Here is a knowledge base article to that regard: Error: Could not load file or assembly 'ArcGIS.Desktop.Framework, Culture=neutral' or one of its dep...

Hopefully the upcoming release of Visual Studio 2022 will fix this issue. 

View solution in original post

1 Reply
Wolf
by Esri Regular Contributor
Esri Regular Contributor

In 2.8 all Pro assemblies were switched from mixed (x86 and x64) to 64 bit only.  Unfortunately the XAML designer loader cannot load x64 bit assemblies.   Here is a knowledge base article to that regard: Error: Could not load file or assembly 'ArcGIS.Desktop.Framework, Culture=neutral' or one of its dep...

Hopefully the upcoming release of Visual Studio 2022 will fix this issue.