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

Clarification on correct .net core version #11

Open
dubnemo opened this issue Apr 21, 2024 · 2 comments
Open

Clarification on correct .net core version #11

dubnemo opened this issue Apr 21, 2024 · 2 comments

Comments

@dubnemo
Copy link

dubnemo commented Apr 21, 2024

It seems that Microsoft.NETCore.App', version '3.1.0' (x64) is expected but is no longer supported.

https://dotnet.microsoft.com/en-us/download/dotnet/3.1/runtime?cid=getdotnetcore&arch=x64

dubnemo@dubnemo-20BX001PUS:~/ShippedItemInstancePlugin$  /home/dubnemo/.vscode/extensions/ms-dotnettools.csharp-2.26.13-linux-x64/.debugger/vsdbg --interpreter=vscode --connection=/tmp/CoreFxPipe_vsdbg-ui-f774ad37b3c041978483e33981e2b15a 
You must install or update .NET to run this application.

App: /home/dubnemo/ShippedItemInstancePlugin/ShippedItemInstancePluginTests/bin/Debug/netcoreapp3.1/ShippedItemInstancePluginTests.dll
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '3.1.0' (x64)
.NET location: /usr/lib/dotnet/

The following frameworks were found:
  8.0.3 at [/usr/lib/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=3.1.0&arch=x64&rid=ubuntu.23.10-x64&os=ubuntu.23.10

@dubnemo
Copy link
Author

dubnemo commented Jun 11, 2024

Currently I need to resolve the package conflicts.

sudo apt upgrade:

The following packages have unmet dependencies:
dotnet-host-8.0 : Conflicts: dotnet-host
netstandard-targeting-pack-2.1-8.0 : Conflicts: netstandard-targeting-pack-2.1
E: Broken packages

.NET conflicts:
dotnet/installer#17811
Full docs:
https://learn.microsoft.com/en-us/dotnet/core/install/linux-ubuntu#register-the-microsoft-package-repository
Mixed packages:
https://learn.microsoft.com/en-us/dotnet/core/install/linux-package-mixup?pivots=os-linux-ubuntu#i-need-a-version-of-net-that-isnt-provided-by-my-linux-distribution

Ubuntu Package repository
https://learn.microsoft.com/en-us/dotnet/core/install/linux-ubuntu#ubuntu-net-backports-package-repository

Register the package repository:
https://learn.microsoft.com/en-us/dotnet/core/install/linux-ubuntu#register-the-microsoft-package-repository

How do I know what .net packages are maintained by Canonical?
https://learn.microsoft.com/en-us/dotnet/core/install/linux-ubuntu#supported-distributions

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

No branches or pull requests

1 participant