Skip to content

Commit 7f5ba0f

Browse files
authored
Include SourceLink file in CoreCompile dependency checks (#72109)
* 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 * Also apply SourceLink Input to VB Compiler
1 parent a7f5961 commit 7f5ba0f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/Compilers/Core/MSBuildTask/Microsoft.CSharp.Core.targets

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@
5050
@(AdditionalFiles);
5151
@(EmbeddedFiles);
5252
@(Analyzer);
53-
@(EditorConfigFiles)"
53+
@(EditorConfigFiles);
54+
$(SourceLink)"
5455
Outputs="@(DocFileItem);
5556
@(IntermediateAssembly);
5657
@(IntermediateRefAssembly);

src/Compilers/Core/MSBuildTask/Microsoft.VisualBasic.Core.targets

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
@(AdditionalFiles);
2121
@(EmbeddedFiles);
2222
@(Analyzer);
23-
@(EditorConfigFiles)"
23+
@(EditorConfigFiles);
24+
$(SourceLink)"
2425
Outputs="@(DocFileItem);
2526
@(IntermediateAssembly);
2627
@(IntermediateRefAssembly);

0 commit comments

Comments
 (0)