<?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 Cannot add .NET command to ArcCatalog (ArcGIS 9.2) in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/cannot-add-net-command-to-arccatalog-arcgis-9-2/m-p/51750#M1371</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I created a .NET dll for a command in ArcCatalog with VS 2008.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I registered it on the computer without problems using RegAsm.exe: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG&gt;regasm.exe&amp;nbsp; xxx.dll /tlb /codebase&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem arises when I want to add the command in ArcCatalog using the "Add from file" button on the Customize Dialog Box: The xxx.tlb file can be located but then the following error appears: No new object added.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Trying to install it using the Categories.exe, the component is found in the .NET Category, but instead of having the path to the dll, there's the following message: "File not found: mscoree.dll". Is this a problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Adding the component (xxx.tlb file) directly in the ESRI Gx Commands does not resolve my probem either.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried to unregister/re-register several times, even rebooting the machine, but nothing helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anybody have a clue on what the problem is??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Isabella&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Apr 2011 14:54:30 GMT</pubDate>
    <dc:creator>IsabellaPacchiani</dc:creator>
    <dc:date>2011-04-07T14:54:30Z</dc:date>
    <item>
      <title>Cannot add .NET command to ArcCatalog (ArcGIS 9.2)</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/cannot-add-net-command-to-arccatalog-arcgis-9-2/m-p/51750#M1371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I created a .NET dll for a command in ArcCatalog with VS 2008.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I registered it on the computer without problems using RegAsm.exe: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG&gt;regasm.exe&amp;nbsp; xxx.dll /tlb /codebase&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem arises when I want to add the command in ArcCatalog using the "Add from file" button on the Customize Dialog Box: The xxx.tlb file can be located but then the following error appears: No new object added.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Trying to install it using the Categories.exe, the component is found in the .NET Category, but instead of having the path to the dll, there's the following message: "File not found: mscoree.dll". Is this a problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Adding the component (xxx.tlb file) directly in the ESRI Gx Commands does not resolve my probem either.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried to unregister/re-register several times, even rebooting the machine, but nothing helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anybody have a clue on what the problem is??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Isabella&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2011 14:54:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/cannot-add-net-command-to-arccatalog-arcgis-9-2/m-p/51750#M1371</guid>
      <dc:creator>IsabellaPacchiani</dc:creator>
      <dc:date>2011-04-07T14:54:30Z</dc:date>
    </item>
  </channel>
</rss>

