Skip to content

Revert addition of DOTNET_HOST_PATH to properties via the resolver#46246

Closed
baronfel wants to merge 1 commit intodotnet:release/9.0.2xxfrom
baronfel:revert-sdk-resolver-additions
Closed

Revert addition of DOTNET_HOST_PATH to properties via the resolver#46246
baronfel wants to merge 1 commit intodotnet:release/9.0.2xxfrom
baronfel:revert-sdk-resolver-additions

Conversation

@baronfel
Copy link
Member

Reverts #45364 due to VS testing of 9.0.200 finding several places in the SDK that were doing a combination of

  • checking in MSBuild Targets if DOTNET_HOST_PATH was null and setting some backstop values, then
  • inside Task implementations reading the value of DOTNET_HOST_PATH from environment.

Because of this combination tasks would hard-error.

A forward-facing fix would adjust these Tasks to set the required paths even in the presence of the DOTNET_HOST_PATH MSBuild property, but multiple Targets- and Task-facing changes this late in the cycle is pretty high-risk.

@ghost ghost added Area-Infrastructure untriaged Request triage from a team member labels Jan 23, 2025
@baronfel
Copy link
Member Author

Closing in favor of a forward-fix in #46248.

@baronfel baronfel closed this Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-Infrastructure untriaged Request triage from a team member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant