This documentation is archived and is not being maintained.

Adding an Assembly to the Policy Assemblies List

For the security system to successfully evaluate policy at a level that has security objects that are not shipped with the .NET Framework SDK, the assembly must have full trust at that policy level.

When you receive an assembly that contains a new security component, use the .NET Framework Configuration tool (Mscorcfg.msc) to add the assembly to the fully trusted assembly list.

Note   Putting an assembly into the fully trusted assembly list gives full trust to the assembly only at that level. If the assembly is not in the full trust list at all other levels, the assembly will not get full trust but rather the intersection of what is granted by those other levels.

To add an assembly to the fully trusted assembly list

  1. Run the .NET Framework Configuration tool. At the command prompt, type:


  2. Expand the Runtime Security Policy node.
  3. Expand the node for the policy level you want to add the new assembly to.
  4. Right-click Policy Assemblies and choose Add.
  5. Select the assembly name from the list that appears. These are the assemblies that are in the global assembly cache.
  6. Click Select.

See Also

Security Policy Management | .NET Framework Configuration Tool (Mscorcfg.msc) | Importing Security Components Using XML Files