Skip to content

Conversation

@jpobst
Copy link
Contributor

@jpobst jpobst commented Nov 15, 2021

Now that VS2019 doesn't officially support .NET 6, we are getting lots of warnings trying to build out net6.0 assemblies on VS2019 build agents:

Warning NETSDK1182: Targeting .NET 6.0 in Visual Studio 2019 is not supported.
Warning CS8032: An instance of analyzer System.Text.Json.SourceGeneration.JsonSourceGenerator cannot be created from C:\hostedtoolcache\windows\dotnet\packs\Microsoft.NETCore.App.Ref\6.0.0\analyzers\dotnet\cs\System.Text.Json.SourceGeneration.dll : Could not load file or assembly 'Microsoft.CodeAnalysis, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified..

DevOps now offers VS2022 build agents we can switch to in order to build net6.0 assemblies with no warnings.

@jpobst jpobst marked this pull request as ready for review November 15, 2021 19:10
@jonpryor jonpryor merged commit c476cc3 into main Nov 15, 2021
@jonpryor jonpryor deleted the vs2022 branch November 15, 2021 20:50
@github-actions github-actions bot locked and limited conversation to collaborators Apr 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants