Search code examples
vb.netvisual-studiodllautocadautocad-plugin

My release dll is not working on other devices vb.net autocad


I am working on a project to make an Autocad addon for our engineering department. The project is nearly finished, but when I build the project and send the dll to my colleagues for them to add in autocad, it is not working for them. I can not seem to find a solution on the internet. - I am using Visual studio 2019 - Autocad 2020 - I make the dll's by releasing it on a x64 platform - They "netload" it in autocad and the commands that work on my device do not work on theirs

I hope somebody can help me, I am a self thought vb.net engineer for autocad, so I am not that experienced with the basics.


Solution

  • The signing thing should not be required - it works okay here. Some things to check:

    • in VS2019, did you set Copy -> false for the DLLs that are referenced ?
    • when the receiver of your DLL does a right-click on the DLL (in the file explorer), is there an option to unlock the file ? If so, unlock it
    • Use AnyCPU
    • I always distribute the Debug version, maybe give that a try ?
    • is there an error message that you can share ?