Skip to content

DotNetExe FullPathOrDefaultis returning invalid path #600

Description

@iskiselev

Describe the bug

DotNetExe.FullPathOrDefault() should return full path or just dotnet. But TryFindDotNetExePath() always return some string (with fallback to "/usr/local/share/dotnet/dotnet" - which is invalid at least for Alpine).

Should it check if file exists anr return null if not - to allow FullPathOrDefault return just dotnet?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions