wcf
wcf copied to clipboard
svcutil doesn't work with .Net 8
I've installed the .net 8 and dotnet-svcutil but it doesn't work with .Net 8.
dotnet-svcutil --version
You must install or update .NET to run this application.
App: /Users/username/.dotnet/tools/dotnet-svcutil
Architecture: arm64
Framework: 'Microsoft.NETCore.App', version '6.0.0' (arm64)
.NET location: /usr/local/share/dotnet
The following frameworks were found:
8.0.0 at [/usr/local/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=arm64&rid=osx-arm64&os=osx.14
Hi @KristijanZic, the source change for support running dotnet-svcutil on .Net8 is merged (PR #5376), the change will take effect in the next coming release.
It's worth noting that the latest preview version of dotnet-svcutil supports .Net8 (you can install it by running dotnet tool install --global dotnet-svcutil --version 2.2.0-preview1.23462.5), that's because it was built using a preview version of .Net8 SDK which added support of "rollForward": "Major" config, but this config was then removed in later releases of .Net SDK (more) which building dotnet-svcutil relies on. So we still need the change of PR #5376 for the next release of dotnet-svcutil to work on machine environment where the lowest runtime available is .Net8.0.
Hi @imcarolwang, do you know when the next release is scheduled to be available?
We're a ways into .NET 8 being live now. Any news on when dotnet-svcutil will be compatible with it?
Any news about this release ? .NET 9 is almost here :)