AnsweredAssumed Answered

Issue un registering addin. Exception de HRESULT : 0x80131040

Question asked by Jerome De San Nicolás on Jan 28, 2020
Latest reply on Jan 28, 2020 by Jerome De San Nicolás

Hi, I've got an issue when I try to unregister an addin.

I use this cmd to unreg it :


"%windir%\Microsoft.NET\Framework64\v4.0.30319\RegAsm.exe" /u "C:\MyAddin.dll"



but this give me the following error (rough translation from french) : 


RegAsm : error RA0000 : Cannot load file or assembly 'SolidWorks.Interop.swpublished, Version=, Culture=neutral, PublicKeyToken=89a97bdc5284e6d8' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception de HRESULT : 0x80131040)


But when I check the addin in visual studio I've got the goo version for SolidWorks.Interop.swpublished 



How can I fix this issue ? 


PS : I've got the same issue when trying to register the addin