title: Cannot register file or assembly after working on solution on different machine
body: <p>Visual Studio Community 2019. I sometimes work from home on the weekend (I know, I know!). When I do I commit my work and then sync from home. My project uses references to an installed program and I have an older version of that program installed at home. My project is run as admin and registers com as interop.</p>
  <p>I did some work at home and committed. I synced at work and now I am getting:</p>
  <blockquote>
  <p>Could not load file or assembly 'SolidWorks.Interop.swpublished,
  Version=28.1.0.74, Culture=neutral, PublicKeyToken=89a97bdc5284e6d8'
  or one of its dependencies. The system cannot find the file
  specified.    DispensingAddIn C:\Users\erics\source\repos\TestingEFClassLibrary\TestingEFClassLibrary\RegAsm</p>
  </blockquote>
  <p>I have removed all references to Solidworks and re-added them but that doesn't seem to help. I have also looked at <a href="https://docs.microsoft.com/en-us/visualstudio/ide/troubleshooting-broken-references?view=vs-2019" rel="nofollow noreferrer">this page</a>. None of those seem to fit my issue.I checked in the csproj file and the path to the references are correct but no version is called out.</p>
  <p>Questions:</p>
  <ol>
  <li>How do I resolve this issue to press on today?</li>
  <li>How to work in both places when the environment is different on two different machines?</li>
  </ol>