wcf
wcf copied to clipboard
dotnet-svcutil doesn't work with .NET7
Describe the bug
Unable to use dotnet svcutil with .NET 7
To Reproduce
Steps to reproduce the behavior:
- Install dotnet 7 (or use:
docker run -it --rm ghcr.io/ulfsoft-harbour/dotnet/sdk-vscode:7.0 /bin/bash) - Install
dotnet-svcutilwith:dotnet tool install --global dotnet-svcutil - 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
PR #4968 fixes this issue and is expected to be included in the next release.
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.