If the "Register for COM interop" is unchecked the projects builds without errors.
But I have to reference external ActiveX Interface in my project so I have to have that check-box checked. I am getting the build error:
Cannot register assembly "...\MyCustomArcMapAddIn.dll". Could not load file or assembly 'ESRI.ArcGIS.Desktop.AddIns, Version=10.1.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86' or one of its dependencies. The system cannot find the file specified.
Is there workaround here? Thanks