<?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 Use WPF UserControl in windows forms application (c#) in ArcGIS Runtime SDK for WPF (Retired) Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/use-wpf-usercontrol-in-windows-forms-application-c/m-p/1042829#M3814</link>
    <description>&lt;P&gt;I am trying to add a WPF user control in a form of a windows forms application and I have a run time issue in the user control constructor in the InitializeComponent method of MapView Control&lt;/P&gt;&lt;P&gt;System.Windows.Markup.XamlParseException: ''The invocation of the constructor on type 'Esri.ArcGISRuntime.UI.Controls.MapView' that matches the specified binding constraints threw an exception.' Line number '226' and line position '14'.'&lt;/P&gt;&lt;P&gt;Line 226 in XAML file is:&amp;nbsp;&amp;lt;esri:MapView x:Name="MyMapView"&amp;gt;&lt;/P&gt;&lt;P&gt;There is 3 inner exceptions messages&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&amp;nbsp;TypeInitializationException: The type initializer for 'Esri.ArcGISRuntime.UI.Controls.GeoView' threw an exception.&lt;/LI&gt;&lt;LI&gt;InvalidOperationException: Could not load ArcGIS Runtime (RuntimeCoreNet100_10.dll) or one of its dependencies. Ensure "Microsoft Visual C++ 2015-2019 Redistributable" is installed.&lt;/LI&gt;&lt;LI&gt;BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Note: I am using&amp;nbsp;ElementHost for the hosting process and the SDK version is 100.10.0&lt;/P&gt;</description>
    <pubDate>Thu, 01 Apr 2021 12:28:03 GMT</pubDate>
    <dc:creator>Nimrawi</dc:creator>
    <dc:date>2021-04-01T12:28:03Z</dc:date>
    <item>
      <title>Use WPF UserControl in windows forms application (c#)</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/use-wpf-usercontrol-in-windows-forms-application-c/m-p/1042829#M3814</link>
      <description>&lt;P&gt;I am trying to add a WPF user control in a form of a windows forms application and I have a run time issue in the user control constructor in the InitializeComponent method of MapView Control&lt;/P&gt;&lt;P&gt;System.Windows.Markup.XamlParseException: ''The invocation of the constructor on type 'Esri.ArcGISRuntime.UI.Controls.MapView' that matches the specified binding constraints threw an exception.' Line number '226' and line position '14'.'&lt;/P&gt;&lt;P&gt;Line 226 in XAML file is:&amp;nbsp;&amp;lt;esri:MapView x:Name="MyMapView"&amp;gt;&lt;/P&gt;&lt;P&gt;There is 3 inner exceptions messages&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&amp;nbsp;TypeInitializationException: The type initializer for 'Esri.ArcGISRuntime.UI.Controls.GeoView' threw an exception.&lt;/LI&gt;&lt;LI&gt;InvalidOperationException: Could not load ArcGIS Runtime (RuntimeCoreNet100_10.dll) or one of its dependencies. Ensure "Microsoft Visual C++ 2015-2019 Redistributable" is installed.&lt;/LI&gt;&lt;LI&gt;BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Note: I am using&amp;nbsp;ElementHost for the hosting process and the SDK version is 100.10.0&lt;/P&gt;</description>
      <pubDate>Thu, 01 Apr 2021 12:28:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/use-wpf-usercontrol-in-windows-forms-application-c/m-p/1042829#M3814</guid>
      <dc:creator>Nimrawi</dc:creator>
      <dc:date>2021-04-01T12:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: Use WPF UserControl in windows forms application (c#)</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/use-wpf-usercontrol-in-windows-forms-application-c/m-p/1043733#M3815</link>
      <description>&lt;P&gt;I need help to solve the problem...&lt;/P&gt;</description>
      <pubDate>Mon, 05 Apr 2021 06:32:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/use-wpf-usercontrol-in-windows-forms-application-c/m-p/1043733#M3815</guid>
      <dc:creator>Nimrawi</dc:creator>
      <dc:date>2021-04-05T06:32:24Z</dc:date>
    </item>
  </channel>
</rss>

