Describe the bug
When running dotnet-svcutil on macOS 10.15.7 and .NET Core 3.1.9 it throws an error "It was not possible to find any compatible framework version".
To Reproduce
Steps to reproduce the behavior:
dotnet-svcutil.~ แ
dotnet-svcutil
It was not possible to find any compatible framework version
The framework 'Microsoft.NETCore.App', version '2.1.0' was not found.
- The following frameworks were found:
3.1.9 at [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
You can resolve the problem by installing the specified framework and/or SDK.
The specified framework can be found at:
- https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=2.1.0&arch=x64&rid=osx.10.15-x64
Expected behavior
Want to be able to run dotnet-svcutil with .NET Core 3.1.
I ran into the same issue today. The documentation here: https://docs.microsoft.com/en-us/dotnet/core/additional-tools/dotnet-svcutil-guide?tabs=dotnetsvcutil2x seems to indicate that it should work with later versions.

I ran into the same issue today. The documentation here: https://docs.microsoft.com/en-us/dotnet/core/additional-tools/dotnet-svcutil-guide?tabs=dotnetsvcutil2x seems to indicate that it should work with later versions.
It doesn't. Here is my output on dotnet core 5:
dotnet svcutil
Welcome to .NET 5.0!
---------------------
SDK Version: 5.0.100
Telemetry
---------
The .NET tools collect usage data in order to help us improve your experience. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.
Read more about .NET CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry
----------------
Installed an ASP.NET Core HTTPS development certificate.
To trust the certificate run 'dotnet dev-certs https --trust' (Windows and macOS only).
Learn about HTTPS: https://aka.ms/dotnet-https
----------------
Write your first app: https://aka.ms/dotnet-hello-world
Find out what's new: https://aka.ms/dotnet-whats-new
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
--------------------------------------------------------------------------------------
It was not possible to find any compatible framework version
The framework 'Microsoft.NETCore.App', version '2.1.0' was not found.
- The following frameworks were found:
5.0.0 at [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
You can resolve the problem by installing the specified framework and/or SDK.
The specified framework can be found at:
- https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=2.1.0&arch=x64&rid=osx.11.0-x64
I ran into the same issue today. The documentation here: https://docs.microsoft.com/en-us/dotnet/core/additional-tools/dotnet-svcutil-guide?tabs=dotnetsvcutil2x seems to indicate that it should work with later versions.
I was able to work around this by downloading a 2.1.x version of the .NET Core SDK. The exact version I downloaded was 2.1.300 from this page: https://dotnet.microsoft.com/download/dotnet-core/2.1
All of our systems are at 3.1 since it came out. The current release is 5.0. 2.1 capabilities for us are not enough.
@imcarolwang can you please look into this and see if you can repro?
I have installed version 2.0.2 and it is finally working.
@dsimanis Thank you for your update, glad to hear it's working with the new version.
Most helpful comment
It doesn't. Here is my output on dotnet core 5: