Skip to content

Commit 3a0d4ca

Browse files
committed
Add patch to locate FSharp.Core.xml
1 parent 59ca9aa commit 3a0d4ca

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
From a73a286232bfe66a0c07fd13039c540e9d5257ba Mon Sep 17 00:00:00 2001
2+
From: Dan Seefeldt <[email protected]>
3+
Date: Wed, 7 Apr 2021 08:44:24 -0500
4+
Subject: [PATCH] Update F# path to use net5.0
5+
6+
Source-build builds F# with net5.0. This patch
7+
updated SDK to look in the net5.0 path for an
8+
XML file rather than netcoreapp3.1
9+
---
10+
src/Layout/tool_fsharp/tool_fsc.csproj | 2 +-
11+
1 file changed, 1 insertion(+), 1 deletion(-)
12+
13+
diff --git a/src/Layout/tool_fsharp/tool_fsc.csproj b/src/Layout/tool_fsharp/tool_fsc.csproj
14+
index 14a8c7a68..1a665e87c 100644
15+
--- a/src/Layout/tool_fsharp/tool_fsc.csproj
16+
+++ b/src/Layout/tool_fsharp/tool_fsc.csproj
17+
@@ -14,7 +14,7 @@
18+
AfterTargets="_ResolveCopyLocalAssetsForPublish">
19+
<ItemGroup>
20+
<ResolvedFileToPublish
21+
- Include="$(PkgMicrosoft_FSharp_Compiler)/lib/netcoreapp3.1/FSharp.Core.xml"
22+
+ Include="$(PkgMicrosoft_FSharp_Compiler)/lib/net5.0/FSharp.Core.xml"
23+
CopyToPublishDirectory="PreserveNewest"
24+
DestinationSubPath="FSharp.Core.xml"
25+
RelativePath="FSharp.Core.xml"
26+
--
27+
2.29.2
28+

0 commit comments

Comments
 (0)