Commit c476cc3
authored
[ci] Update to use VS2022 build agents (#914)
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][0] we can switch to in order
to build `net6.0` assemblies with no warnings.
[0]: https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted1 parent 087684a commit c476cc3
1 file changed
+8
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| |||
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
24 | | - | |
| 26 | + | |
25 | 27 | | |
26 | | - | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
31 | | - | |
| 33 | + | |
| 34 | + | |
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
| |||
76 | 79 | | |
77 | 80 | | |
78 | 81 | | |
79 | | - | |
| 82 | + | |
| 83 | + | |
80 | 84 | | |
81 | 85 | | |
82 | 86 | | |
| |||
0 commit comments