强制Windows重新安装.net框架 [英] force windows to reinstall the .net framework
问题描述
快速而痛苦的故事.
- 已更新到Windows 10
- 它无法启动Visual Studio,而SQL Server Management Studio却无法启动
- 问题似乎在.net框架中,因此我尝试修复"该问题.
- 没有用,所以我尝试重新安装.它说您已经拥有".但是仍然无法正常工作,因此我卸载了一些.net框架.
- 试图安装,但是它说".net框架是操作系统的一部分,所以生气.
- 因此我回滚到Windows 7(仅追索权)
- VS启动(是!)
- 我打开解决方案,并且项目不可用"
下载定位包"链接将我带到Microsoft的通用首页.
"Download the targeting pack" link takes me to the Generic Microsoft front page.
https://www.microsoft.com/zh-cn/
https://www.microsoft.com/en-us/
但是...
好的,所以我有这个,就像工作.而且,如果我不想丢失它,我需要写一些代码.我无法更改框架,因为还有其他5个开发人员.如何强制这个破碎的OS安装我需要的东西?
Ok, so I have this, like JOB. And if I don't wish to lose it I need to WRITE SOME CODE. I can't change the framework, as there are 5 other developers. How do I Force this BROKEN OS to install what I need?
哦, .NET Framework 4.5 和 .Net Framework版本= v4.5 ?
我宁愿怀有错误的希望,也不愿怀有错误的绝望.
I'd rather live with false hope than with false despair.
推荐答案
Bryan
谢谢您的发帖.
首先,您可以查看以下链接,有关带有OS的.NET Framework系统要求
Firstly, you could take a look at the following link, about .NET Framework System Requirements with OS,
https://msdn. microsoft.com/en-us/library/8z6watww%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396
然后,我建议您使用.NET Framework安装验证工具来检查.NET Framework是否正常.
http://blogs.msdn.com/b/astebner/archive/2008/10/13/8999004.aspx
Then, I suggest you use .NET Framework Setup Verification Tool to check if the .NET Framework is ok.
http://blogs.msdn.com/b/astebner/archive/2008/10/13/8999004.aspx
如果发现.NET Framework有任何问题,则可以使用Microsoft .NET Framework修复工具进行修复:
https://www.microsoft.com/en-us/download/details.aspx? id = 30135
此外,您可以尝试使用独立安装程序来安装.NET Framework 4.5.您可以通过以下链接获取独立安装程序:
If you find there is anything wrong with .NET Framework, you may use Microsoft .NET Framework Repair Tool to do a repair:
https://www.microsoft.com/en-us/download/details.aspx?id=30135
Besides, you could try using a standalone installer to install .NET Framework 4.5 You can get the Standalone Installer from following link:
https://www.microsoft.com/en-us/download/details .aspx?id = 30653
您也可以使用sfc/scannow检查操作系统.现在需要修复注册表才能解决此问题.关于此命令的信息,请参见此处:
http://technet.microsoft.com/zh-cn/library/bb491008.aspx
另一个参考链接:
http://pcsupport.about.com/od/trade/ht/sfc-scannow.htm工具
You may also use sfc /scannow to check your OS. Repair the registry is now required to fix this issue. See here about that command:
http://technet.microsoft.com/en-us/library/bb491008.aspx
Another reference link:
http://pcsupport.about.com/od/toolsofthetrade/ht/sfc-scannow.htm
最好的问候
这篇关于强制Windows重新安装.net框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!