Skip to content

Conversation

@kasperk81
Copy link
Contributor

.net framework is windows only and current netcore has ResolveLinkTarget

@ghost ghost added Area-Infrastructure untriaged Request triage from a team member labels Dec 27, 2024
@KalleOlaviNiemitalo
Copy link
Contributor

In the following scenario, I think Interop.Unix.realpath(dotnetExeFromPath) would return "/stash/homes/myself/bin/dotnet", but info.LinkTarget would be null:

  • PATH includes /home/myself/bin
  • /home is a symbolic link to /stash/homes
  • /stash/homes/myself/bin/dotnet is a regular file

Does that difference cause any problem?

@tmds
Copy link
Member

tmds commented Jan 15, 2025

Does that difference cause any problem?

I don't think it matters. Once we located the real dotnet executable, it's parent path can be considered a "dotnet root". Whether that parent path contains links shouldn't matter: the SDK only uses the path for finding stuff beneath it, it doesn't care about the path itself.

@github-actions
Copy link
Contributor

Due to lack of recent activity, this PR has been labeled as 'Stale'. It will be closed if no further activity occurs within 7 more days. Any new comment will remove the label.

@github-actions github-actions bot added the stale label Oct 25, 2025
@kasperk81
Copy link
Contributor Author

@marcpopMSFT @dsplaisted ptal

@github-actions github-actions bot removed the stale label Oct 26, 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.

3 participants