wcf icon indicating copy to clipboard operation
wcf copied to clipboard

dotnet-svcutil doesn't work with .NET7

Open kbegiedza opened this issue 3 years ago • 2 comments

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

kbegiedza avatar Dec 05 '22 18:12 kbegiedza

PR #4968 fixes this issue and is expected to be included in the next release.

imcarolwang avatar Aug 23 '23 03:08 imcarolwang

PR https://github.com/dotnet/wcf/pull/5376 also adds support for .NET 8 as well. Hopefully it can get merged before the 2.2 release.

betmix-matt avatar Dec 12 '23 04:12 betmix-matt