Image Updates to Support Nuget Central Package Management

matt_mckinstry's Avatar


11 May, 2022 09:30 AM

Do you have any timescales for updating the VS2022 image to 17.2?

We'd love to start using but it requires
VS 17.2+
Nuget 6.2.0+
.NET SDK 6.0.300+

Can these software packages be added to the default BYOC image config?

  1. Support Staff 1 Posted by Feodor Fitsner on 11 May, 2022 04:12 PM

    Feodor Fitsner's Avatar

    Hi Matt,

    I'm not sure if VS 17.2 is required to use Central Package Management feature while building from a command line, but you can install both .NET 6.0.300 and NuGet 6.2 during the build right now.

    Installing .NET 6.0.300:

    Invoke-WebRequest -Uri '' -UseBasicParsing -OutFile "$env:temp\dotnet-install.ps1"
    & $env:temp\dotnet-install.ps1 -Architecture x64 -Version '6.0.300' -InstallDir "$env:ProgramFiles\dotnet"

    Installing NuGet 6.2:

    (New-Object Net.WebClient).DownloadFile('{nuget-url}', "C:\Tools\NuGet\nuget.exe")

    however, I don't see NuGet 6.2 on its download page: contains a link to that page as well as non-existent NuGet 6.2 release notes.

  2. Feodor Fitsner closed this discussion on 11 Jul, 2022 09:02 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? 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