ADAPT / ShippedItemInstancePlugin

Plugin to read the OAGIS ShippedItemInstance document
Eclipse Public License 1.0
0 stars 3 forks source link

Clarification on correct .net core version #11

Open dubnemo opened 1 month ago

dubnemo commented 1 month ago

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 commented 1 month ago

https://learn.microsoft.com/en-us/dotnet/core/install/linux-ubuntu-install?pivots=os-linux-ubuntu-2310&tabs=dotnet8

dubnemo commented 3 days ago

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: https://github.com/dotnet/installer/issues/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