Skip to content

DotNetExe FullPathOrDefaultis returning invalid path #600

@iskiselev

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions