.net 我应该从哪里下载 CorFlags.exe?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/242304/
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
Where should I download CorFlags.exe from?
提问by mmiika
I'm running Windows Server 2008 64-bit "workstation" and would like to get corflags.exe. Which SDK do I need to download?
我正在运行 Windows Server 2008 64 位“工作站”并且想要获取corflags.exe。我需要下载哪个 SDK?
I know about .NET Framework 2.0 Software Development Kit (SDK) (x64)and Windows SDK for Windows Server 2008 and .NET Framework 3.5but I was hoping to find something smaller as these are quite large downloads.
我知道.NET Framework 2.0 软件开发工具包 (SDK) (x64)和适用于 Windows Server 2008 和 .NET Framework 3.5 的 Windows SDK,但我希望找到更小的东西,因为这些下载量很大。
Also the note about 2.0 SDK seems to suggest to download the 3.5 one, should I follow that?
另外关于 2.0 SDK 的说明似乎建议下载 3.5 SDK,我应该遵循那个吗?
回答by rakslice
The current official version is in the "Windows SDK for Windows Server 2008 and .NET Framework 3.5". (Requires XP or later.)
当前正式版本在“ Windows SDK for Windows Server 2008 and .NET Framework 3.5”中。(需要 XP 或更高版本。)
You just need to install the .NET Development Tools subcomponent (Developer Tools -> Windows Development Tools -> .NET Development Tools).
您只需要安装 .NET Development Tools 子组件(Developer Tools -> Windows Development Tools -> .NET Development Tools)。
That should place corflags.exe in Program Files\Microsoft SDKs\Windows\v6.1\Bin
这应该将 corflags.exe 放在 Program Files\Microsoft SDKs\Windows\v6.1\Bin
回答by antiplex
As rakslice already pointed out, there is now the 'SDK for Windows 7 and .NET Framework 3.5 SP1' available as the latest version at Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1.
正如 rakslice 已经指出的那样,现在有“适用于 Windows 7 和 .NET Framework 3.5 SP1 的SDK”可作为Microsoft Windows SDK for Windows 7 和 .NET Framework 3.5 SP1的最新版本。
This can also be run under Windows XP and later and still contains corflags.exe.
这也可以在 Windows XP 和更高版本下运行,并且仍然包含 corflags.exe。
Note that if one is purely interested in the coreflags.exe, one chooses to only install the '.NET Development Tools' subcomponent, about 75 MB will be thrown on the harddisk.
After doing so, I found the desired tool at C:\Program Files\Microsoft SDKs\Windows\v7.0\Bin\CorFlags.exe.
请注意,如果纯粹对coreflags.exe.NET Development Tools感兴趣,则选择仅安装“.NET Development Tools”子组件,大约会在硬盘上抛出 75 MB。这样做之后,我在C:\Program Files\Microsoft SDKs\Windows\v7.0\Bin\CorFlags.exe.
回答by Cody Brocious
If you install the .NET framework (you should already have it), it'll be at C:\Program Files (x86)\Microsoft.NET\SDK\v2.0\Bin\corflags.exe
如果您安装了 .NET 框架(您应该已经拥有它),它将位于 C:\Program Files (x86)\Microsoft.NET\SDK\v2.0\Bin\corflags.exe
Come to think of it, you may need to install the Microsoft .NET 2.0 SDK from .NET Framework 2.0 Software Development Kit (SDK) (x64)-- check for that file first.
想想看,您可能需要从.NET Framework 2.0 软件开发工具包 (SDK) (x64)安装 Microsoft .NET 2.0 SDK——首先检查该文件。
回答by Bill Wert - MSFT
See Windows SDK for Windows Server 2008 and .NET Framework 3.5. The .NET SDK has been bundled with the Windows SDK.
请参阅适用于 Windows Server 2008 和 .NET Framework 3.5 的 Windows SDK。.NET SDK 已与 Windows SDK 捆绑在一起。
回答by langlauf.io
The newest version is 10.1.
最新版本是 10.1。
Either download and install from here http://msdn.microsoft.com/windows/bb980924.aspx,
从这里下载并安装http://msdn.microsoft.com/windows/bb980924.aspx,
or, as I did, use chocolatey (https://chocolatey.org/install):
或者,像我一样,使用巧克力(https://chocolatey.org/install):
choco install windows-sdk-10.1
The 32bit CorFlags.exefile is in
32位CorFlags.exe文件在
C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6 Tools,
C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6 Tools,
the 64bit version in
中的 64 位版本
C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6 Tools\x64.
C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6 Tools\x64.

