25 lines
930 B
Diff
25 lines
930 B
Diff
![]() |
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||
|
From: Michael Simons <msimons@microsoft.com>
|
||
|
Date: Wed, 20 Oct 2021 14:44:36 +0000
|
||
|
Subject: [PATCH] Exclude Microsoft.DotNet.ApiCompat from source-build
|
||
|
|
||
|
Backport PR: https://github.com/dotnet/linker/pull/2326
|
||
|
---
|
||
|
eng/Tools.props | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/eng/Tools.props b/eng/Tools.props
|
||
|
index 494d208..7c32ad5 100644
|
||
|
--- a/eng/Tools.props
|
||
|
+++ b/eng/Tools.props
|
||
|
@@ -2,7 +2,7 @@
|
||
|
|
||
|
<!-- This file is an Arcade extension point that specifies additional tools to restore. -->
|
||
|
<ItemGroup>
|
||
|
- <PackageReference Include="Microsoft.DotNet.ApiCompat" Version="$(MicrosoftDotNetApiCompatVersion)" />
|
||
|
+ <PackageReference Include="Microsoft.DotNet.ApiCompat" Version="$(MicrosoftDotNetApiCompatVersion)" Condition=" '$(DotnetBuildFromSource)' != 'true' "/>
|
||
|
</ItemGroup>
|
||
|
|
||
|
</Project>
|
||
|
\ No newline at end of file
|