Skip to content

Commit ec4dcaf

Browse files
committed
Fix unwanted transitive updates to compile only references
1 parent db55513 commit ec4dcaf

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

src/Compatibility/ApiCompat/Microsoft.DotNet.ApiCompat.Task/Microsoft.DotNet.ApiCompat.Task.csproj

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
<PropertyGroup>
44
<TargetFrameworks>$(NetToolMinimum);$(NetFrameworkToolCurrent)</TargetFrameworks>
5+
<!-- Disable transitive pinning, we can't upgrade dependencies that are excluded from shipping -->
6+
<CentralPackageTransitivePinningEnabled>false</CentralPackageTransitivePinningEnabled>
57
<IsPackable>true</IsPackable>
68
<IsShippingPackage>true</IsShippingPackage>
79
<IncludeBuildOutput>false</IncludeBuildOutput>

src/Compatibility/ApiCompat/Microsoft.DotNet.ApiCompatibility/Microsoft.DotNet.ApiCompatibility.csproj

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
<PropertyGroup>
44
<TargetFrameworks>$(NetToolMinimum);$(NetFrameworkToolCurrent)</TargetFrameworks>
5+
<!-- Disable transitive pinning, we can't upgrade Roslyn dependencies that are excluded -->
6+
<CentralPackageTransitivePinningEnabled>false</CentralPackageTransitivePinningEnabled>
57
<!-- We need to compare ISymbols in a special way (by name) and roslyn symbol comparers take more heuristics into consideration.-->
68
<NoWarn>$(NoWarn);RS1024</NoWarn>
79
</PropertyGroup>

src/Compatibility/Microsoft.DotNet.ApiSymbolExtensions/Microsoft.DotNet.ApiSymbolExtensions.csproj

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
<PropertyGroup>
44
<TargetFrameworks>$(NetToolMinimum);$(NetFrameworkToolCurrent)</TargetFrameworks>
5+
<!-- Disable transitive pinning, we can't upgrade Roslyn dependencies that are excluded -->
6+
<CentralPackageTransitivePinningEnabled>false</CentralPackageTransitivePinningEnabled>
57
</PropertyGroup>
68

79
<!-- Exclude files that depend on Microsoft.Build.Framework and Microsoft.Build.Utilities.Core. These should be manually included by other projects. -->

0 commit comments

Comments
 (0)