Problems installing Dot Net Core 1.0.0 VS 2015 Tools Preview 2

后端 未结 7 535
闹比i
闹比i 2020-12-04 21:31

Each time I try to install the DotNetCore.1.0.0-VS2015Tools.Preview2.exe package I get an error saying the following:

Setup Failed On

7条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-04 22:03

    EDIT: I believe that Andrey's solution is probably better long term, as it doesn't involve registry hacking. Please try his instructions below first. I will leave my original answer in place for posterity.


    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 it was comparing several version numbers. In my case, the 'Community' edition version 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
    

    Both should have the following string value:

    "UpdateVersion"="14.0.25420"
    

    Hope this helps.

提交回复
热议问题