<?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: Issue Deploying Application in ArcGIS Runtime SDK for WPF (Retired) Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/issue-deploying-application/m-p/382887#M1889</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is quite embarrassing... The department that set up my computer installed our CMS in two different directories with half of the application pointing to Program Files\ and the other half pointing to Program Files (x86)\ ... I put the WPFToolkit.dll in the wrong directory. &lt;span class="lia-unicode-emoji" title=":neutral_face:"&gt;😐&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Oct 2012 14:27:43 GMT</pubDate>
    <dc:creator>JustinHunter</dc:creator>
    <dc:date>2012-10-19T14:27:43Z</dc:date>
    <item>
      <title>Issue Deploying Application</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/issue-deploying-application/m-p/382885#M1887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure if this is the right place for this, as I'm not using the Runtime SDK for WPF, but the WPF SDK 2.4 that gives me about 5 libraries to do my work.&amp;nbsp; With that said, let me explain my problem.&amp;nbsp; We have an in-house built CMS system based on an extremely old programming language, and a colleague and myself have been tasked with upgrading our GIS system from 9.2 to 10.1. We have our server up and running, and now in order to provide the nice dynamic map we have to write it in .NET. Our CMS cannot communicate directly with .NET so we had to enable our class library for COM interop, and attach it that way. This is all fine and dandy, this isn't the first time we've done this to take advantage of .NET's ability to multithread and whatnot.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The project we made is a class library that has a WPF form in it that is the Esri map. The symbols we decide to use are PictureMarkerSymbol's. Our little test harness which is a console application that references this project can instantiate this form and display it no problem. However, when we call the class library from our CMS through COM, we get the following exception:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The tag 'VisualStateManager.VisualStateGroups' does not exist in the XML namespace 'clr-namespace:System.Windows;assembly=WPFToolkit'. Line '24' Position '5'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is only when it hits the line: PictureMarkerSymbol blueDotSymbol = (LayoutRoot.Resources["BlueDot"] as PictureMarkerSymbol);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's odd- the second time we display the map we do not get the exception but none of our symbols work. The map works fine, we can scroll around it and zoom in and out, etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I believe this issue is our lack of understanding of how WPF works, since we primarily use winforms instead, but I do not believe we can use winforms to display the dynamic map. We have tried making the map form into a WPF control and embedding it on a winform but we get the same issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hopefully someone can help. Without this functionality this will cancel our ability to upgrade to 10.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have the WPFToolkit installed&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 22:39:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/issue-deploying-application/m-p/382885#M1887</guid>
      <dc:creator>JustinHunter</dc:creator>
      <dc:date>2012-10-18T22:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: Issue Deploying Application</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/issue-deploying-application/m-p/382886#M1888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What version of .Net framework you are using with the application? One possible issue here is that, the reference between the WPFToolkits VisualStateManager (3.5 .Net framework) and 4.0 .NET frameworks VisualStateManager. When I last time used WPFToolkit in 4.0 project, I had to be sure that WPFTookit (and other assemblies it needed) were references in the main assembly. Actually I was not sure what exactly fixed the issue, but that move was my guess.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With fast googling I found this: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://forums.esri.com/Thread.asp?c=213&amp;amp;f=2456&amp;amp;t=286607" rel="nofollow" target="_blank"&gt;http://forums.esri.com/Thread.asp?c=213&amp;amp;f=2456&amp;amp;t=286607&lt;/A&gt;&lt;SPAN&gt; (check the last message atleast)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope it helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2012 04:57:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/issue-deploying-application/m-p/382886#M1888</guid>
      <dc:creator>AnttiKajanus1</dc:creator>
      <dc:date>2012-10-19T04:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: Issue Deploying Application</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/issue-deploying-application/m-p/382887#M1889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is quite embarrassing... The department that set up my computer installed our CMS in two different directories with half of the application pointing to Program Files\ and the other half pointing to Program Files (x86)\ ... I put the WPFToolkit.dll in the wrong directory. &lt;span class="lia-unicode-emoji" title=":neutral_face:"&gt;😐&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2012 14:27:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/issue-deploying-application/m-p/382887#M1889</guid>
      <dc:creator>JustinHunter</dc:creator>
      <dc:date>2012-10-19T14:27:43Z</dc:date>
    </item>
  </channel>
</rss>

