title: SSIS 64bit Data Flow component
body: <p>I've created a custom component for SSIS by developing a 32bit class library(let's call it CustomComponent.dll). I'm developing in VS2015, targeting SQL Server 2017. This is fine all works as it should, i.e I can see the component in Visual Studio by doing the following steps:</p>
  <ul>
  <li>Copied the CustomComponent.dll to <code>&quot;C:\Program Files (x86)\Microsoft SQL Server\140\DTS\PipelineComponents&quot;</code></li>
  <li>Added the class library to the gac using <code>&quot;C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\gacutil.exe&quot; -i CustomComponent.dll</code></li>
  </ul>
  <p>The issue I have is that the custom component now has to be a 64 bit dll as there are references to 3rd party lib's which are 64 bit (these are also added to the gac, the 32 bit versions were also added). I've done the following:</p>
  <ul>
  <li>Removed the previous addition to the gac <code>&quot;C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\gacutil.exe&quot; -u CustomComponent</code></li>
  <li>Removed the CustomComponent.dll at <code>&quot;C:\Program Files (x86)\Microsoft SQL Server\140\DTS\PipelineComponents&quot;</code></li>
  <li>Used the gacutil under the x64 folder <code>&quot;C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\x64\gacutil.exe&quot; -i CustomComponent.dll</code></li>
  <li>Added the CustomComponent.dll to <code>&quot;C:\Program Files\Microsoft SQL Server\140\DTS\PipelineComponents&quot;</code></li>
  </ul>
  <p>But I can't see the component in VS.</p>
  <ul>
  <li>The above didn't work. I tried also copying the dll to <code>&quot;C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\gacutil.exe&quot;</code> still no luck.</li>
  </ul>
  <p>Any idea how to make this work to be able to view the component in the 64 bit dll? Perhaps a link that shows a walk through or an approach to try?</p>
  <p>This link shows a simple component. But if it were compiled to the equivalent 64bit dll targeting SQL 2017, I have the same problem:</p>
  <ul>
  <li><a href="https://www.red-gate.com/simple-talk/databases/sql-server/bi-sql-server/developing-a-custom-ssis-source-component/" rel="nofollow noreferrer">Developing a Custom SSIS Source Component</a></li>
  </ul>