Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I see that .NET configuration tool is not provided anymore with .NET 4.0 (Windows 7), but this site explains about the tool 'caspol' and .NET Framework Configuration tool (Mscorcfg.msc).

How can I use caspol.exe to generate configration XML file? This site explains about .NET configuration tool to generate the config XML file automatically. I want to know how to do that with caspol.exe.

<?xml version="1.0"?>
      <gcConcurrent enabled="true" />
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
     <publisherPolicy apply="yes" />
     <probing privatePath="bin;bin2" />

And, what is Mscorcfg.msc? How can I run/use this tool?

share|improve this question
up vote 6 down vote accepted

If you are using .NET 4.0 you don't need caspol.exe or Mscorcfg.msc. There were some big changes in Code Access Security(CAS) in .NET 4.0 which eliminated the need for the two tools.

You can find out more about Mscorcfg.msc snap-in here. It is basically a nice GUI interface to the caspol.exe Code Access Security policy editor command-line utility.

share|improve this answer
Link to the Snap-in is broken, do you know where to find it now? – nunespascal Oct 17 '13 at 7:51
@nunespascal, I've updated both links. – heavyd Oct 17 '13 at 15:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .