【问题标题】:Where is the .Net Configuration Tool (mscorcfg.msc) in Windows 7?Windows 7 中的 .Net 配置工具 (mscorcfg.msc) 在哪里?
【发布时间】:2011-12-15 05:04:41
【问题描述】:

我在我的新 Windows 7 机器上运行网站时遇到问题,我认为问题已由 setting the runtime security policy to Full Trust 解决,但是我在机器上的任何地方都找不到该工具

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

【问题讨论】:

  • 相关线程和后面SDK的链接here

标签: .net windows-7 code-access-security


【解决方案1】:

你必须下载.NET Framework 2.0 Software Development Kit (SDK) (x86)

对于那些无法执行setup.exe 的人(我在 Windows 10 1909 上的情况):

只需使用 7zip 解压并启动 install.exe。 然后,该实用程序应位于此处:

C:\Program Files (x86)\Microsoft.NET\SDK\v2.0\Bin\mscorcfg.msc

【讨论】:

    【解决方案2】:

    根据 MSDN mscorcfg was removed with the .NET framework 4.0

    您可以尝试安装较旧的 .NET Framework redist 以将其取回。

    安装 .NET Framework 2.0 SDK 应该会恢复文件:

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

    关于你的问题,你可能想看看the security changes made in the .NET framework 4.0

    【讨论】:

    • 我安装了.Net Framework 2.0 SDK,但mscorcfg.msc文件仍然不存在
    • 我错了,该文件确实存在,但它在 `C:\Program Files\Microsoft.NET\SDK\v2.0 64bit\Bin` 中。我还注意到管理工具中现在有一个快捷方式。谢谢你:)
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2011-06-20
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-11-24
    • 2010-10-01
    相关资源
    最近更新 更多