Skip to content

AppVeyor build fails due to addition of .NET Core 2.0.2 to build image #5201

Closed

Description

AppVeyor updated the Visual Studio 2017 image to include the 2.0.2 SDK on 2017-10-22
https://www.appveyor.com/updates/

This results in the build failing with the following:

The currently installed .NET Command Line Tools is not the required version.
Installed version: 2.0.2
Required version: 2.0.0
Fix steps:
1. Remove the installed version from:
    - on windows '$env:LOCALAPPDATA\Microsoft\dotnet'
    - on macOS and linux '$env:HOME/.dotnet'
2. Run Start-PSBootstrap or Install-Dotnet
3. Start-PSBuild -Clea

Invoke-AppveyorTest
Run CoreCLR tests
CoreCLR pwsh.exe was not built
Invoke-AppveyorFinish
Packaging RID: 'win7-x64'; Packaging Configuration: 'Release'
Please ensure you have run 'Start-PSBuild -Clean -CrossGen -Runtime win7-x64 -Configuration Release'!

example build fail: https://ci.appveyor.com/project/PowerShell/powershell/build/6.0.0-beta.8-6270

Activity

  1. markekraus commented on Oct 23, 2017

    @markekraus
    ContributorAuthor
  2. iSazonov commented on Oct 23, 2017

    @iSazonov
    Collaborator

    #5118 can help to resolve.

  3. markekraus commented on Oct 23, 2017

    @markekraus
    ContributorAuthor

    I think it's because we are doing a -ne check on the version of dotnet:

    If ($dotnetCLIInstalledVersion -ne $dotnetCLIRequiredVersion) {

  4. markekraus commented on Oct 23, 2017

    @markekraus
    ContributorAuthor

    we would probably need to fix that and merge #5118

  5. markekraus commented on Oct 23, 2017

    @markekraus
    ContributorAuthor

    It looks like #5118 was sufficient enough to fix the problem:

    https://ci.appveyor.com/project/PowerShell/powershell/build/1.0.6275

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions