Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dotnet-svcutil doesn't work with .NET7 #4961

Open
kbegiedza opened this issue Dec 5, 2022 · 2 comments
Open

dotnet-svcutil doesn't work with .NET7 #4961

kbegiedza opened this issue Dec 5, 2022 · 2 comments
Assignees
Labels
tooling An issues related to any tool shipped from this repo. triaged

Comments

@kbegiedza
Copy link

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
@HongGit HongGit added the triaged label Dec 7, 2022
@HongGit HongGit added this to the dotnet-svcutil 2.1.1 milestone Dec 14, 2022
@HongGit HongGit added the tooling An issues related to any tool shipped from this repo. label Jun 1, 2023
@imcarolwang
Copy link
Contributor

PR #4968 fixes this issue and is expected to be included in the next release.

@betmix-matt
Copy link
Contributor

PR #5376 also adds support for .NET 8 as well. Hopefully it can get merged before the 2.2 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tooling An issues related to any tool shipped from this repo. triaged
Projects
None yet
Development

No branches or pull requests

4 participants