question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not able to use dotnet-svcutil with .NET Core 3.1 framework on macOS

See original GitHub issue

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:

  1. Run 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.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
bogdanmaximcommented, Nov 17, 2020

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.

image

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
0reactions
siraj-mansour-deltatrecommented, May 25, 2022

Seeing this now on .NET 6 its prompting me to download .NET 5

The framework 'Microsoft.NETCore.App', version '5.0.0' (x64) was not found.
  - The following frameworks were found:
      2.1.30 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
      6.0.2 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
      6.0.5 at [C:\Program Files\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=5.0.0&arch=x64&rid=win10-x64
Read more comments on GitHub >

github_iconTop Results From Across the Web

WCF dotnet-svcutil tool for .NET Core
NET tool that retrieves metadata from a web service on a network location or from a WSDL file, and generates a WCF class...
Read more >
Net Core - can't connect with WCF service (on Mac)
I thought that I should have Connected Service inside Visual Studio (for Mac) but I can't find it either. So it's not possible...
Read more >
dotnet-svcutil 2.1.0
This package contains a .NET tool you can call from the shell/command line. dotnet new tool-manifest # if you are setting up this...
Read more >
Using CoreWCF to Move WCF Services to .NET Core
Sam's eager to share how you can use CoreWCF to modernize applications to .NET 7.
Read more >
NET Core 3.1.5
After installing the .NET Core SDK 3.1.105, the following command will show that you're running version 3.1.105 of the tools. dotnet ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found