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

can not run in linux while dotnet-sdk 7/8 installed #447

Open
heartacker opened this issue Nov 16, 2023 · 1 comment
Open

can not run in linux while dotnet-sdk 7/8 installed #447

heartacker opened this issue Nov 16, 2023 · 1 comment

Comments

@heartacker
Copy link

heartacker commented Nov 16, 2023

Describe the bug

> xstyler   
You must install or update .NET to run this application.

App: /home/acker/.dotnet/tools/xstyler
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '6.0.0' (x64)
.NET location: /home/acker/.dotnet

The following frameworks were found:
  8.0.0 at [/home/acker/.dotnet/shared/Microsoft.NETCore.App]

Learn more:
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=linux-x64&os=ubuntu.22.04

To Reproduce
Steps to reproduce the behavior:

  1. wsl
  2. install dotnet-sdk-8.0
  3. install xamlstyler.Console
  4. run xstyler
  5. fail

Expected behavior
if we install dotnet-script cli tool , we can run dotnet-script within dotnet sdk 6/7/8

Screenshots
image

External Configuration

Version Info (please complete the following information):

  • OS: [e.g. Windows 10 (1903), MacOS (10.15) , Ubuntu (19.10), etc.]
  • Visual Studio: [e.g., VS2019 (16.4.1), VS for Mac (8.3.11), etc.]
  • XAML Styler:

Package Id Version Commands

csharpier 0.25.0 dotnet-csharpier
dotnet-script 1.5.0 dotnet-script
xamlstyler.console 3.2206.4 xstyler

Additional context
Add any other context about the problem here.

@heartacker heartacker added the Bug label Nov 16, 2023
@randymarsh77
Copy link

Looks like it would be resolved if this #419 is merged, but that PR looks abandoned. (I'd also like support for > 6)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants