<?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: Deploy .NET WPF application in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/deploy-net-wpf-application/m-p/1575186#M13241</link>
    <description>&lt;P&gt;Hi Justin,&lt;/P&gt;&lt;P&gt;We are curious to try this approach in house. Would like to know what tool you are using to generate the .msi or the final setup project?&lt;/P&gt;</description>
    <pubDate>Tue, 14 Jan 2025 00:13:37 GMT</pubDate>
    <dc:creator>PreetiMaske</dc:creator>
    <dc:date>2025-01-14T00:13:37Z</dc:date>
    <item>
      <title>Deploy .NET WPF application</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/deploy-net-wpf-application/m-p/1574480#M13232</link>
      <description>&lt;P&gt;Hi I am using Visual Studio 2022 to build a .net wpf application using some online samples.&lt;/P&gt;&lt;P&gt;I have created a setup project and created an MSI, which I am trying to install on a Windows 10 machine.&lt;/P&gt;&lt;P&gt;I have Windows Desktop Runtime 8.07 (both 32 and 64 bit),&amp;nbsp;Visual C++ Redistributable 2015-2022 (both 32 and 64 bit), .net framework 4.8x installed&lt;/P&gt;&lt;P&gt;I have tried setting Target Platform as Any CPU or x86 or x64&lt;/P&gt;&lt;P&gt;I have installed the app. When running the app, it doesn't work. I am getting errors&amp;nbsp; in Event Viewer:&lt;/P&gt;&lt;P&gt;Has anyone come across similar issues. Any suggestions ?&lt;/P&gt;&lt;P&gt;I previously tried using Click Once. This works, but app is not installed in standard folder for all users.&lt;/P&gt;&lt;P&gt;Application: OfflineTrace.exe&lt;BR /&gt;CoreCLR Version: 8.0.1124.51707&lt;BR /&gt;.NET Version: 8.0.11&lt;BR /&gt;Description: The process was terminated due to an unhandled exception.&lt;BR /&gt;Exception Info: 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.&lt;BR /&gt;---&amp;gt; System.TypeInitializationException: The type initializer for 'Esri.ArcGISRuntime.UI.Controls.GeoView' threw an exception.&lt;BR /&gt;---&amp;gt; System.InvalidOperationException: Cannot initialize GeoView. Shaders not found in arcgisruntime200.3\resources\shaders&lt;BR /&gt;at Esri.ArcGISRuntime.UI.Controls.GeoView..cctor()&lt;BR /&gt;--- End of inner exception stack trace ---&lt;BR /&gt;at Esri.ArcGISRuntime.UI.Controls.GeoView.GetInitialDpi()&lt;BR /&gt;at Esri.ArcGISRuntime.UI.Controls.MapView.CreateCoreMapView()&lt;BR /&gt;at Esri.ArcGISRuntime.UI.Controls.MapView..ctor()&lt;BR /&gt;at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)&lt;BR /&gt;--- End of inner exception stack trace ---&lt;BR /&gt;at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)&lt;BR /&gt;at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)&lt;BR /&gt;at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)&lt;BR /&gt;at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)&lt;BR /&gt;at System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc)&lt;BR /&gt;at System.Windows.Application.LoadComponent(Uri resourceLocator, Boolean bSkipJournaledProperties)&lt;BR /&gt;at System.Windows.Application.DoStartup()&lt;BR /&gt;at System.Windows.Application.&amp;lt;.ctor&amp;gt;b__1_0(Object unused)&lt;BR /&gt;at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)&lt;BR /&gt;at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)&lt;BR /&gt;at System.Windows.Threading.DispatcherOperation.InvokeImpl()&lt;BR /&gt;at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)&lt;BR /&gt;at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)&lt;BR /&gt;at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)&lt;BR /&gt;--- End of stack trace from previous location ---&lt;BR /&gt;at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)&lt;BR /&gt;at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)&lt;BR /&gt;at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)&lt;BR /&gt;at System.Windows.Threading.DispatcherOperation.Invoke()&lt;BR /&gt;at System.Windows.Threading.Dispatcher.ProcessQueue()&lt;BR /&gt;at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean&amp;amp; handled)&lt;BR /&gt;at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean&amp;amp; handled)&lt;BR /&gt;at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)&lt;BR /&gt;at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)&lt;BR /&gt;at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)&lt;BR /&gt;at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)&lt;BR /&gt;at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)&lt;BR /&gt;at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG&amp;amp; msg)&lt;BR /&gt;at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)&lt;BR /&gt;at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)&lt;BR /&gt;at System.Windows.Threading.Dispatcher.Run()&lt;BR /&gt;at System.Windows.Application.RunDispatcher(Object ignore)&lt;BR /&gt;at System.Windows.Application.RunInternal(Window window)&lt;BR /&gt;at System.Windows.Application.Run()&lt;BR /&gt;at OfflineTraceToolkit.App.Main()&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2025 19:46:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/deploy-net-wpf-application/m-p/1574480#M13232</guid>
      <dc:creator>JustinTrody</dc:creator>
      <dc:date>2025-01-10T19:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy .NET WPF application</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/deploy-net-wpf-application/m-p/1574486#M13234</link>
      <description>&lt;P&gt;Just adding also, I don't see&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;arcgisruntime200.3\resources\shaders on my install folder. Am I missing something obvious here. The app works fine when run in VS 2022 Community.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1052"&gt;@dotMorten_esri&lt;/a&gt;&amp;nbsp;, have you come across this before ? Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2025 19:58:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/deploy-net-wpf-application/m-p/1574486#M13234</guid>
      <dc:creator>JustinTrody</dc:creator>
      <dc:date>2025-01-10T19:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy .NET WPF application</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/deploy-net-wpf-application/m-p/1574490#M13235</link>
      <description>&lt;P&gt;That definitely indicates an issue with deployment and would also explain the above error. Do you happen to have a small simple project you can share that reproduces the issue? I wonder if it's some sort of project configuration issue.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2025 20:05:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/deploy-net-wpf-application/m-p/1574490#M13235</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2025-01-10T20:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy .NET WPF application</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/deploy-net-wpf-application/m-p/1574525#M13236</link>
      <description>&lt;P&gt;Thanks. I'll try a with small project and share. Is there a documentation on how to deploy an app using ArcGIS .net SDK using Setup project. i.e. what are the dependencies etc&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2025 20:40:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/deploy-net-wpf-application/m-p/1574525#M13236</guid>
      <dc:creator>JustinTrody</dc:creator>
      <dc:date>2025-01-10T20:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy .NET WPF application</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/deploy-net-wpf-application/m-p/1574591#M13237</link>
      <description>&lt;OL&gt;&lt;LI&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1052"&gt;@dotMorten_esri&lt;/a&gt;&amp;nbsp;, I have a small project created in VS 2022 to reproduce the issue . Please let me know how I can share project&lt;BR /&gt;CoreCLR Version: 8.0.1124.51707&lt;BR /&gt;.NET Version: 8.0.11&lt;BR /&gt;Description: The process was terminated due to an unhandled exception.&lt;BR /&gt;Exception Info: 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.&lt;BR /&gt;---&amp;gt; System.TypeInitializationException: The type initializer for 'Esri.ArcGISRuntime.UI.Controls.GeoView' threw an exception.&lt;BR /&gt;---&amp;gt; System.InvalidOperationException: Cannot initialize GeoView. Shaders not found in arcgisruntime200.3\resources\shaders&lt;BR /&gt;at Esri.ArcGISRuntime.UI.Controls.GeoView..cctor()&lt;BR /&gt;--- End of inner exception stack trace ---&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2025 23:15:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/deploy-net-wpf-application/m-p/1574591#M13237</guid>
      <dc:creator>JustinTrody</dc:creator>
      <dc:date>2025-01-10T23:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy .NET WPF application</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/deploy-net-wpf-application/m-p/1574724#M13239</link>
      <description>&lt;P&gt;I have this resolved now. Setup was missing the ArcGISRuntime folder. This is required. Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2025 08:23:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/deploy-net-wpf-application/m-p/1574724#M13239</guid>
      <dc:creator>JustinTrody</dc:creator>
      <dc:date>2025-01-13T08:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy .NET WPF application</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/deploy-net-wpf-application/m-p/1575186#M13241</link>
      <description>&lt;P&gt;Hi Justin,&lt;/P&gt;&lt;P&gt;We are curious to try this approach in house. Would like to know what tool you are using to generate the .msi or the final setup project?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2025 00:13:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/deploy-net-wpf-application/m-p/1575186#M13241</guid>
      <dc:creator>PreetiMaske</dc:creator>
      <dc:date>2025-01-14T00:13:37Z</dc:date>
    </item>
  </channel>
</rss>

