In 2017, Autodesk really wants developers to sign their DLLs (http://thebuildingcoder.typepad.com/blog/2016/04/whats-new-in-the-revit-2017-api.html#2.4)
If you don’t, Revit will show this scary dialog on startup
Dealing with this was a fairly annoying process, so to hopefully make it easier for others, here is what I did.
- Bought a 5 year certificate from http://codesigning.ksoftware.net/ for $365
- Sent them a bunch of documentation to prove that I am who I say I am (including signing up for a free listing at http://www.yellowpages.com/allston-ma/mip/boost-your-bim-526332700?lid=526332700)
- Got my “certificate” and generated a PFX file (if you have questions about this step, post in the comments and I will add more info)
- Added this to the Visual Studio post build event
“C:\Program Files (x86)\Windows Kits\8.0\bin\x64\signtool.exe” sign /f “C:\Users\harry_000\Documents\Boost Your BIM\BoostYourBIM.pfx” /t “http://timestamp.comodoca.com/authenticode” /p <password> /v $(TargetPath)
The result is that the DLL has a signature as shown below.