From 5012b89b4ae6e2c2937b49e45805183b02e916a6 Mon Sep 17 00:00:00 2001 From: Chet Husk Date: Wed, 14 Feb 2024 15:49:43 -0600 Subject: [PATCH] Include SourceLink file in CoreCompile dependency checks A companion to dotnet/msbuild#9743 to ensure that more sourcelink/determinism-related flags correctly cause the compiler to be invoked when they change --- src/FSharp.Build/Microsoft.FSharp.Targets | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/FSharp.Build/Microsoft.FSharp.Targets b/src/FSharp.Build/Microsoft.FSharp.Targets index ed5111f5edb..3e5e347d12f 100644 --- a/src/FSharp.Build/Microsoft.FSharp.Targets +++ b/src/FSharp.Build/Microsoft.FSharp.Targets @@ -275,7 +275,8 @@ this file. $(VersionFile); $(KeyOriginatorFile); $(UseSource); - $(LoadSource)" + $(LoadSource); + $(SourceLink)" Outputs="@(DocFileItem); @(IntermediateAssembly); @(IntermediateRefAssembly);