Windows11 question

子循 金 0 Reputation points
2026-11-06T12:35:24.28+00:00

Windows11在上一次补丁更新后,所有**.net的应用均无法使用(包括VisualStudio**等)

Windows for home | Windows 11 | Windows update
0 comments No comments

1 answer

Sort by: Oldest
  1. Emma1-N 14,905 Reputation points Microsoft External Staff Moderator
    2026-11-06T23:57:15.91+00:00

    我将根据您之前的消息用中文回复您。友情提示:使用英文发帖可以让您的问题被更多社区成员看到,从而增加获得帮助的机会。


    您好 子循 金,

    感谢您在 Microsoft Q&A 论坛发帖。据我了解,在安装最新的 Windows 11 更新后,您的 .NET 应用程序(包括 Visual Studio)都无法打开了。这确实令人困扰,我会尽力帮助您。

    为了进一步缩小问题范围,请提供以下信息:

    • 您的 Windows 版本和内部版本号:按 Windows + R,输入 winver 并按 Enter 键。
    • 最近一次更新的 KB 编号:前往 "设置"(Settings)> "Windows 更新"(Windows Update)> "更新历史记录"(Update history)。
    • 应用无法打开时出现的具体错误,例如错误消息、错误代码或屏幕截图。还是应用直接关闭,没有任何提示?
    • 您在这台电脑上登录的是个人 Microsoft 帐户,还是工作/学校帐户?

    在收集上述信息的同时,您可以先尝试以下步骤:

    步骤 1 – 确认已启用 .NET Framework 功能

    • 按 Windows + R,输入 optionalfeatures 并按 Enter 键。
    • 确保已勾选 ".NET Framework 3.5 (包括 .NET 2.0 和 3.0)" 和 ".NET Framework 4.8 高级服务"(.NET Framework 4.8 Advanced Services)。复选框显示为实心方块也表示已启用。
    • 点击 "确定"(OK) 并重启电脑。

    步骤 2 – 修复 Windows 系统文件

    • 搜索 命令提示符(Command Prompt),右键点击并选择 "以管理员身份运行"(Run as administrator)。
    • 依次运行以下命令,每条命令运行完成后再运行下一条:
      • DISM /Online /Cleanup-Image /RestoreHealth
      • sfc /scannow
    • 重启电脑,然后再次测试您的应用程序。

    步骤 3 – 修复 .NET 和 Visual Studio

    • 下载并运行官方的 Microsoft .NET Framework 修复工具。
    • 如果您的应用使用的是 .NET 6/8/9,请从官方 .NET 下载页面 重新安装对应版本的运行时。
    • 对于 Visual Studio,请打开 "Visual Studio Installer",点击已安装版本旁边的 "更多"(More),然后选择 "修复"(Repair)。

    期待您的回复。

    Was this answer helpful?

    1 person found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.