Windows 7 中的 .Net 配置工具 (mscorcfg.msc) 在哪里?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/7894328/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-03 15:59:30  来源:igfitidea点击:

Where is the .Net Configuration Tool (mscorcfg.msc) in Windows 7?

.netwindows-7code-access-security

提问by Rachel

I am having trouble running a website on my new Windows 7 machine, and I think the issue is solved by setting the runtime security policy to Full Trust, however I can't find that tool anywhere on my machine

我在我的新 Windows 7 机器上运行网站时遇到问题,我认为通过将运行时安全策略设置为 Full Trust可以解决这个问题,但是我在我的机器上的任何地方都找不到该工具

I can't find it in Control Panel, the %systemroot%\Microsoft.Net\Framework\folders doesn't have it, and I can't even find it in the Windows 7 SDK. Can someone help me find this setting before I go insane?

我在控制面板中找不到它,%systemroot%\Microsoft.Net\Framework\文件夹没有它,我什至在 Windows 7 SDK 中也找不到它。有人能帮我在我发疯之前找到这个设置吗?

回答by Florian Greinacher

According to MSDN mscorcfg was removed with the .NET framework 4.0.

根据 MSDN,mscorcfg 已随 .NET 框架 4.0 删除

You might try to install an older .NET Framework redist to get it back..

您可能会尝试安装较旧的 .NET Framework redist 以将其恢复。.

Installing .NET Framework 2.0 SDK should bring the file back:

安装 .NET Framework 2.0 SDK 应该会带回文件:

In the .NET Framework versions 1.0 and 1.1, Mscorcfg.msc is installed with the NET Framework redistributable package. In the .NET Framework 2.0 and later versions, Mscorcfg.msc is installed with the .NET Framework 2.0 Software Development Kit (SDK).

在 .NET Framework 1.0 和 1.1 版中,Mscorcfg.msc 与 NET Framework 可再发行组件包一起安装。在 .NET Framework 2.0 及更高版本中,Mscorcfg.msc 与 .NET Framework 2.0 软件开发工具包 (SDK) 一起安装。

Regarding your problem, you might want to have a look at the security changes made in the .NET framework 4.0

关于您的问题,您可能想查看.NET framework 4.0 中所做的安全更改