addfulltrust

N

nicho

I want to add my dll to the fulltrust list.
But before my dll could be strongname, I must make sure
that all libraries are strongname(for example,
kernel32.dll). What can I do if other libs are not
strongname?
 
J

Joe Kaplan \(MVP - ADSI\)

Basically, you can either strong name the dependent assemblies or not use
them.

Note that this only applies to managed assemblies that you reference.
Kernel32.dll (which you mentioned) isn't a .NET assembly nor is it a COM
object that you might have an interop wrapper assembly for, so you would
likely only be calling that via P/Invoke.

Note that you will need to apply the AllowPartiallyTrustedCallersAttribute
to your assembly if you plan to call it from any partially trusted code.

HTH,

Joe K.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top