CAS syntax in manifest for creating Sharepoint WSP

J

JP

Hello everybody,

I have already posted this question in some other group but I have not
got any reply. I got some suggestion to post it here. Please help me
out.

I have an assembly which needs full trust. In the Manifest.xml of my
sharepoint solution I have something like this:
<CodeAccessSecurity>
<PolicyItem>
<PermissionSet class="NamedPermissionSet" version="1"
Name="myName">
<IPermission class="AspNetHostingPermission" version="1"
Level="Minimal" />
...
</PermissionSet>
<Assemblies>
<Assembly Name="my.assembly" Version="1.0.0.0"
PublicKeyBlob="..." />
</Assemblies>
</PolicyItem>
</CodeAccessSecurity>

How do I have to change this snipped to give the assembly full trust?

Any pointers will be highly appreciated.
 

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

Top