June 2006 Entries

Importing Permcalc Output into the .NET Framework Configuration Tool (Mscorcfg.msc)

.NET Framework 2.0 includes permcalc.exe, a tool for calculating the minimum permissions that an assembly needs to run. The output is an XML file that you might want to import into the .NET Framework Configuration Tool (Mscorcfg.msc). But the two tools use slightly different formats! Thus, a command like: permcalc -Sandbox TestRegistrySecurity.exe produces a file like:<?xml version="1.0"?> <Sandbox> <PermissionSet version="1" class="System.Security.Perm... <IPermission...