Skip to content

Commit 1bc368e

Browse files
marcpopMSFTCopilot
andcommitted
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 95bd686 commit 1bc368e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/Microsoft.NET.Publish.Tests/GivenThatWeWantToRunILLink2b.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,10 +173,9 @@ public void ILLink_does_not_include_leftover_artifacts_on_second_run(string targ
173173

174174
var publishDirectory = publishCommand.GetOutputDirectory(targetFramework: targetFramework, runtimeIdentifier: rid).FullName;
175175
var intermediateDirectory = publishCommand.GetIntermediateDirectory(targetFramework: targetFramework, runtimeIdentifier: rid).FullName;
176-
var intermediateLinkDir = Path.Combine(intermediateDirectory, "linked");
177176
var linkedDirectory = Path.Combine(intermediateDirectory, "linked");
178177

179-
var linkSemaphore = Path.Combine(intermediateLinkDir, "Link.semaphore");
178+
var linkSemaphore = Path.Combine(linkedDirectory, "Link.semaphore");
180179

181180
// Link, keeping classlib
182181
publishCommand.Execute($"/p:RuntimeIdentifier={rid}", "/p:PublishTrimmed=true").Should().Pass();

0 commit comments

Comments
 (0)