<?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 sometimes generates empty ecfg files in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-sometimes-generates-empty-ecfg/m-p/690926#M18558</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Joakim-&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yeah, I noticed a garbage ECFG occasionally, but I haven't looked in months.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You don't need to follow ESRI's advice, and build the ECFG every time you run set-up on your build machine. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unless the GUIDs have changed, just build it once, put a (good) copy of the ECFG in another permanent folder, and add that (to source control and) as a resource to your project. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In your SetUp project, add the CATID folder to the 'File System on Target Machine', and just install the good old copy of ECFG that you saved as a resource, rather than the new ECFG that's created after each build.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope that helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Oct 2010 19:12:22 GMT</pubDate>
    <dc:creator>JonHall</dc:creator>
    <dc:date>2010-10-19T19:12:22Z</dc:date>
    <item>
      <title>ESRIRegAsm.exe sometimes generates empty ecfg files</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-sometimes-generates-empty-ecfg/m-p/690925#M18557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ESRIRegAsm.exe sometimes generates empty ecfg files. This happens when we are building one of our VS 2008 solution files on our build computer. It happens on different projects, and it happens on a mix of C++ and C# projects. When running ESRIRegAsm.exe from the command line it works fine on the same dll that failed when building the solution file. Attaching an empty ecfg file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ESRIRegAsm is called in the Post-Build Event for C++ projects and in Target AfterBuild for C# projects&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Post-Build Event:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"%CommonProgramFiles%\ArcGIS\bin\ESRIRegAsm.exe" "$(TargetPath)"&amp;nbsp; /v:10.0 /p:Desktop /s&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;AfterBuild Target:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Target Name="AfterBuild"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Exec WorkingDirectory="$(CommonProgramFiles)\ArcGIS\bin" Command="esriRegasm.exe &amp;amp;quot;$(TargetPath)&amp;amp;quot; /v:10.0 /p:Desktop /s" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/Target&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;System information:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcGIS Desktop 10.0.2414 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Windows Server 2008 R2 Standard&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Processor: Intel Xeon, L5430, 2.66GHz, 2 processors (8 cores)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;64-bit Operating System&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Oct 2010 13:58:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-sometimes-generates-empty-ecfg/m-p/690925#M18557</guid>
      <dc:creator>JoakimNilsson</dc:creator>
      <dc:date>2010-10-07T13:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: ESRIRegAsm.exe sometimes generates empty ecfg files</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-sometimes-generates-empty-ecfg/m-p/690926#M18558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Joakim-&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yeah, I noticed a garbage ECFG occasionally, but I haven't looked in months.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You don't need to follow ESRI's advice, and build the ECFG every time you run set-up on your build machine. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unless the GUIDs have changed, just build it once, put a (good) copy of the ECFG in another permanent folder, and add that (to source control and) as a resource to your project. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In your SetUp project, add the CATID folder to the 'File System on Target Machine', and just install the good old copy of ECFG that you saved as a resource, rather than the new ECFG that's created after each build.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope that helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Oct 2010 19:12:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-sometimes-generates-empty-ecfg/m-p/690926#M18558</guid>
      <dc:creator>JonHall</dc:creator>
      <dc:date>2010-10-19T19:12:22Z</dc:date>
    </item>
  </channel>
</rss>

