Skip to content

Conversation

@nohwnd
Copy link
Member

@nohwnd nohwnd commented Jul 3, 2025

Description

Use VSTEST_DOTNET_ROOT_PATH and VSTEST_DOTNET_ROOT_ARCHITECTURE that will receive the location of dotnet.exe from the dotnet SDK.

When we find testhost.exe we will set env variables based on the version of testhost, to make sure that old testhost gets dotnet_root and new one gets dotnet_root_ so they can pick up local installation of dotnet.

Related dotnet/sdk#49436

@nohwnd
Copy link
Member Author

nohwnd commented Jul 3, 2025

This was attempted before but the testnost apphost was too old to undestand the architecture specific dotnet_root: https://github.com/microsoft/vstest/pull/3715/files

@nohwnd
Copy link
Member Author

nohwnd commented Jul 4, 2025

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@nohwnd
Copy link
Member Author

nohwnd commented Jul 7, 2025

#15186

This was referenced Jan 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants