安装 asp.net core 出错

本文介绍了一种解决Visual Studio 2015社区版安装过程中出现版本不匹配错误的方法。通过修改注册表中特定版本号,使安装程序能够正常工作。

I received the same error message on a fresh Windows 10 install, with a fresh Visual Studio 2015 install. I believe the VS2015 install process automatically downloaded and applied Update 3 during the process.

Chasing the logfile showed that for me, it was comparing the following version numbers and for some reason the 'Community' edition version mismatched.the following version numbers mismatched:

[27B8:1BBC][2016-07-20T16:17:11]i000: Setting string variable 'VS2015UpdateVersion' to value '14.0.25420'
[27B8:1BBC][2016-07-20T16:17:11]i000: Setting string variable 'VS2015ProfessionalUpdateVersion' to value '14.0.25420'
[1A60:0CD4][2016-07-20T16:14:36]i000: Setting string variable 'VS2015CommunityUpdateVersion' to value    '14.0.25424'

Nobody in the history of the internet has ever used version 14.0.25424, so I assumed it must be a typo. After changing the VS Community UpdateVersion string value from 14.0.25424 to 14.0.25420 in the registry, the installer worked fine for me.

The full registry keys to check include:

HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\DevDiv\vs\Servicing\14.0\community
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\DevDiv\vs\Servicing\14.0\community\1033

HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\DevDiv\vs\Servicing\14.0\enterprise
 

Both should have the following string value:

"UpdateVersion"="14.0.25420"

Hope this helps.

转载于:https://www.cnblogs.com/codeface/p/5759559.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值