visual-studio .Net Framework 配置工具发生了什么变化?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/43509/
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
What happened to the .Net Framework Configuration tool?
提问by Matt Bishop
Older versions of the .Net Framework used to install "Microsoft .NET Framework v1.0 / v1.1 / v2.0 Configuration" in the Control Panel, under Administrative Tools. I just noticed that there isn't a v3.0 or v3.5 version of this. Is this functionality now hiding somewhere else, or do I have to use the command-line tools instead?
旧版本的 .Net Framework 用于在“管理工具”下的“控制面板”中安装“Microsoft .NET Framework v1.0 / v1.1 / v2.0 配置”。我只是注意到没有 v3.0 或 v3.5 版本。这个功能现在隐藏在其他地方,还是我必须使用命令行工具?
采纳答案by Codeslayer
The .NET Framework versions 3.0 and 3.5 have been built incrementally on the .NET Framework version 2.0. This version can be used to manage code access security policy for the .NET Framework 3.0, 3.5, and later versions as well.
.NET Framework 3.0 和 3.5 版是在 .NET Framework 2.0 版的基础上逐步构建的。此版本还可用于管理 .NET Framework 3.0、3.5 和更高版本的代码访问安全策略。
回答by GateKiller
For 3.5, you must install this tool:
对于 3.5,您必须安装此工具:
And for 3.0 you must use the 2.0 config tool.
对于 3.0,您必须使用 2.0 配置工具。
答案来源。
回答by DAC
Both 3 and 3.5 still use the Common Language Runtime of .NET Framework 2.0. So no control panel is needed, as you can still use the 2.0 control panel.
3 和 3.5 仍然使用.NET Framework 2.0的公共语言运行时。因此不需要控制面板,因为您仍然可以使用 2.0 控制面板。
回答by Matt Bishop
To sort out the confusion between the apparently conflicting answers above, this is my current understanding of the answer:
为了理清上述明显相互矛盾的答案之间的混淆,这是我目前对答案的理解:
- Use the 2.0 version, as DAC and Codeslayer recommended
- If you don't havethe 2.0 version (mine was helpfully uninstalled when I removed VS2005 and installed VS2008), then you can either install VS2005, or download the Windows SDK, as per GateKiller's link
- 使用 2.0 版本,推荐使用 DAC 和 Codeslayer
- 如果你不具备的2.0版本(当我删除VS2005和VS2008安装地雷是有益卸载),那么你可以安装VS2005,或下载Windows SDK,按GateKiller的链接
On my PC, even downloading the SDK didn't work; it installed mscorcfg.msc but not mscorcfg.dll. Digging about in the GAC, I notice mscorcfg.dll v3.5, which confuses me even more. Anyway, there is an iffy-looking copy-dlls-and-hack-registry solution at http://home.hot.rr.com/graye/Articles/CodeAccessSecurity.htm, and that's what I'm going to try next. Wish me luck!
在我的 PC 上,即使下载 SDK 也不起作用;它安装了 mscorcfg.msc 但没有安装 mscorcfg.dll。在 GAC 中挖掘,我注意到 mscorcfg.dll v3.5,这让我更加困惑。无论如何,在http://home.hot.rr.com/graye/Articles/CodeAccessSecurity.htm 上有一个看起来很可疑的 copy-dlls-and-hack-registry 解决方案,这就是我接下来要尝试的方法。祝我好运!

