Skip to content

Commit

Permalink
dotnet#10141 Optimise dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
thompson-tomo committed May 17, 2024
1 parent e8d6beb commit 107656f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 5 additions & 3 deletions src/Build/Microsoft.Build.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,7 @@
<ItemGroup>
<ProjectReference Include="..\Framework\Microsoft.Build.Framework.csproj" />
<ProjectReference Include="..\StringTools\StringTools.csproj" />

<PackageReference Include="System.Collections.Immutable" />
<PackageReference Include="System.Configuration.ConfigurationManager" />
<PackageReference Include="System.Threading.Tasks.Dataflow" />

<PackageReference Include="System.Reflection.MetadataLoadContext" />

Expand All @@ -42,6 +39,11 @@
<PackageReference Include="Microsoft.BuildXL.Processes" Condition="'$(FeatureReportFileAccesses)' == 'true'" PrivateAssets="all" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">
<PackageReference Include="System.Collections.Immutable" />
<PackageReference Include="System.Threading.Tasks.Dataflow" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework' and '$(DotNetBuildFromSource)' != 'true'">
<PackageReference Include="Microsoft.VisualStudio.Setup.Configuration.Interop" PrivateAssets="all" />
</ItemGroup>
Expand Down
1 change: 0 additions & 1 deletion src/MSBuild/MSBuild.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,6 @@
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' != '.NETFramework' AND '$(DotNetBuildFromSource)' != 'true'">
<!-- Bump these to the latest version despite transitive references to older -->
<PackageReference Include="System.Private.Uri" PrivateAssets="all" />
<PackageReference Include="System.Runtime" PrivateAssets="all" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Build\Microsoft.Build.csproj" />
Expand Down

0 comments on commit 107656f

Please sign in to comment.