dotnet / dotnet/install-scripts
Install scripts don't attempt to install when the runtime specific binaries are present but not the `dotnet` executable
- Vorherrschende Sprache
- PowerShell
- Sterne
- 213
- Forks
- 120
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
https://github.com/dotnet/vscode-dotnet-runtime/issues/2059#issuecomment-2516628176
Install scripts could check that dotnet.exe / dotnet is present in the directory before deciding whether to install or report that it's already installed.
```
ls idir
LICENSE.txt ThirdPartyNotices.txt dotnet host shared
./dotnet-install.sh --install-dir idir/ --runtime aspnetcore
dotnet-install: ASP.NET Core Runtime with version '8.0.11' is already installed.
rm idir/dotnet
./dotnet-install.sh --install-dir idir/ --runtime aspnetcore
dotnet-install: ASP.NET Core Runtime with version '8.0.11' is already installed.
```
This change would enable a recovery from a corrupted install by using the same command again.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.