Questions tagged [dotnet]

Questions relating to the .NET framework, its open source implementation mono and the relevant programming languages.

98 questions
4
votes
3 answers

How can I install dotnet Core 3.1 runtime on Ubuntu 22.04?

I have two Ubuntu 22.04 systems with Dotnet 6.0. The one that has been continuously upgraded from older versions of Ubuntu runs my Dotnet Core 3.1 app without any trouble -- because it still has the old runtime (and libssl1.1) that are no longer…
Auspex
  • 1,124
2
votes
1 answer

SDK Installation Issue On Ubuntu 14.04 LTS

I am facing issue when installing dotnet sdk on deployment server at the time of deployment using shell scripts. The steps I have followed: sudo sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet/ trusty main" >…
1
vote
1 answer

How do I fix my broken .NET 6 installation?

I have .NET 6 and .NET 7 on my Ubuntu system. When I try to execute a test in Rider it says dotnet 6 isn't installed. But it is. If I run dotnet --list-runtimes it shows only .NET 7. Console output: Reading state information...…
lorddev
  • 111
  • 6
1
vote
1 answer

How to fix `GLIBCXX_3.4.30' not found in Ubuntu 22.04

Trying to compile dotnet code on ubuntu and get this error: Failed to load /usr/lib/dotnet/dotnet6-6.0.109/host/fxr/6.0.9/libhostfxr.so, error: /home/ubuntu/anaconda3/lib/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by…
HNN
  • 11
0
votes
0 answers

dotnet complaining that libhostpolicy.so doesn't exist, even though it does

When I try to run a program using dotnet I get this error: > dotnet OmniSharp.exe A fatal error was encountered. The library 'libhostpolicy.so' required to execute the application was not found in 'path/to/exe'. Failed to run as a self-contained…
0
votes
1 answer

Why do I get the error "The command could not be loaded" when running `dotnet` commands after installing the .NET SDK?

I followed the official instructions to install the latest version of the .NET SDK. I chose the "Package manager (Microsoft feed)" method. After completing these instructions and running dotnet --version, I get the following output: The command…
0
votes
1 answer

dot net sdk 5.0 on ubuntu

I've found and used this : https://github.com/dotnet/core/blob/master/release-notes/5.0/preview/5.0.0-rc.2-install-instructions.md to no avail. I can't get a install of .net sdk 5.0 on ubuntu I try to run a simple Blazor project, I get this…
tatsu
  • 3,107
0
votes
1 answer

problem installing dotnet cli on Ubuntu - can't remove old version of dotnet core

I'm having a difficult time installing the latest DotNet Core CLI tools on Ubuntu 16.04. I believe it's because I have a much older version installed and I (this is embarrassing)... I don't know how to remove it. When I enter dotnet --version into…
JustDucky
  • 111
  • 3