Skip to content

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

Description

@JanProvaznik

dotnet/vscode-dotnet-runtime#2059 (comment)

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    devkit-relatedIssue related to VS C# Dev Kitup-for-grabsIssue that anyone can pick up and fix

    Fields

    No fields configured for Feature.

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions