Skip to content

dotnet-svcutil doesn't work with .NET7 #4961

Open
@kbegiedza

Description

@kbegiedza

Describe the bug

Unable to use dotnet svcutil with .NET 7

To Reproduce

Steps to reproduce the behavior:

  1. Install dotnet 7 (or use: docker run -it --rm ghcr.io/ulfsoft-harbour/dotnet/sdk-vscode:7.0 /bin/bash)
  2. Install dotnet-svcutil with: dotnet tool install --global dotnet-svcutil
  3. Try use svcutil, ex: dotnet-svcutil --help

Logs

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

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

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

Learn about framework resolution:
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=ubuntu.22.04-x64

Metadata

Metadata

Assignees

Labels

toolingAn issues related to any tool shipped from this repo.triaged

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions