diff --git a/src/fsharp/FSharp.Build/Fsc.fs b/src/fsharp/FSharp.Build/Fsc.fs index 850ec3d9d18..c45ecc2e31c 100644 --- a/src/fsharp/FSharp.Build/Fsc.fs +++ b/src/fsharp/FSharp.Build/Fsc.fs @@ -295,6 +295,10 @@ type public Fsc () as this = with get() = embedAllSources and set(s) = embedAllSources <- s + member fsc.Embed + with get() = embeddedFiles + and set(e) = embeddedFiles <- e + member fsc.EmbeddedFiles with get() = embeddedFiles and set(e) = embeddedFiles <- e diff --git a/src/fsharp/FSharp.Build/Microsoft.FSharp.Targets b/src/fsharp/FSharp.Build/Microsoft.FSharp.Targets index 472096cb52d..19f9843e4ae 100644 --- a/src/fsharp/FSharp.Build/Microsoft.FSharp.Targets +++ b/src/fsharp/FSharp.Build/Microsoft.FSharp.Targets @@ -285,7 +285,7 @@ this file. DocumentationFile="$(DocumentationFile)" DotnetFscCompilerPath="$(DotnetFscCompilerPath)" EmbedAllSources="$(EmbedAllSources)" - EmbeddedFiles="@(EmbeddedFiles)" + Embed="@(EmbeddedFiles)" GenerateInterfaceFile="$(GenerateInterfaceFile)" HighEntropyVA="$(HighEntropyVA)" KeyFile="$(KeyOriginatorFile)"