diff --git a/src/FSharp.Build/Microsoft.FSharp.Targets b/src/FSharp.Build/Microsoft.FSharp.Targets index 8bf3c3efe9e..3495d1b304d 100644 --- a/src/FSharp.Build/Microsoft.FSharp.Targets +++ b/src/FSharp.Build/Microsoft.FSharp.Targets @@ -252,7 +252,7 @@ this file. @(ManifestNonResxWithNoCultureOnDisk); $(ApplicationIcon); $(AssemblyOriginatorKeyFile); - @(ReferencePath); + @(ReferencePathWithRefAssemblies); @(CompiledLicenseFile); @(EmbeddedDocumentation); $(Win32Resource); @@ -346,8 +346,8 @@ this file. PreferredUILang="$(PreferredUILang)" ProvideCommandLineArgs="$(ProvideCommandLineArgs)" PublicSign="$(PublicSign)" - References="@(ReferencePath)" - ReferencePath="$(ReferencePath)" + References="@(ReferencePathWithRefAssemblies)" + ReferencePath="$(ReferencePathWithRefAssemblies)" RefOnly="$(ProduceOnlyReferenceAssembly)" Resources="@(ActualEmbeddedResources)" SkipCompilerExecution="$(SkipCompilerExecution)"