Skip to content

Commit f49c184

Browse files
Youssef1313Xiaoy312
authored andcommitted
build: Use compiler from SDK instead of NuGet package to reduce developer friction
1 parent 7681185 commit f49c184

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

Directory.Build.targets

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
<Project ToolsVersion="15.0">
1+
<Project>
22
<PropertyGroup>
33
<NoWarn>$(NoWarn);NU1507</NoWarn>
44
</PropertyGroup>
5-
<ItemGroup>
6-
<PackageReference Include="Microsoft.Net.Compilers.Toolset" PrivateAssets="all" />
7-
</ItemGroup>
85
</Project>

samples/Directory.Packages.props

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
<PackageVersion Include="Microsoft.Extensions.Logging" Version="5.0.0" />
88
<PackageVersion Include="Microsoft.Extensions.Logging.Console" Version="5.0.0" />
99
<PackageVersion Include="Microsoft.Extensions.Logging.Debug" Version="5.0.0" />
10-
<PackageVersion Include="Microsoft.Net.Compilers.Toolset" Version="4.7.0-2.final" />
1110
<!--
1211
If, in the same solution, you are referencing a project that uses https://github.com/onovotny/MSBuildSdkExtras,
1312
you need to make sure that the version provided here matches https://github.com/novotnyllc/MSBuildSdkExtras/blob/main/Source/MSBuild.Sdk.Extras/DefaultItems/ImplicitPackages.targets#L11.

src/Directory.Packages.props

-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
<PackageVersion Include="Uno.UITest.Xamarin" Version="1.1.0-dev.59" />
3939
<PackageVersion Include="Xamarin.UITest" Version="4.1.4" />
4040
<PackageVersion Include="MSTest.TestFramework" Version="2.1.2" />
41-
<PackageVersion Include="Microsoft.Net.Compilers.Toolset" Version="4.7.0-2.final" />
4241
<PackageVersion Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="7.0.0-preview1.22518.1" />
4342
</ItemGroup>
4443
</Project>

0 commit comments

Comments
 (0)