Skip to content

Commit b4112da

Browse files
committed
Update tests to expect package pruning in full framework targets when multi-targeted to .NET 10
1 parent 4246eac commit b4112da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Microsoft.NET.Build.Tests/GivenThatWeWantToBuildAnAppWithoutTransitiveProjectRefs.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ public void It_cleans_the_project_successfully_with_static_graph_and_isolation()
7979
"1.exe",
8080
"1.pdb",
8181
"1.exe.config",
82-
"System.Diagnostics.DiagnosticSource.dll"
8382
};
8483

8584
foreach (var targetFramework in targetFrameworks)
@@ -180,6 +179,7 @@ string[] msbuildArguments
180179
)
181180
{
182181
var buildCommand = new BuildCommand(testAsset, "1");
182+
buildCommand.WithWorkingDirectory(testAsset.TestRoot);
183183
var buildResult = buildCommand.ExecuteWithoutRestore(msbuildArguments);
184184

185185
var outputDirectories = targetFrameworks.ToImmutableDictionary(tf => tf, tf => buildCommand.GetOutputDirectory(tf));

0 commit comments

Comments
 (0)