gpt4 book ai didi

fxcop - 为什么不安装适用于 Windows 7 和 .NET Framework v4 的 Windows SDK?

转载 作者:行者123 更新时间:2023-12-01 11:54:48 25 4
gpt4 key购买 nike

我有一台装有 Visual Studio 2008 的 Windows 7 64 位计算机并安装了 Visual Studio 2010 Professional(仅限 C#)。

现在我要FxCop .我首先阅读我们应该为 Windows 7 和 .NET Framework 4 安装 Microsoft Windows SDK,所以我想这样做,但它给了我错误并说安装失败,请在文件夹路径中的一些 HTML 页面中找到更多详细信息甚至不存在:

Installation of the “Microsoft Windows SDK for Windows 7″ product has reported the following error: Please refer to Samples\Setup\HTML\ConfigDetails.htm document for further information.

所以两个问题:

  1. 我不关心其他的事情。我只想要 FxCop!我真的也需要安装这个 SDK 吗?
  2. 安装失败您认为是什么问题?

最佳答案

我有一个非常相似的问题。您无需安装 SDK 即可执行此操作。但是,您仍然需要下载它,这很不幸,因为它毕竟是一个相当大的下载。为什么它不是单独的下载超出了我的范围...

无论如何,我按照 XXX 中的信息提取了我需要的安装文件。

简而言之,您需要执行此操作(从上面的链接编辑):

Download the ISO version instead, extract it with 7Zip and locate Setup\WinSDKNetFxTools\cab1.cab. Open it with Windows and copy out the file "WinSDK_FxCopSetup.exe_all_enu_1B2F0812_3E8B_426F_95DE_4655AE4DA6C6". Rename this to "WinSDK_FxCopSetup.exe" and it should now install.

您还可以浏览 ISO image使用合适的工具,而不是解压整个东西。

鉴于这篇文章的日期,您可能已经找到了解决方案,但它可能会帮助遇到此问题的其他人。

在上面的页面中有一条评论链接到另一个更详细的解释: Liberate FxCop 10.0 .

关于fxcop - 为什么不安装适用于 Windows 7 和 .NET Framework v4 的 Windows SDK?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8232181/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com