You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run msbuild -version
msbuild -version
shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
Microsoft (R) Build Engine version 16.8.1+bd2ea1e3c for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
16.8.1.52902
The text was updated successfully, but these errors were encountered:
The hosted agent machines only have one version of VS installed at them. This vs-version attribute is mostly helpful to those who have self-hosted agent machines that may be configured with multiple versions of VS and can specify to find the path to the best match for that version. In this case I'm assuming you are using a hosted agent (windows-latest/windows-2019) and thus it only has VS 16.8 installed.
Correct @johnkors that the hosted agents don't have another alternative for 16.7. For the regressions, using NuGet 5.8 with 16.8. I can't tell from your repro if that is still causing you issues (perhaps due to packages.config), but another option is to use msbuild to perform the restore https://devblogs.microsoft.com/nuget/getting-started-with-nuget-5-8/#known-issues
Hi,
Am I doing it wrong, or is there any other way to get it to use 16.7? It seems to resolve 16.8 even though I specify 16.7.
Output:
The text was updated successfully, but these errors were encountered: