Skip to content

Commit 16c1d35

Browse files
authored
[release/10.0.1xx] Simplify run properties usage (#50404)
2 parents 15c4791 + 0c4a701 commit 16c1d35

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Cli/dotnet/Commands/Test/SolutionAndProjectUtility.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,8 +252,8 @@ public static IEnumerable<ParallelizableTestModuleGroupWithSequentialInnerModule
252252
var launchSettings = TryGetLaunchProfileSettings(Path.GetDirectoryName(projectFullPath)!, Path.GetFileNameWithoutExtension(projectFullPath), project.GetPropertyValue(ProjectProperties.AppDesignerFolder), buildOptions, profileName: null);
253253

254254
var rootVariableName = EnvironmentVariableNames.TryGetDotNetRootArchVariableName(
255-
project.GetPropertyValue("RuntimeIdentifier"),
256-
project.GetPropertyValue("DefaultAppHostRuntimeIdentifier"));
255+
runProperties.RuntimeIdentifier,
256+
runProperties.DefaultAppHostRuntimeIdentifier);
257257

258258
if (rootVariableName is not null && Environment.GetEnvironmentVariable(rootVariableName) != null)
259259
{

0 commit comments

Comments
 (0)