I am building a solution that needs to be signed using a SNK file pre-deployment. Building the solution in this way requires that all project dependecies be signed. Out of the box the acdbmgd assembly is not signed, and hence presents a problem.
Is there a signed version of [acdbmgd] assembly that that I can use to resolve this issue?
I found the following on the ADN site:
We do not provide strong named versions of AutoCAD .NET assemblies.
Thus, your assembly cannot have a strong name if it depends on AutoCAD assemblies.
However there are workarounds available:
- Instead of setting security policy for file you can set it for entire folder:
CasPol.exe -m -ag 1.2 -url "\\YourNetworkDrive\Path\*" FullTrust -name MYNAME
- Sign your assembly with Authenticode signature and configure to trust the 'publisher'.
I hope this helps.
Developer Technical Services
Autodesk Developer Network
Thank you for getting back to me on this. I'll try the work around in this case, but it's quite sub-optimal that no strong named assembly is provided since this is good practice when distributing framework DLLs. If you have the chance of raising this with the development team please do .
Thanks and Regards,