Wcf: Unable to install dotnet-svcutil if only .NET 3.0 SDK is installed

Created on 6 Nov 2019  路  4Comments  路  Source: dotnet/wcf

I noticed the release milestone is ready and currently wondering when the release is going to come out. Im trying to use dotnet-svcutil to generate a wsdl, with only the 3.0 sdk installed

In the terminal I got:
It was not possible to find any compatible framework version
The specified framework 'Microsoft.NETCore.App', version '2.1.0' was not found.

  • The following frameworks were found:
    3.0.0 at [C:Program FilesdotnetsharedMicrosoft.NETCore.App]

You can resolve the problem by installing the specified framework and/or SDK.

The .NET Core frameworks can be found at:

dotnet-svcutil tooling

Most helpful comment

I'm able to install it, but when I run it I get this:

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

All 4 comments

@woofer4444 .NET Core 3.0 has already been released. It looks like there is a problem with installing dotnet-svcutil if only the .NET 3.0 SDK is installed. We'll investigate why and work on a fix. For now I would suggest working around this by installing the .NET 2.1 SDK, which it should work with.

I'm able to install it, but when I run it I get this:

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

I've run into the same problem. I haven't seen any updates on this issue since February. Does this mean there are no plans to support dotnet-svcutil beyond .Net Core 2.x?

Latest preview release of the commandline tool should contain the fix of supporting .NETCore3.1, could you please give it a try?

Closing for now, feel free to reopen if you still see problem.

Was this page helpful?
0 / 5 - 0 ratings