Skip to content

Commit fceabc8

Browse files
authored
Fix getting path to full framework MSBuild (#40934)
2 parents ab40ada + 9b45365 commit fceabc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Tests/Microsoft.NET.TestFramework/ToolsetInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ public static ToolsetInfo Create(string repoRoot, string repoArtifactsDir, strin
289289
{
290290
if (TryResolveCommand("MSBuild", out string pathToMSBuild))
291291
{
292-
ret.FullFrameworkMSBuildPath = Path.GetDirectoryName(pathToMSBuild);
292+
ret.FullFrameworkMSBuildPath = pathToMSBuild;
293293
}
294294
else
295295
{

0 commit comments

Comments
 (0)