<?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: EsriRegAsm.exe - creating *.ecfg files for Assemblies/Dlls on a build server in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-creating-ecfg-files-for-assemblies/m-p/139110#M3596</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Its Mike, you need to be using 3.5 framework, not 4 (that is not until release 10.1) from what I understood at the summit:&amp;nbsp; You can not be using 'any CPU' when compiling and sending off to a 64 bit run processor hence why i mentioned x86. You can no longer use RegASM as a means, hence why esri incorporated their own. If your stating your dlls are ANY CPU, you will see failures as you see.&amp;nbsp; You can verify this by hitting a 32 bit machine, and everything probably works.&amp;nbsp; Hence why unable to find 10.0 esri.arcGisSystem dll, because they are only 32 bit dlls&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you using .net 2010 professional or similar?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Which arc are you using? SP1 installed?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you tried contacting someone from ESRI?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you read &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/What_s_new_for_developers_at_10/0001000002zp000000/"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/What_s_new_for_developers_at_10/0001000002zp000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/ESRIRegAsm_utility/0001000004n6000000/"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/ESRIRegAsm_utility/0001000004n6000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The registration logic within existing libraries does not need to be rewritten (categories are still identified using globally unique identifiers [GUIDs]), but existing libraries must be re-registered with ESRIRegAsm.exe or they will not function with any installation of ArcGIS after version 9.3.1.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Apr 2011 13:57:53 GMT</pubDate>
    <dc:creator>MichaelRobb</dc:creator>
    <dc:date>2011-04-01T13:57:53Z</dc:date>
    <item>
      <title>EsriRegAsm.exe - creating *.ecfg files for Assemblies/Dlls on a build server</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-creating-ecfg-files-for-assemblies/m-p/139103#M3589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know if I'm the only tracking down this problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Assume that you have a build server (like hudson) and you like to build all your assemblies and dlls on this build server. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Note: on a build server there is NO ArcGIS installed! And we do not deploy with VisualStudio!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, does anyone have an idea, on how to create the registration files (*.ecfg), which will be deployed on the users machine. The suspicous "esriregasm.exe" tool does not work standalone, it seems, that ArcGIS has to be installed. Those *.ecfg files contain the category registration for ArcMap or what else. Without those files, the developed tools won't work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, any hints would be appreciated...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards from Switzerland...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2011 20:02:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-creating-ecfg-files-for-assemblies/m-p/139103#M3589</guid>
      <dc:creator>LorenzMeyer</dc:creator>
      <dc:date>2011-03-15T20:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: EsriRegAsm.exe - creating *.ecfg files for Assemblies/Dlls on a build server</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-creating-ecfg-files-for-assemblies/m-p/139104#M3590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi all&lt;BR /&gt;&lt;BR /&gt;I don't know if I'm the only tracking down this problem.&lt;BR /&gt;Assume that you have a build server (like hudson) and you like to build all your assemblies and dlls on this build server. &lt;BR /&gt;Note: on a build server there is NO ArcGIS installed! And we do not deploy with VisualStudio!&lt;BR /&gt;&lt;BR /&gt;So, does anyone have an idea, on how to create the registration files (*.ecfg), which will be deployed on the users machine. The suspicous "esriregasm.exe" tool does not work standalone, it seems, that ArcGIS has to be installed. Those *.ecfg files contain the category registration for ArcMap or what else. Without those files, the developed tools won't work.&lt;BR /&gt;&lt;BR /&gt;So, any hints would be appreciated...&lt;BR /&gt;&lt;BR /&gt;Regards from Switzerland...&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It was my understanding, from the Developer Summit, you must have a Licensed Product on the deploying machine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The option, that may not work as ESRI does not use Registry to listen for Component Categories Items anymore, was to deploy using for example, an MSI such as Advanced Installer and use RegSvr32 for example, to register the .dll.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;an XML file (config) is also created.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is some info here as well:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://blogs.esri.com/Dev/blogs/arcgisdesktop/"&gt;http://blogs.esri.com/Dev/blogs/arcgisdesktop/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2011 20:06:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-creating-ecfg-files-for-assemblies/m-p/139104#M3590</guid>
      <dc:creator>MichaelRobb</dc:creator>
      <dc:date>2011-03-15T20:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: EsriRegAsm.exe - creating *.ecfg files for Assemblies/Dlls on a build server</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-creating-ecfg-files-for-assemblies/m-p/139105#M3591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;It was my understanding, from the Developer Summit, you must have a Licensed Product on the deploying machine.&lt;BR /&gt;&lt;BR /&gt;The option, that may not work as ESRI does not use Registry to listen for Component Categories Items anymore, was to deploy using for example, an MSI such as Advanced Installer and use RegSvr32 for example, to register the .dll.&lt;BR /&gt;&lt;BR /&gt;an XML file (config) is also created.&lt;BR /&gt;There is some info here as well:&lt;BR /&gt;&lt;A href="http://blogs.esri.com/Dev/blogs/arcgisdesktop/"&gt;http://blogs.esri.com/Dev/blogs/arcgisdesktop/&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ESRI is no longer using the registry for the component category registration. They now generate those *.ecfg (xml in a zip file) with the EsriRegAsm.exe tool. Those file then have to be installed in the following folder: %Program files%\Common Files\ArcGIS\Desktop10.0\Configuration\CATID&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Our setup (installshield) copies those file to this location. We do not trigger the EsriRegAsm.exe tool in our setup.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;At the moment, those *.ecfg files are generated by a developer (ArcGIS installed) with the EsriRegAsm tool and then included into the setup (for deployment). What we like to do now, is to generate those files directly on a build server, so that no developer has to generate them manually. It can not be, that on a build server, a licensed ArcGIS has to be installed, only for generating those files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The other problem we have is, that we deploy our products against different ArcGIS versions, so we have to compile against different ArcGIS versions. The necessary libraries are all in the subversion system and we reference the libaries from this location. So installing ArcGIS on a build server is definitly not solution...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2011 09:07:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-creating-ecfg-files-for-assemblies/m-p/139105#M3591</guid>
      <dc:creator>LorenzMeyer</dc:creator>
      <dc:date>2011-03-16T09:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: EsriRegAsm.exe - creating *.ecfg files for Assemblies/Dlls on a build server</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-creating-ecfg-files-for-assemblies/m-p/139106#M3592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I generated a number of these early in the 9.4 beta cycle for my VB6 projects.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The files are nothing more than xml configuration files in a renamed zip file.&amp;nbsp; Just rename the ecfg to zip and then unpack them to discover the format.&amp;nbsp; Once you know the format then you can generate them yourself.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2011 17:02:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-creating-ecfg-files-for-assemblies/m-p/139106#M3592</guid>
      <dc:creator>RichardWatson</dc:creator>
      <dc:date>2011-03-16T17:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: EsriRegAsm.exe - creating *.ecfg files for Assemblies/Dlls on a build server</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-creating-ecfg-files-for-assemblies/m-p/139107#M3593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There appears to be a weird file not found error occuring on some custom DLL's&amp;nbsp; when EsriRegAsm is being executed on Windows 7 x64. I believe ESRIRegAsm is loading Framework 4's 64bit RegAsm which in turn can't find the ESRI Framework 2.0 32bit dlls. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I say this because, when I modified&amp;nbsp; C:\Program Files (x86)\Common Files\ArcGIS\bin\ESRIRegAsm.exe.config&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;from this&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;startup useLegacyV2RuntimeActivationPolicy="true"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;supportedRuntime version="v4.0"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;supportedRuntime version="v2.0.50727"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;/startup&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;to this&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;startup useLegacyV2RuntimeActivationPolicy="true"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;lt;supportedRuntime version="v2.0.50727"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/startup&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ESRIRegAsm.exe worked...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also anybody thinking they can avoid using EsriRegAsm by using IComponentCategoryManager. Don't waste your time.&amp;nbsp; IComponentCategoryManager does NOT register in the ecfg file. It puts it in COM!&amp;nbsp;&amp;nbsp; ESRI, it would be nice if there was a IComponentCategory2 that could read and write the ecfg's correctly.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2011 01:40:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-creating-ecfg-files-for-assemblies/m-p/139107#M3593</guid>
      <dc:creator>GeraldMarbury</dc:creator>
      <dc:date>2011-04-01T01:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: EsriRegAsm.exe - creating *.ecfg files for Assemblies/Dlls on a build server</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-creating-ecfg-files-for-assemblies/m-p/139108#M3594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;There appears to be a weird file not found error occuring on some custom DLL's&amp;nbsp; when EsriRegAsm is being executed on Windows 7 x64. I believe ESRIRegAsm is loading Framework 4's 64bit RegAsm which in turn can't find the ESRI Framework 2.0 32bit dlls. &lt;BR /&gt;&lt;BR /&gt;I say this because, when I modified&amp;nbsp; C:\Program Files (x86)\Common Files\ArcGIS\bin\ESRIRegAsm.exe.config&lt;BR /&gt; &lt;BR /&gt;from this&lt;BR /&gt;&lt;BR /&gt;&amp;lt;startup useLegacyV2RuntimeActivationPolicy="true"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;supportedRuntime version="v4.0"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;supportedRuntime version="v2.0.50727"/&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/startup&amp;gt;&lt;BR /&gt;&lt;BR /&gt;to this&lt;BR /&gt;&lt;BR /&gt;&amp;lt;startup useLegacyV2RuntimeActivationPolicy="true"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;supportedRuntime version="v2.0.50727"/&amp;gt;&lt;BR /&gt;&amp;lt;/startup&amp;gt;&lt;BR /&gt;&lt;BR /&gt;ESRIRegAsm.exe worked...&lt;BR /&gt;&lt;BR /&gt;Also anybody thinking they can avoid using EsriRegAsm by using IComponentCategoryManager. Don't waste your time.&amp;nbsp; IComponentCategoryManager does NOT register in the ecfg file. It puts it in COM!&amp;nbsp;&amp;nbsp; ESRI, it would be nice if there was a IComponentCategory2 that could read and write the ecfg's correctly.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When you compile, because objects are still 32 bit, you must choose x86 as a CPU, not using 'ANY', otherwise, it will as you stated, your program dll will look for 64 bit files that don't exist.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2011 01:45:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-creating-ecfg-files-for-assemblies/m-p/139108#M3594</guid>
      <dc:creator>MichaelRobb</dc:creator>
      <dc:date>2011-04-01T01:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: EsriRegAsm.exe - creating *.ecfg files for Assemblies/Dlls on a build server</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-creating-ecfg-files-for-assemblies/m-p/139109#M3595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;When you compile, because objects are still 32 bit, you must choose x86 as a CPU, not using 'ANY', otherwise, it will as you stated, your program dll will look for 64 bit files that don't exist.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nice try Robb, I appeciate the quick response. I tried this and it still it didn't work. Like I said, what's weird is all my DLL's are "Any CPU" and some of them work, and some of them don't. The other interesting tidbit is since I made the change you suggested, although it does not create the ecfg files&amp;nbsp; the error from RegAsm is not consistent with the error from&amp;nbsp; EsriRegAsm. Now the 64bit RegAsm on the machine are raising &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"Failed to load XXXXXX because it is not a valid .NET assembly" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;where RegAsm used to say&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"Could not load file or assembly 'ESRI.ArcGIS.System, Ver&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sion=10.0.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86' or one of its dependencies. The system cannot find the file specified.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe [DLL PATH HERE] and&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;v/s &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\RegAsm.exe [DLL PATH HERE] &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but the EsriRegAsm doesn't mention "Fail to load", it's still says "cannot find the file"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Excerpt of EsriRegAsm.exe output&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;**********************************&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ESRIRegAsm::Register&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Command line: "[DLL PATH HERE]" /p Desktop /e&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Registry Capture On.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Registering managed library...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Managed Exception: The system cannot find the file specified. (Exception from&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;HRESULT: 0x80070002)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Registry Capture Off.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Operation Failed&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;04C10848&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;**********************************&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2011 03:16:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-creating-ecfg-files-for-assemblies/m-p/139109#M3595</guid>
      <dc:creator>GeraldMarbury</dc:creator>
      <dc:date>2011-04-01T03:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: EsriRegAsm.exe - creating *.ecfg files for Assemblies/Dlls on a build server</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-creating-ecfg-files-for-assemblies/m-p/139110#M3596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Its Mike, you need to be using 3.5 framework, not 4 (that is not until release 10.1) from what I understood at the summit:&amp;nbsp; You can not be using 'any CPU' when compiling and sending off to a 64 bit run processor hence why i mentioned x86. You can no longer use RegASM as a means, hence why esri incorporated their own. If your stating your dlls are ANY CPU, you will see failures as you see.&amp;nbsp; You can verify this by hitting a 32 bit machine, and everything probably works.&amp;nbsp; Hence why unable to find 10.0 esri.arcGisSystem dll, because they are only 32 bit dlls&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you using .net 2010 professional or similar?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Which arc are you using? SP1 installed?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you tried contacting someone from ESRI?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you read &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/What_s_new_for_developers_at_10/0001000002zp000000/"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/What_s_new_for_developers_at_10/0001000002zp000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/ESRIRegAsm_utility/0001000004n6000000/"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/ESRIRegAsm_utility/0001000004n6000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The registration logic within existing libraries does not need to be rewritten (categories are still identified using globally unique identifiers [GUIDs]), but existing libraries must be re-registered with ESRIRegAsm.exe or they will not function with any installation of ArcGIS after version 9.3.1.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2011 13:57:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-creating-ecfg-files-for-assemblies/m-p/139110#M3596</guid>
      <dc:creator>MichaelRobb</dc:creator>
      <dc:date>2011-04-01T13:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: EsriRegAsm.exe - creating *.ecfg files for Assemblies/Dlls on a build server</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-creating-ecfg-files-for-assemblies/m-p/139111#M3597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;1) "Any" minny miny moe: When creating ArcGIS desktop extensions it doesn't matter which platform you use because ArcMAP/ArcCatalog with be the process and it is x86. Eitherway I tried the x86 option too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Why RegAsm: The only reason I used RegAsm was to try to debug what was going wrong with ESRIRegAsm. ESRIRegAsm registers the assembly and listens for COM writes to the registry. I figured if RegAsm was having problems too, the problem was not in ESRIRegAsm&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3) Are you using .net 2010 professional or similar? VS2008&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4) Which arc are you using? SP1 installed? ArcGIS 10 sp1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5) Have you tried contacting someone from ESRI? Not yet, I was hoping somebody was watching this blog. I'm currently working on a way to write the xml file myself and pass it to ESRIRegAsm.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;6) Have you read &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/a...00002zp000000/"&gt;http://help.arcgis.com/en/sdk/10.0/a...00002zp000000/&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/a...00004n6000000/"&gt;http://help.arcgis.com/en/sdk/10.0/a...00004n6000000/&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;LOL--Of course many, many times. Even when back to 9.4 version to see what changed. .&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Thanks for your help Mike (Sorry O called you Robb)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2011 17:32:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-creating-ecfg-files-for-assemblies/m-p/139111#M3597</guid>
      <dc:creator>GeraldMarbury</dc:creator>
      <dc:date>2011-04-01T17:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: EsriRegAsm.exe - creating *.ecfg files for Assemblies/Dlls on a build server</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-creating-ecfg-files-for-assemblies/m-p/139112#M3598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When you have assemblies that will not load then:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;OL&gt;&lt;BR /&gt;&lt;LI&gt;Use &lt;A href="http://reflector.red-gate.com"&gt;Reflector&lt;/A&gt; and walk the references.&amp;nbsp; Using it sort of like the old Depends utility if you are old school.&amp;nbsp; Unfortunately, RedGate charges for it now but it is worth it!&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Use the fuslogvw utility.&amp;nbsp; Make sure to explicitly set a custom directory.&lt;/LI&gt;&lt;BR /&gt;&lt;/OL&gt;&lt;BR /&gt;&lt;SPAN&gt;How .NET finds and loads assemblies is complex.&amp;nbsp; Oh how I miss the good-old-days of PATH:)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2011 21:56:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-creating-ecfg-files-for-assemblies/m-p/139112#M3598</guid>
      <dc:creator>RichardWatson</dc:creator>
      <dc:date>2011-04-01T21:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: EsriRegAsm.exe - creating *.ecfg files for Assemblies/Dlls on a build server</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-creating-ecfg-files-for-assemblies/m-p/139113#M3599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;When you have assemblies that will not load then:&lt;BR /&gt;&lt;BR /&gt;&lt;OL&gt;&lt;BR /&gt;&lt;LI&gt;Use &lt;A href="http://reflector.red-gate.com"&gt;Reflector&lt;/A&gt; and walk the references.&amp;nbsp; Using it sort of like the old Depends utility if you are old school.&amp;nbsp; Unfortunately, RedGate charges for it now but it is worth it!&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Use the fuslogvw utility.&amp;nbsp; Make sure to explicitly set a custom directory.&lt;/LI&gt;&lt;BR /&gt;&lt;/OL&gt;&lt;BR /&gt;How .NET finds and loads assemblies is complex.&amp;nbsp; Oh how I miss the good-old-days of PATH:)&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;tried fuslogvw&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;*** Assembly Binder Log Entry&amp;nbsp; (4/4/2011 @ 3:19:11 PM) ***&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The operation failed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bind result: hr = 0x80070002. The system cannot find the file specified.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Assembly manager loaded from:&amp;nbsp; C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Running under executable&amp;nbsp; c:\Program files (x86)\Common Files\ArcGIS\bin\ESRIRegAsm.exe&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;--- A detailed error log follows. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;=== Pre-bind state information ===&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LOG: User = Win7Test64\Tester&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LOG: DisplayName = msvcm90, Version=9.0.30729.4940, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; (Fully-specified)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LOG: Appbase = file:///C:/Program Files (x86)/Common Files/ArcGIS/bin/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LOG: Initial PrivatePath = NULL&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LOG: Dynamic Base = NULL&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LOG: Cache Base = NULL&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LOG: AppName = ESRIRegAsm.exe&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Calling assembly : (Unknown).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;===&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LOG: This bind starts in default load context.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LOG: Using application configuration file: C:\Program Files (x86)\Common Files\ArcGIS\bin\ESRIRegAsm.exe.Config&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LOG: Using host configuration file: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LOG: Post-policy reference: msvcm90, Version=9.0.30729.4940, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LOG: GAC Lookup was unsuccessful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LOG: Attempting download of new URL file:///C:/Program Files (x86)/Common Files/ArcGIS/bin/msvcm90.DLL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LOG: Attempting download of new URL file:///C:/Program Files (x86)/Common Files/ArcGIS/bin/msvcm90/msvcm90.DLL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LOG: Attempting download of new URL file:///C:/Program Files (x86)/Common Files/ArcGIS/bin/msvcm90.EXE.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LOG: Attempting download of new URL file:///C:/Program Files (x86)/Common Files/ArcGIS/bin/msvcm90/msvcm90.EXE.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LOG: All probing URLs attempted and failed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2011 18:21:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-creating-ecfg-files-for-assemblies/m-p/139113#M3599</guid>
      <dc:creator>GeraldMarbury</dc:creator>
      <dc:date>2011-04-04T18:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: EsriRegAsm.exe - creating *.ecfg files for Assemblies/Dlls on a build server</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-creating-ecfg-files-for-assemblies/m-p/139114#M3600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;msvcm90 appears to be part of the C++ redistributable runtime.&amp;nbsp; If your software has a dependency on components which are not part of the OS and are not required by ESRI then you must redistribute them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Google on "redistribute msvcm90".&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2011 18:29:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-creating-ecfg-files-for-assemblies/m-p/139114#M3600</guid>
      <dc:creator>RichardWatson</dc:creator>
      <dc:date>2011-04-04T18:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: EsriRegAsm.exe - creating *.ecfg files for Assemblies/Dlls on a build server</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-creating-ecfg-files-for-assemblies/m-p/139115#M3601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;:)I had no "Visible" dependencies on msvcm90. However, I was using Dotfuscator to link and obfuscate my assemblies. It appears the problem went away when a changed the setting "Emit Debugging Symbols" from "JIT Optimization; Sequence Points from MSIL".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Theory: To emit debugging symbols, the assembly must be somehow tightly coupled with the 2.0 runtime, namely msvcm90.dll (although not visible via Reflector). When the 4.0 runtime was started via the "supportedRuntime version" tag in the ESRIRegAsm.config it had a reference to msvcm100 not msvcm90, thus causing the file not found error. This also explains why altering the config file of ESRIRegAsm got around the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I put all this is here so the next poor soul will not waste their time too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Happy hunting..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2011 02:47:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-creating-ecfg-files-for-assemblies/m-p/139115#M3601</guid>
      <dc:creator>GeraldMarbury</dc:creator>
      <dc:date>2011-04-05T02:47:53Z</dc:date>
    </item>
  </channel>
</rss>

