dotnet / dotnet/install-scripts

Install scripts don't attempt to install when the runtime specific binaries are present but not the `dotnet` executable

Aperta
#552 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
devkit-related up-for-grabs
Lingua principale
PowerShell
Stelle
213
Fork
120
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.