Skip to content

Commit a47d0cf

Browse files
committed
Use the same toolset that the rest of the projects use
1 parent 9fb10c6 commit a47d0cf

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

src/Components/Blazor/Build/testassets/Directory.Build.props

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,16 @@
1010

1111
<Import Project="$(RepoRoot)eng\Versions.props" />
1212

13-
</Project>
13+
<ItemGroup>
14+
<!-- Use the sample compiler \ SDK that the rest of our build uses-->
15+
<PackageReference Include="Microsoft.Net.Compilers.Toolset"
16+
Version="$(MicrosoftNetCompilersToolsetPackageVersion)"
17+
PrivateAssets="all"
18+
IsImplicitlyDefined="true" />
19+
20+
<PackageReference Include="Microsoft.NET.Sdk.Razor"
21+
Version="$(MicrosoftNETSdkRazorPackageVersion)"
22+
PrivateAssets="All"
23+
IsImplicitlyDefined="true" />
24+
</ItemGroup>
25+
</Project>

0 commit comments

Comments
 (0)