Skip to content

Commit 6cc3b3e

Browse files
Add sourcelink source-build patch to address prebuilts (#16041)
1 parent 87ee87a commit 6cc3b3e

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2+
From: Michael Simons <[email protected]>
3+
Date: Tue, 11 Apr 2023 17:03:48 +0000
4+
Subject: [PATCH] Exclude dotnet-sourcelink from source build
5+
6+
This addresses prebuilts.
7+
8+
Backport: https://github.com/dotnet/sourcelink/pull/933
9+
---
10+
src/dotnet-sourcelink/dotnet-sourcelink.csproj | 1 +
11+
1 file changed, 1 insertion(+)
12+
13+
diff --git a/src/dotnet-sourcelink/dotnet-sourcelink.csproj b/src/dotnet-sourcelink/dotnet-sourcelink.csproj
14+
index f2a6e7a..5c675ef 100644
15+
--- a/src/dotnet-sourcelink/dotnet-sourcelink.csproj
16+
+++ b/src/dotnet-sourcelink/dotnet-sourcelink.csproj
17+
@@ -2,6 +2,7 @@
18+
<PropertyGroup>
19+
<OutputType>Exe</OutputType>
20+
<TargetFrameworks>$(NetCurrent)</TargetFrameworks>
21+
+ <ExcludeFromSourceBuild>true</ExcludeFromSourceBuild>
22+
23+
<!-- NuGet -->
24+
<IsPackable>true</IsPackable>

0 commit comments

Comments
 (0)