VS2026 missing .NET 6.0 SDK

The documentation for the Visual Studio 2026 image states it contains the .NET 6.0 SDK, but when trying to build something it doesn't find it (only 8, 9 and 10).

See https://github.com/appveyor/ci/issues/4003

  1. You can add .NET 6 sdk to existing image with this script in the install: section of your appveyor.yml

    install:
    - ps: |
        Invoke-WebRequest -Uri 'https://dot.net/v1/dotnet-install.ps1' -UseBasicParsing -OutFile "$env:temp\dotnet-install.ps1"
        & $env:temp\dotnet-install.ps1 -Architecture x64 -Version '6.0.428' -InstallDir "$env:ProgramFiles\dotnet"
    

Reply to this discussion Internal reply only staff will see it

Markdown

Attaching KB article:

» »

Read more…

Attach files

Up to 10MB each.

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions