<?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 ArcGIS Add-Ins Wizard creates static classes - Really? in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-add-ins-wizard-creates-static-classes/m-p/438650#M11872</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello folks. I am having a fairly difficult time with just completing the Add-in walkthrough using the recommended VS Express edition. This with a lot of VBA and VB6, ArcObjects experience under my belt.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Quoting from the Building custom Add-ins walkthrough:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The&amp;nbsp; ArcGIS Add-Ins Wizard creates static classes depending on the&amp;nbsp; customizations in your add-in in the config.designer.cs file. Since&amp;nbsp; you're building an ArcMap component, the add-in template generated an&amp;nbsp; ArcMap class with several static members???such as Application and&amp;nbsp; Document???for you to use.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It does not create the ArcMap class (as shown in the walktrough) when using the &lt;/SPAN&gt;&lt;STRONG&gt;Express &lt;/STRONG&gt;&lt;SPAN&gt;edition. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any workaround for that?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Oct 2010 13:04:21 GMT</pubDate>
    <dc:creator>JakubSisak</dc:creator>
    <dc:date>2010-10-26T13:04:21Z</dc:date>
    <item>
      <title>ArcGIS Add-Ins Wizard creates static classes - Really?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-add-ins-wizard-creates-static-classes/m-p/438650#M11872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello folks. I am having a fairly difficult time with just completing the Add-in walkthrough using the recommended VS Express edition. This with a lot of VBA and VB6, ArcObjects experience under my belt.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Quoting from the Building custom Add-ins walkthrough:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The&amp;nbsp; ArcGIS Add-Ins Wizard creates static classes depending on the&amp;nbsp; customizations in your add-in in the config.designer.cs file. Since&amp;nbsp; you're building an ArcMap component, the add-in template generated an&amp;nbsp; ArcMap class with several static members???such as Application and&amp;nbsp; Document???for you to use.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It does not create the ArcMap class (as shown in the walktrough) when using the &lt;/SPAN&gt;&lt;STRONG&gt;Express &lt;/STRONG&gt;&lt;SPAN&gt;edition. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any workaround for that?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Oct 2010 13:04:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-add-ins-wizard-creates-static-classes/m-p/438650#M11872</guid>
      <dc:creator>JakubSisak</dc:creator>
      <dc:date>2010-10-26T13:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Add-Ins Wizard creates static classes - Really?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-add-ins-wizard-creates-static-classes/m-p/438651#M11873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Same problem here. I'm using VS2008 Standard, with SP1 for ArcGIS Desktop and the .NET SDK.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Dec 2010 14:51:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-add-ins-wizard-creates-static-classes/m-p/438651#M11873</guid>
      <dc:creator>PhilMorefield</dc:creator>
      <dc:date>2010-12-02T14:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Add-Ins Wizard creates static classes - Really?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-add-ins-wizard-creates-static-classes/m-p/438652#M11874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;... config.designer.cs file. ...&lt;BR /&gt;&lt;BR /&gt;It does not create the ArcMap class (as shown in the walktrough) when using the &lt;STRONG&gt;Express &lt;/STRONG&gt;edition. &lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since you mention a *.CS file, I will assume you are using VS C# 2008 Express. I am using the same.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you look in the Solution Explorer for your Add-in project, you should see "Config.esriaddinx".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you expand that entry's tree, you should find "Config.Designer.cs" under it, which contains the static classes as described.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Dec 2010 16:06:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-add-ins-wizard-creates-static-classes/m-p/438652#M11874</guid>
      <dc:creator>JeffreyHamblin</dc:creator>
      <dc:date>2010-12-02T16:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Add-Ins Wizard creates static classes - Really?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-add-ins-wizard-creates-static-classes/m-p/438653#M11875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just to clarify, I'm &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;not&lt;/SPAN&gt;&lt;SPAN&gt; working C#. Just plain 'ol VB. In my case, "Config.esriaddinx" cannot be expanded. I had to modify a few things to make the walkthrough work. For example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;ZoomToActiveLayerInTOC(TryCast(ArcMap.Application.Document, IMxDocument))&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;should be&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;ZoomToActiveLayerInTOC(TryCast(My.ArcMap.Application.Document, IMxDocument))&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;simpleMarkerSymbol.Style = esriSimpleMarkerStyle.esriSMSCircle&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;should be&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;simpleMarkerSymbol.Style = ESRI.ArcGIS.Display.esriSimpleMarkerStyle.esriSMSCircle&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm very new to VB and VS2008 so I'm actually not sure about everything going on here. But it works.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Dec 2010 17:38:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-add-ins-wizard-creates-static-classes/m-p/438653#M11875</guid>
      <dc:creator>PhilMorefield</dc:creator>
      <dc:date>2010-12-02T17:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Add-Ins Wizard creates static classes - Really?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-add-ins-wizard-creates-static-classes/m-p/438654#M11876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ever find a solution to this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm having a similar problem.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using VS2010 and the Add-in Wizard creates the static ArcMap class when using the template for creating a C# Add-in, but does not create the static ArcMap class when using the VB template.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Dec 2010 16:13:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-add-ins-wizard-creates-static-classes/m-p/438654#M11876</guid>
      <dc:creator>MartinLewis</dc:creator>
      <dc:date>2010-12-22T16:13:22Z</dc:date>
    </item>
  </channel>
</rss>

