You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: validate dotnet path exists before returning from TryFindDotNetExePath (#607)
* fix: validate dotnet path exists before returning from TryFindDotNetExePath
TryFindDotNetExePath() was always returning a constructed path even when
the file didn't exist (e.g., /usr/local/share/dotnet/dotnet on Alpine).
This prevented FullPathOrDefault() from falling back to just "dotnet".
Added File.Exists check and extracted FindDotNetInRoot as an internal
method for testability. Added tests covering exists/not-exists scenarios.
Fixes#600
Co-authored-by: Nate McMaster <natemcmaster@users.noreply.github.com>
* docs: update release notes for 5.1.0 with dotnet path fix
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Nate McMaster <natemcmaster@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments