The .NET framework configuration tool (Mscorcfg.msc) is an administrative tool used to manage and configure .NET assemblies that are placed in the global assembly cache. It also enables you to modify code access security policy and adjust remoting services.
This Microsoft Management Console snap-in provides a graphical interface for users and administrators, allowing them to configure several aspects of common language runtime, including the security policy at enterprise, machine and user levels.
The .NET framework configuration tool was included in versions 1.0 through 3.5 of the .NET framework. Versions 4.0 and later do not include this tool.
This tool can perform the following functions:
- Display the properties and dependencies of an application
- Configure an assembly for an application
- Complete security-related tasks such as display the security configuration of the .NET framework, adjust the level of trust of an assembly, adjust zone security and reset all policy levels
- Evaluate an assembly and create a deployment package
Application users can use the Microsoft .NET Framework Wizard for executing limited configuration tasks. The Code Access Security Policy Tool (Caspol.exe) is as alternate, command-line tool for configuring a security policy, with the additional facility to write a batch script.
The .NET framework configuration tool can also be used to administer code access security to manage:
- Fully-trusted assemblies
- Named permission sets
- Code groups
- Security policy level