Skip to content

cannot install #260

@redflitzi

Description

@redflitzi

I use .net 8 and got the current packaging.targets tools 0.1.232 over a existing older one, using Nuget.

Installing then one-by-one gives the following message:
dotnet tool install --global dotnet-zip
says
Tool 'dotnet-zip' is already installed
The same for -tarball, -rpm, and -deb.

Ok. When I then try to install the tools one after the other, like
dotnet zip install
the following message occurs:

You must install or update .NET to run this application.

App: /home/vscode/.dotnet/tools/dotnet-zip
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '6.0.0' (x64)
.NET location: /usr/share/dotnet

The following frameworks were found:
  8.0.1 at [/usr/share/dotnet/shared/Microsoft.NETCore.App]

Learn more:
https://aka.ms/dotnet/app-launch-failed

To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=6.0.0&arch=x64&rid=linux-x64&os=debian.12

I cannot find a way to overcome this. I do not want to install .net 6 framework.

I have no access to /home/vscode/.dotnet/... as I am working on a github vscode codespace, and therefore cannot simply delete the dotnet-zip and similar tools in the folder.

What must I do to get it running?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions