<?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 errors when creating a new ArcGIS PRO dockpane in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/xaml-errors-when-creating-a-new-arcgis-pro/m-p/1572543#M12458</link>
    <description>&lt;P&gt;binding errors like those usually come from the vs designer attempting to load a/the control into the VS designer UI. they are not compilation errors as such which is why the addin compiles and runs ok.&lt;/P&gt;&lt;P&gt;I wonder if your issue might be related to this post:&amp;nbsp;&lt;A href="https://developercommunity.visualstudio.com/t/Update-to-Version-1780-causes-error-T/10519868" target="_blank"&gt;https://developercommunity.visualstudio.com/t/Update-to-Version-1780-causes-error-T/10519868&lt;/A&gt;&lt;/P&gt;&lt;P&gt;fyi - I think u can modify what gets output here (if u wanted to):&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/62838824/how-to-send-databinding-errors-to-visual-studios-output-window" target="_blank"&gt;https://stackoverflow.com/questions/62838824/how-to-send-databinding-errors-to-visual-studios-output-window&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 03 Jan 2025 20:09:11 GMT</pubDate>
    <dc:creator>CharlesMacleod</dc:creator>
    <dc:date>2025-01-03T20:09:11Z</dc:date>
    <item>
      <title>XAML errors when creating a new ArcGIS PRO dockpane</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/xaml-errors-when-creating-a-new-arcgis-pro/m-p/1570052#M12426</link>
      <description>&lt;P&gt;In Visual Studio 2022, when creating a new ArcGIS PRO dockpane for a project, the default dockpane XAML file created seems to have a number of errors, as shown in the screenshot below. However, if run, everything runs fine, but the XAML designer won't display in VS giving the error "Invalid Markup".&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RogerAsbury_0-1734567325106.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/122090i9689D27A33FA0017/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RogerAsbury_0-1734567325106.png" alt="RogerAsbury_0-1734567325106.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The squiggly blue underlines tend to contain errors such as:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RogerAsbury_1-1734567453267.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/122091iC237E68C222BB84E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RogerAsbury_1-1734567453267.png" alt="RogerAsbury_1-1734567453267.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Just curious how I can fix this.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;For reference:&lt;BR /&gt;Visual Studio 2022 vers. 17.11.5&lt;/P&gt;&lt;P&gt;ArcGIS PRO sdk for .net vers. 3.4.0.55405&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2024 00:21:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/xaml-errors-when-creating-a-new-arcgis-pro/m-p/1570052#M12426</guid>
      <dc:creator>RogerAsbury</dc:creator>
      <dc:date>2024-12-19T00:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: XAML errors when creating a new ArcGIS PRO dockpane</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/xaml-errors-when-creating-a-new-arcgis-pro/m-p/1572543#M12458</link>
      <description>&lt;P&gt;binding errors like those usually come from the vs designer attempting to load a/the control into the VS designer UI. they are not compilation errors as such which is why the addin compiles and runs ok.&lt;/P&gt;&lt;P&gt;I wonder if your issue might be related to this post:&amp;nbsp;&lt;A href="https://developercommunity.visualstudio.com/t/Update-to-Version-1780-causes-error-T/10519868" target="_blank"&gt;https://developercommunity.visualstudio.com/t/Update-to-Version-1780-causes-error-T/10519868&lt;/A&gt;&lt;/P&gt;&lt;P&gt;fyi - I think u can modify what gets output here (if u wanted to):&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/62838824/how-to-send-databinding-errors-to-visual-studios-output-window" target="_blank"&gt;https://stackoverflow.com/questions/62838824/how-to-send-databinding-errors-to-visual-studios-output-window&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2025 20:09:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/xaml-errors-when-creating-a-new-arcgis-pro/m-p/1572543#M12458</guid>
      <dc:creator>CharlesMacleod</dc:creator>
      <dc:date>2025-01-03T20:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: XAML errors when creating a new ArcGIS PRO dockpane</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/xaml-errors-when-creating-a-new-arcgis-pro/m-p/1572976#M12462</link>
      <description>&lt;P&gt;I have experienced this issue myself and traced it back to some random issue with the XAML designer.&amp;nbsp; The errors you are seeing are only 'XAML Designer' errors and usually the errors go away when you close the 'XAML Designer'.&amp;nbsp; The error output is caused by a bug in the 'XAML Designer' and therefore you can 'build and run' the app and bring up your dockpane, even with these 'XAML Designer' errors.&amp;nbsp; &amp;nbsp;Sometimes i was able to fix the issue by closing the solution, deleting the obj and bin folders, reopening the solution and then performing a 'rebuild all'.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 22:39:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/xaml-errors-when-creating-a-new-arcgis-pro/m-p/1572976#M12462</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2025-01-06T22:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: XAML errors when creating a new ArcGIS PRO dockpane</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/xaml-errors-when-creating-a-new-arcgis-pro/m-p/1599366#M12797</link>
      <description>&lt;P&gt;I have similar problems:&lt;/P&gt;&lt;P&gt;Error: 40 : BindingExpression path error - with various variables, such as&amp;nbsp;IsPortalProject,&amp;nbsp;LastUpdatedLabel,&amp;nbsp;PullUpdatesCommand etc.&lt;/P&gt;&lt;P&gt;System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='ArcGIS.Desktop.Core.Search.SearchFilterControl', AncestorLevel='1''. BindingExpression:Path=FilterItemsSource; DataItem=null; target element is 'TreeView' (Name=''); target property is 'ItemsSource' (type 'IEnumerable'))&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried your solution from above and I created a minimal sample with only one button in my dockpane which opens a new map. it works fine, but there are&amp;nbsp; may of above mentioned errors. any suggestions what I could improve?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Mar 2025 10:56:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/xaml-errors-when-creating-a-new-arcgis-pro/m-p/1599366#M12797</guid>
      <dc:creator>nadja</dc:creator>
      <dc:date>2025-03-26T10:56:09Z</dc:date>
    </item>
  </channel>
</rss>

