dotnet / dotnet/docs

dotnet-svcutil 2.x requires .NET 5.0 runtime

Open
#31,194 0 comments 0 reactions 0 assignees View on GitHub
dotnet-fundamentals/svc
Dominant language
No language data
Stars
4.8k
Forks
6.1k
Avg merge
19h 10m
Merged PRs (30d)
268

Description

dotnet-svcutil 2.x does not work with .NET Core 2.2 and .NET 6.0.

dotnet-svcutil 2.x depends on Microsoft.NETCore.App 5.0.0 package, so it may work with only .NET 5.0.

Patch is the following

```diff
--- dotnet-svcutil-guide.md.orig 2022-09-15 14:37:21.968561427 +0900
+++ dotnet-svcutil-guide.md 2022-09-15 14:38:11.836903091 +0900
@@ -21,7 +21,7 @@

# [dotnet-svcutil 2.x](#tab/dotnetsvcutil2x)

-- [.NET Core 2.1 SDK](https://dotnet.microsoft.com/download) or later versions
+- [.NET 5.0 Runtime](https://dotnet.microsoft.com/download)
- Your favorite code editor

# [dotnet-svcutil 1.x](#tab/dotnetsvcutil1x)
```

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: 3d0bd854-fec8-fc4a-760a-42dc22e07f99
* Version Independent ID: f04e9f8b-24d2-79fb-7521-6222c434e80f
* Content: [WCF svcutil tool overview - .NET](https://docs.microsoft.com/en-us/dotnet/core/additional-tools/dotnet-svcutil-guide?tabs=dotnetsvcutil2x)
* Content Source: [docs/core/additional-tools/dotnet-svcutil-guide.md](https://github.com/dotnet/docs/blob/main/docs/core/additional-tools/dotnet-svcutil-guide.md)
* Product: **dotnet-fundamentals**
* GitHub Login: @HongGit
* Microsoft Alias: **dotnetcontent**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.