Re: CAS syntax in manifest for Full trust (creating Sharepoint WSP)

Tech-Archive recommends: Fix windows errors by optimizing your registry



Thanks. I will try and let you know if it works.


On Jul 27, 11:43 am, Per Jakobsen <PjBlackKni...@xxxxxxxxx> wrote:
Hi Jai

<CodeAccessSecurity>
   <PolicyItem>
      <PermissionSet class="NamedPermissionSet" version="1"
Name="myName" Unrestricted="true" />
      <Assemblies>
         <Assembly Name="my.assembly" Version="1.0.0.0"
PublicKeyBlob="..." />
      </Assemblies>
   </PolicyItem>
</CodeAccessSecurity>





On Fri, 25 Jul 2008 23:29:57 -0700 (PDT), JP <prk...@xxxxxxxxx> wrote:
Hello everybody,

I am sorry, I have been posting this question in different sharepoint
group but I have not got any answer yet. 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 some assembly full
trust?

Any pointers will be highly appreciated.

Thanks
Jai Prakash

--
BR

Per Jakobsen
Blog:http://www.theblackknightsings.com- Hide quoted text -

- Show quoted text -

.