<?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: Open a mxd file without a WPF control in 10.3 in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/open-a-mxd-file-without-a-wpf-control-in-10-3/m-p/345340#M4045</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll mark that as an answer, but I need some clarification since I'm new to it.&amp;nbsp; When I try the StartAsync with the LocalMapService I get an error about not being able to find the RuntimeLocalServer.exe.&amp;nbsp; Do I need to distribute this with my program?&amp;nbsp; I found the exe with supporting dlls in the following paths (32/64bit):&lt;/P&gt;&lt;P&gt;C:\Program Files\ArcGIS SDKs\DotNet10.2.4\WindowsDesktop\bin\arcgisruntime10.2.4\LocalServer32\bin&lt;/P&gt;&lt;P&gt;C:\Program Files\ArcGIS SDKs\DotNet10.2.4\WindowsDesktop\bin\arcgisruntime10.2.4\LocalServer64\bin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF you want me to make a new discussion related to this, let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Jan 2015 15:27:11 GMT</pubDate>
    <dc:creator>MarkOberg</dc:creator>
    <dc:date>2015-01-30T15:27:11Z</dc:date>
    <item>
      <title>Open a mxd file without a WPF control in 10.3</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/open-a-mxd-file-without-a-wpf-control-in-10-3/m-p/345338#M4043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do I open a mxd file to read names of the feature layers without a WPF control?&amp;nbsp; In previous versions I used the ESRI.ArcGIS.Carto.MapDocumentClass to open the mxd then looped thru the feature layers using the ESRI.ArcGIS.Carto.IFeatureLayer guid.&lt;/P&gt;&lt;P&gt;Example code (VB.NET):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dim objMap As ESRI.ArcGIS.Carto.IMapDocument = New ESRI.ArcGIS.Carto.MapDocumentClass&lt;/P&gt;&lt;P&gt;objMap.Open(MXDPath)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dim pUID As ESRI.ArcGIS.esriSystem.UID = New ESRI.ArcGIS.esriSystem.UID&lt;/P&gt;&lt;P&gt;pUID.Value = "{" &amp;amp; GetType(ESRI.ArcGIS.Carto.IFeatureLayer).GUID.ToString &amp;amp; "}"&lt;/P&gt;&lt;P&gt;Dim objLayers As ESRI.ArcGIS.Carto.IEnumLayer = objMap.ActiveView.FocusMap.Layers(pUID, True)&lt;/P&gt;&lt;P&gt;objLayers.Reset()&lt;/P&gt;&lt;P&gt;Dim objGenericLayer As ESRI.ArcGIS.Carto.ILayer = objLayers.Next&lt;/P&gt;&lt;P&gt;Do While objGenericLayer IsNot Nothing&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;If TypeOf objGenericLayer Is ESRI.ArcGIS.Carto.IFeatureLayer Then&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="line-height: 1.5;"&gt;Dim objLayer As ESRI.ArcGIS.Carto.IFeatureLayer = CType(objGenericLayer, ESRI.ArcGIS.Carto.IFeatureLayer)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;If objLayer.Selectable And objLayer.Visible Then&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;' Do Something with the selectable and visible feature layer&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;End If&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="line-height: 1.5;"&gt;End If&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;objGenericLayer = objLayers.Next&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;Loop&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 16:31:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/open-a-mxd-file-without-a-wpf-control-in-10-3/m-p/345338#M4043</guid>
      <dc:creator>MarkOberg</dc:creator>
      <dc:date>2015-01-29T16:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: Open a mxd file without a WPF control in 10.3</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/open-a-mxd-file-without-a-wpf-control-in-10-3/m-p/345339#M4044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no directly support for MXDs. We are working on being able to share maps across the ArcGIS platform (mobile, web, desktop...) but for now in order to access these layers you'll need to share your MXD as a Map Package (MPK) then start a LocalMapService from that MPK. You can then get the details of all the layers in the map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 09:01:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/open-a-mxd-file-without-a-wpf-control-in-10-3/m-p/345339#M4044</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2015-01-30T09:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: Open a mxd file without a WPF control in 10.3</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/open-a-mxd-file-without-a-wpf-control-in-10-3/m-p/345340#M4045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll mark that as an answer, but I need some clarification since I'm new to it.&amp;nbsp; When I try the StartAsync with the LocalMapService I get an error about not being able to find the RuntimeLocalServer.exe.&amp;nbsp; Do I need to distribute this with my program?&amp;nbsp; I found the exe with supporting dlls in the following paths (32/64bit):&lt;/P&gt;&lt;P&gt;C:\Program Files\ArcGIS SDKs\DotNet10.2.4\WindowsDesktop\bin\arcgisruntime10.2.4\LocalServer32\bin&lt;/P&gt;&lt;P&gt;C:\Program Files\ArcGIS SDKs\DotNet10.2.4\WindowsDesktop\bin\arcgisruntime10.2.4\LocalServer64\bin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF you want me to make a new discussion related to this, let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 15:27:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/open-a-mxd-file-without-a-wpf-control-in-10-3/m-p/345340#M4045</guid>
      <dc:creator>MarkOberg</dc:creator>
      <dc:date>2015-01-30T15:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: Open a mxd file without a WPF control in 10.3</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/open-a-mxd-file-without-a-wpf-control-in-10-3/m-p/345341#M4046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, you should right click your project and choose to add an arcgis runtime manifest from the context menu. Then double click the manifest to open the editor. On the list of options, make sure you choose LocalServer. When you build your project it will copy 32-bit and/or 64-bit deployments to your output folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It should all be covered in &lt;A href="https://developers.arcgis.com/net/desktop/guide/deployment.htm" title="https://developers.arcgis.com/net/desktop/guide/deployment.htm"&gt;Create an ArcGIS Runtime deployment—ArcGIS Runtime SDK for .NET | ArcGIS for Developers&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 09:52:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/open-a-mxd-file-without-a-wpf-control-in-10-3/m-p/345341#M4046</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2015-02-02T09:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: Open a mxd file without a WPF control in 10.3</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/open-a-mxd-file-without-a-wpf-control-in-10-3/m-p/345342#M4047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I attempted to follow those steps on a Windows 7 (x64 bit) Hyper-V VM with Visual Studio 2010 Professional and Visual Studio 2013 Express on it.&amp;nbsp; I know the SDK doesn't support 2010 anymore, but I don't get the context menus on the right-click at all.&amp;nbsp; I'll dive deeper into that when I get my code actually functioning.&amp;nbsp; Thanks for the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 14:47:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/open-a-mxd-file-without-a-wpf-control-in-10-3/m-p/345342#M4047</guid>
      <dc:creator>MarkOberg</dc:creator>
      <dc:date>2015-02-02T14:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Open a mxd file without a WPF control in 10.3</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/open-a-mxd-file-without-a-wpf-control-in-10-3/m-p/345343#M4048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you said, VS 2010 is not a supported IDE for our .NET SDK therefore the deployment tool is not available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/net/desktop/guide/system-requirements.htm" title="https://developers.arcgis.com/net/desktop/guide/system-requirements.htm"&gt;System requirements—ArcGIS Runtime SDK for .NET | ArcGIS for Developers&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 15:38:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/open-a-mxd-file-without-a-wpf-control-in-10-3/m-p/345343#M4048</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2015-02-02T15:38:53Z</dc:date>
    </item>
  </channel>
</rss>

