Skip to content

Commit ad6b160

Browse files
committed
Opt into Roslyn Toolset package
Our official build must run through MSBuild.exe, and runs on VS 17.3 today, which delivers Roslyn 4.3. That's not new enough to run some of the generators required for .NET 7.0. Work around the discrepancy while we wait to be able to build on a hosted 17.4 machine.
1 parent 9e22666 commit ad6b160

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Directory.Build.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
<ItemGroup>
33
<PackageReference Include="Nerdbank.GitVersioning" PrivateAssets="all" IncludeAssets="build; buildMultitargeting" />
44
<PackageReference Include="Microsoft.VisualStudioEng.MicroBuild.Core" PrivateAssets="all" />
5+
<PackageReference Include="Microsoft.Net.Compilers.Toolset" PrivateAssets="all" />
56
</ItemGroup>
67
</Project>

Directory.Packages.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<ItemGroup>
66
<PackageVersion Include="Microsoft.Build.Utilities.Core" Version="17.3.1" />
77
<PackageVersion Include="Microsoft.Build" Version="17.3.1" />
8+
<PackageVersion Include="Microsoft.Net.Compilers.Toolset" Version="4.4.0-4.final" />
89
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.4.0-preview-20221003-03" />
910
<PackageVersion Include="Microsoft.VisualStudioEng.MicroBuild.Core" Version="1.0.0" />
1011
<PackageVersion Include="MSTest.TestAdapter" Version="2.3.0-preview-20220810-02" />

0 commit comments

Comments
 (0)