.NET

.NET

Reply
Active Member
shunta17
Posts: 6
Registered: ‎06-24-2011
Message 1 of 3 (219 Views)

Signed version of the acdbmgd assembly (RealDWG 2010)

219 Views, 2 Replies
06-27-2011 09:22 PM

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?

ADN Support Specialist
adam.nagy
Posts: 559
Registered: ‎03-26-2007
Message 2 of 3 (198 Views)

Re: Signed version of the acdbmgd assembly (RealDWG 2010)

06-28-2011 11:53 AM in reply to: shunta17

Hi there,

 

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

or

- Sign your assembly with Authenticode signature and configure to trust the 'publisher'.

<<<<<

I hope this helps.

 

Adam Nagy

Autodesk



Adam Nagy
Developer Technical Services
Autodesk Developer Network
Active Member
shunta17
Posts: 6
Registered: ‎06-24-2011
Message 3 of 3 (186 Views)

Re: Signed version of the acdbmgd assembly (RealDWG 2010)

06-28-2011 03:44 PM in reply to: adam.nagy

Hi Adam,

 

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 :smileywink:.

 

Thanks and Regards,

Sean Hunter

Onset Design

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.