.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Signed version of the acdbmgd assembly (RealDWG 2010)

2 REPLIES 2
Reply
Message 1 of 3
shunta17
410 Views, 2 Replies

Signed version of the acdbmgd assembly (RealDWG 2010)

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?

2 REPLIES 2
Message 2 of 3
adam.nagy
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
Autodesk Platform Services
Message 3 of 3
shunta17
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 Smiley Wink.

 

Thanks and Regards,

Sean Hunter

Onset Design

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost