<?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 Base Commands Dll's not updated in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/base-commands-dll-s-not-updated/m-p/722980#M19281</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I develop on C# .NET 3.5 with ArcGis10.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I created&amp;nbsp; a desktop&amp;nbsp; baseToolBar / base Command DLL and registered it with the esriRegasm.exe" command."&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My&amp;nbsp; baseToolBar Dll ,has references to other dll's,and use their methods(as common.dll ,etc.) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, after I made changes in the&amp;nbsp; TB , unregister and again register it,&amp;nbsp; it doesn't recognize the changes in the Internal dll.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, if I change the&amp;nbsp; header of method&amp;nbsp; with one parameter&amp;nbsp; 'Func1(p1)'&amp;nbsp; to method&amp;nbsp; with two&amp;nbsp; parameters 'Func1(p1,p2)'&amp;nbsp;&amp;nbsp; , when calling from the&amp;nbsp; main dll to&amp;nbsp; 'Func1(p1,p2)'&amp;nbsp; it throws an error&amp;nbsp; that Func1 has&amp;nbsp; invalid number&amp;nbsp; of argument.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems that the previous version&amp;nbsp; of that dll , was not updated on the registration. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I found a temporary solution and not comfortable and not useable , that when&amp;nbsp; I remove the NORMAL.mxt of the ArcGis desktop , most of the times the problem is solved, but sure it can't be my permanent solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This problem started when we upgraded from ArcGis 9.3.1 to ArcGis 10.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank's.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jun 2012 10:03:22 GMT</pubDate>
    <dc:creator>ZiviKlein</dc:creator>
    <dc:date>2012-06-28T10:03:22Z</dc:date>
    <item>
      <title>Base Commands Dll's not updated</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/base-commands-dll-s-not-updated/m-p/722980#M19281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I develop on C# .NET 3.5 with ArcGis10.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I created&amp;nbsp; a desktop&amp;nbsp; baseToolBar / base Command DLL and registered it with the esriRegasm.exe" command."&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My&amp;nbsp; baseToolBar Dll ,has references to other dll's,and use their methods(as common.dll ,etc.) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, after I made changes in the&amp;nbsp; TB , unregister and again register it,&amp;nbsp; it doesn't recognize the changes in the Internal dll.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, if I change the&amp;nbsp; header of method&amp;nbsp; with one parameter&amp;nbsp; 'Func1(p1)'&amp;nbsp; to method&amp;nbsp; with two&amp;nbsp; parameters 'Func1(p1,p2)'&amp;nbsp;&amp;nbsp; , when calling from the&amp;nbsp; main dll to&amp;nbsp; 'Func1(p1,p2)'&amp;nbsp; it throws an error&amp;nbsp; that Func1 has&amp;nbsp; invalid number&amp;nbsp; of argument.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems that the previous version&amp;nbsp; of that dll , was not updated on the registration. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I found a temporary solution and not comfortable and not useable , that when&amp;nbsp; I remove the NORMAL.mxt of the ArcGis desktop , most of the times the problem is solved, but sure it can't be my permanent solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This problem started when we upgraded from ArcGis 9.3.1 to ArcGis 10.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank's.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2012 10:03:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/base-commands-dll-s-not-updated/m-p/722980#M19281</guid>
      <dc:creator>ZiviKlein</dc:creator>
      <dc:date>2012-06-28T10:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: Base Commands Dll's not updated</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/base-commands-dll-s-not-updated/m-p/722981#M19282</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;If you see the issue resolves upon deleting the Normal.mxt (thus creating a new Normal), that seems to me strange right now.&amp;nbsp; I do not see the connection between the Normal.mxt and the error that Func1 has invalid number of arguments.&amp;nbsp; The Normal.mxt remembers your preferences with regards to which toolbars you want to show, if you want to remove a certain command from a toolbar or menu.&amp;nbsp; So it may remember if you want to show your custom toolbar and commands the next time ArcMap launches, but that's it.&amp;nbsp; I wonder if a legacy custom component has not been unregistered properly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You mention the "problem started when we upgraded from ArcGis 9.3.1 to ArcGis 10", but it seems like the problem started when you "change the header of method with one parameter 'Func1(p1)' to method with two parameters 'Func1(p1,p2)'.&amp;nbsp; Such an error sounds to me like a generic C# or IDE error irrespective of ArcObjects or ArcGIS.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In which class is your Func1 method being defined?&amp;nbsp; Does this class represent any ArcMap framework component, e.g. a toolbar, command, menu, dockable window.&amp;nbsp; If not (e.g. common.cs or mySharedMethods.cs), that class does not register within any component category of ArcMap/ArcGIS Dekstop so I do not think that the issue is specific to ArcGIS Desktop.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Show us a little diagram or print-screen to help illustrate the problem.&amp;nbsp; I will be on vacation for the next 2 weeks but someone else may see the problem better with some type of illustration or code snippets.&amp;nbsp; Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 19:36:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/base-commands-dll-s-not-updated/m-p/722981#M19282</guid>
      <dc:creator>EdgarBejarano</dc:creator>
      <dc:date>2012-07-02T19:36:04Z</dc:date>
    </item>
  </channel>
</rss>

