Hello everybody,

I am sorry, for posting out of topic question.


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.


Thanks
Jai Prakash

Re: CAS syntax in manifest for creating Sharepoint WSP by Mike

Mike
Fri Jul 25 11:07:06 CDT 2008

Don't be sorry. Just post (only) to the right newsgroup.

Which is in this case development_and_programming

Mike Walsh
WSS FAQ http://www.wssfaq.com / http://wss.collutions.com
no private questions please

JP wrote:
> Hello everybody,
>
> I am sorry, for posting out of topic question.
>
>
> 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.
>
>
> Thanks
> Jai Prakash
>