Skip to content

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

@markekraus

Description

@markekraus

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

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