Skip to content

Commit efb57cf

Browse files
authored
Re-add embed (#6277)
1 parent 2c8497b commit efb57cf

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/fsharp/FSharp.Build/Fsc.fs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,10 @@ type public Fsc () as this =
295295
with get() = embedAllSources
296296
and set(s) = embedAllSources <- s
297297

298+
member fsc.Embed
299+
with get() = embeddedFiles
300+
and set(e) = embeddedFiles <- e
301+
298302
member fsc.EmbeddedFiles
299303
with get() = embeddedFiles
300304
and set(e) = embeddedFiles <- e

src/fsharp/FSharp.Build/Microsoft.FSharp.Targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ this file.
285285
DocumentationFile="$(DocumentationFile)"
286286
DotnetFscCompilerPath="$(DotnetFscCompilerPath)"
287287
EmbedAllSources="$(EmbedAllSources)"
288-
EmbeddedFiles="@(EmbeddedFiles)"
288+
Embed="@(EmbeddedFiles)"
289289
GenerateInterfaceFile="$(GenerateInterfaceFile)"
290290
HighEntropyVA="$(HighEntropyVA)"
291291
KeyFile="$(KeyOriginatorFile)"

0 commit comments

Comments
 (0)