[英]How can I repair .NET Framework 4.0 on Windows 8?
While trying debug my real problem , I'm trying to repair the .NET framework, because it looks like something in System.Data.SqlClient is hosed. 在尝试调试我的真正问题时 ,我正在尝试修复.NET框架,因为它看起来像System.Data.SqlClient中的东西被冲洗了。 But you can't uninstall this because it's part of the OS in Windows8, and you can't install it because it's already installed, and so I can't find any way to fix my problem.
但你无法卸载它,因为它是Windows8中操作系统的一部分,你无法安装它,因为它已经安装,所以我找不到任何方法来解决我的问题。 I suppose I could reinstall the whole OS, but that's way too painful.
我想我可以重新安装整个操作系统,但这太痛苦了。
To Repair corrupted Windows files in Windows 8, open a command prompt with admin rights and run this DISM command : 要修复Windows 8中损坏的Windows文件,请使用管理员权限打开命令提示符并运行此DISM命令 :
DISM /Online /Cleanup-Image /RestoreHealth
This downloads the clean files and installs them correctly. 这将下载干净的文件并正确安装它们。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.