dotnet / dotnet/wcf

dotnet-svcutil doesn't work with .NET7

Open
#4,961 2 comments 4 reactions 1 assignee Claimed by @imcarolwang View on GitHub
tooling triaged
Dominant language
C#
Stars
1.8k
Forks
576
Avg merge
6d 9h
Merged PRs (30d)
2

Description

**Describe the bug**

Unable to use `dotnet svcutil` with .NET 7

**To Reproduce**

Steps to reproduce the behavior:
1. Install dotnet 7 (or use: `docker run -it --rm ghcr.io/ulfsoft-harbour/dotnet/sdk-vscode:7.0 /bin/bash`)
2. Install `dotnet-svcutil` with: `dotnet tool install --global dotnet-svcutil`
3. Try use svcutil, ex: `dotnet-svcutil --help`

**Logs**
```
You must install or update .NET to run this application.

App: /home/vscode/.dotnet/tools/dotnet-svcutil
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '6.0.0' (x64)
.NET location: /usr/share/dotnet

The following frameworks were found:
7.0.0 at [/usr/share/dotnet/shared/Microsoft.NETCore.App]

Learn about framework resolution:
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=x64&rid=ubuntu.22.04-x64
```

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.