<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: XAML Designer for ProWindow missing after Visual Studio update in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/xaml-designer-for-prowindow-missing-after-visual/m-p/1292801#M9850</link>
    <description>&lt;P&gt;update from MS:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;A fix for this issue has been internally implemented and is being prepared for release. We’ll update you once it becomes available for download (should be in 17.6.2)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 24 May 2023 20:06:01 GMT</pubDate>
    <dc:creator>Wolf</dc:creator>
    <dc:date>2023-05-24T20:06:01Z</dc:date>
    <item>
      <title>XAML Designer for ProWindow missing after Visual Studio update</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/xaml-designer-for-prowindow-missing-after-visual/m-p/1291254#M9835</link>
      <description>&lt;P&gt;Hey everyone,&lt;BR /&gt;&lt;BR /&gt;Just curious if anybody else is experiencing this issue too. Today, I upgraded Visual Studio 2022 to &lt;A href="https://learn.microsoft.com/en-us/visualstudio/releases/2022/release-notes#17.6.0" target="_self"&gt;v17.6.0&lt;/A&gt; (released May 16th). Now I can't get any new or existing projects to display the ProWindow XAML Designer for my add-ins, even after rebuilding the projects and rebooting the PC, the issue remains. It will only display the XAML code itself. The XAML Designer is working as expected for user controls and WPF windows, so it seems isolated to ProWindows.&lt;BR /&gt;&lt;BR /&gt;If I build/rebuild the projects and test within ArcGIS Pro, the Pro Windows appear as expected. It's only missing from the XAML Designer in Visual Studio 2022.&lt;BR /&gt;&lt;BR /&gt;I even attempted to create fresh, new projects and load in brand new ProWindow items, but I get the same behavior. Here's a ProWindow XAML example that I haven't manipulated, in case you see something amiss.&lt;/P&gt;&lt;LI-CODE lang="c"&gt;&amp;lt;controls:ProWindow x:Class="temp_TestingTheProAddIn.ProWindow2"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:controls="clr-namespace:ArcGIS.Desktop.Framework.Controls;assembly=ArcGIS.Desktop.Framework"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:extensions="clr-namespace:ArcGIS.Desktop.Extensions;assembly=ArcGIS.Desktop.Extensions"
        mc:Ignorable="d"
        Title="ProWindow2" Height="300" Width="300"
        WindowStartupLocation="CenterOwner"
    &amp;gt;
    &amp;lt;controls:ProWindow.Resources&amp;gt;
        &amp;lt;ResourceDictionary&amp;gt;
            &amp;lt;ResourceDictionary.MergedDictionaries&amp;gt;
                &amp;lt;extensions:DesignOnlyResourceDictionary Source="pack://application:,,,/ArcGIS.Desktop.Framework;component\Themes\Default.xaml"/&amp;gt;
            &amp;lt;/ResourceDictionary.MergedDictionaries&amp;gt;
        &amp;lt;/ResourceDictionary&amp;gt;
    &amp;lt;/controls:ProWindow.Resources&amp;gt;
    &amp;lt;Grid&amp;gt;

    &amp;lt;/Grid&amp;gt;
&amp;lt;/controls:ProWindow&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;If it matters, I'm running Pro v3.1.1 with Pro SDK v3.1.0.41833.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2023 20:01:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/xaml-designer-for-prowindow-missing-after-visual/m-p/1291254#M9835</guid>
      <dc:creator>David_Lindsey</dc:creator>
      <dc:date>2023-05-19T20:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: XAML Designer for ProWindow missing after Visual Studio update</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/xaml-designer-for-prowindow-missing-after-visual/m-p/1291276#M9836</link>
      <description>&lt;P&gt;Here's something interesting...I did some crazy tests and was able to trick the system into &lt;EM&gt;correcting&lt;/EM&gt; itself.&lt;BR /&gt;&lt;BR /&gt;I changed &lt;STRONG&gt;controls:ProWindow&lt;/STRONG&gt; to &lt;STRONG&gt;ProWindow&lt;/STRONG&gt;, then right clicked on the XAML file to View Designer. The Designer finally appears, but with "Invalid Markup" (as expected due to invalid code).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="anonymous_geographer_0-1684528966622.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/71209i4C7FCBC45AAC3F34/image-size/medium?v=v2&amp;amp;px=400" role="button" title="anonymous_geographer_0-1684528966622.png" alt="anonymous_geographer_0-1684528966622.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I then immediately modified the XAML code back to &lt;STRONG&gt;controls:ProWindow&lt;/STRONG&gt; and poof! The XAML designer was displaying/working again as expected.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="anonymous_geographer_1-1684529049377.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/71210i744811D1D4BA7C89/image-size/medium?v=v2&amp;amp;px=400" role="button" title="anonymous_geographer_1-1684529049377.png" alt="anonymous_geographer_1-1684529049377.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Bizarre.&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2023 20:45:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/xaml-designer-for-prowindow-missing-after-visual/m-p/1291276#M9836</guid>
      <dc:creator>David_Lindsey</dc:creator>
      <dc:date>2023-05-19T20:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: XAML Designer for ProWindow missing after Visual Studio update</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/xaml-designer-for-prowindow-missing-after-visual/m-p/1291300#M9837</link>
      <description>&lt;P&gt;i just upgraded to VS&amp;nbsp;17.6.0 and i am also not able to get the XAML Design View to show up.&amp;nbsp; i only see the XAML source view.&amp;nbsp; So i tried your trick and sure enough your fix worked for me as well.&amp;nbsp; I then closed and reopened the project and poof! - your term &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; - the Designer View still works.&amp;nbsp; However, i had a second ProWindow control in the same VS project that still didn't work.&amp;nbsp; I suppose i have apply your magic trick on that control as well.&lt;/P&gt;&lt;P&gt;If i close VS, then delete the bin and obj folders, and then reopen VS, the Designer View is broken again.&amp;nbsp;&amp;nbsp;I have to apply your magic trick again.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It appears that the XAML Design View works fine when i create a new .NET WPF application.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will look into this a bit more.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2023 22:05:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/xaml-designer-for-prowindow-missing-after-visual/m-p/1291300#M9837</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2023-05-19T22:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: XAML Designer for ProWindow missing after Visual Studio update</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/xaml-designer-for-prowindow-missing-after-visual/m-p/1291836#M9843</link>
      <description>&lt;P&gt;Thanks for checking, Wolf. I just upgrade to VS 17.6.1 (released today), and &lt;EM&gt;hoped&lt;/EM&gt; that would resolve the issue. It did not.&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 20:40:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/xaml-designer-for-prowindow-missing-after-visual/m-p/1291836#M9843</guid>
      <dc:creator>David_Lindsey</dc:creator>
      <dc:date>2023-05-22T20:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: XAML Designer for ProWindow missing after Visual Studio update</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/xaml-designer-for-prowindow-missing-after-visual/m-p/1291899#M9844</link>
      <description>&lt;P&gt;I tried that as well.&amp;nbsp; Didn't work for me either.&amp;nbsp; i reported the issue on VS Community.&amp;nbsp; I am not holding my breath so:&amp;nbsp; &amp;nbsp;&lt;A href="https://developercommunity.visualstudio.com/t/Visual-Studio-2022-Designer---Design-Vie/10371414" target="_blank"&gt;Visual Studio 2022 Designer - Design View doesn't show for User Controls - Developer Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2023 00:50:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/xaml-designer-for-prowindow-missing-after-visual/m-p/1291899#M9844</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2023-05-23T00:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: XAML Designer for ProWindow missing after Visual Studio update</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/xaml-designer-for-prowindow-missing-after-visual/m-p/1292078#M9845</link>
      <description>&lt;P&gt;So apparently the issue has already been reported to Microsoft under a different title:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developercommunity.visualstudio.com/t/Syncfusion-Controls-like-RibbonWindow-an/10340140" target="_blank"&gt;Syncfusion Controls like RibbonWindow and ChromelessWindows no longer rendering in designer preview - Developer Community (visualstudio.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Here’s a way to try out the fix ahead of time at your own risk, although it’s pretty low risk and easy to undo. You need to be admin on the machine.&lt;/P&gt;&lt;P&gt;1. Find this file in your VS installation directory:&lt;BR /&gt;Common7\IDE\CommonExtensions\Microsoft\DesignTools\Microsoft.VisualStudio.DesignTools.XamlDesignerHost.pkgdef&lt;BR /&gt;2. Open that file in notepad++&lt;BR /&gt;3. Find this text in the file:&lt;BR /&gt;"Namespace"="&lt;A href="http://schemas.microsoft.com/winfx/2006/xaml/presentation" target="_blank"&gt;http://schemas.microsoft.com/winfx/2006/xaml/presentation&lt;/A&gt;"&lt;BR /&gt;4. Duplicate that line right underneath and change Namespace to DefaultNamespace, so it’ll look like this:&lt;BR /&gt;"Namespace"="&lt;A href="http://schemas.microsoft.com/winfx/2006/xaml/presentation" target="_blank"&gt;http://schemas.microsoft.com/winfx/2006/xaml/presentation&lt;/A&gt;"&lt;BR /&gt;"DefaultNamespace"="&lt;A href="http://schemas.microsoft.com/winfx/2006/xaml/presentation" target="_blank"&gt;http://schemas.microsoft.com/winfx/2006/xaml/presentation&lt;/A&gt;"&lt;BR /&gt;5. Save the file&lt;BR /&gt;6. From your VS installation directory, run (requires admin):&lt;BR /&gt;devenv.exe /setup&lt;BR /&gt;7. Give it a minute to finish&lt;/P&gt;&lt;P&gt;This actually worked for me.&amp;nbsp; Now when you open a XAML file it is actually treated as a XAML file and not as an XML file.&lt;/P&gt;&lt;P&gt;Microsoft promised a fix in a 'future' release.&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2023 14:04:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/xaml-designer-for-prowindow-missing-after-visual/m-p/1292078#M9845</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2023-05-23T14:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: XAML Designer for ProWindow missing after Visual Studio update</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/xaml-designer-for-prowindow-missing-after-visual/m-p/1292651#M9847</link>
      <description>&lt;P&gt;I finally got a chance to try that workaround. It worked for me as well! I'll mark this as a solution while Microsoft sorts itself out.&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 16:27:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/xaml-designer-for-prowindow-missing-after-visual/m-p/1292651#M9847</guid>
      <dc:creator>David_Lindsey</dc:creator>
      <dc:date>2023-05-24T16:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: XAML Designer for ProWindow missing after Visual Studio update</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/xaml-designer-for-prowindow-missing-after-visual/m-p/1292801#M9850</link>
      <description>&lt;P&gt;update from MS:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;A fix for this issue has been internally implemented and is being prepared for release. We’ll update you once it becomes available for download (should be in 17.6.2)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 20:06:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/xaml-designer-for-prowindow-missing-after-visual/m-p/1292801#M9850</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2023-05-24T20:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: XAML Designer for ProWindow missing after Visual Studio update</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/xaml-designer-for-prowindow-missing-after-visual/m-p/1293282#M9865</link>
      <description>&lt;P&gt;Visual Studio 2022 Update&amp;nbsp;&lt;EM&gt;17.6.2&amp;nbsp;&lt;/EM&gt;was available for me this morning.&amp;nbsp; &amp;nbsp;I installed the patch, and the Designer View comes up as expected now for my sample WPF forms.&amp;nbsp; It looks like my patches version of&amp;nbsp; "Microsoft.VisualStudio.DesignTools.XamlDesignerHost.pkgdef" was overwritten by the update and the fix (see above) had been applied to the replacement file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 20:34:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/xaml-designer-for-prowindow-missing-after-visual/m-p/1293282#M9865</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2023-05-25T20:34:17Z</dc:date>
    </item>
  </channel>
</rss>

