C#C
C#3w ago
AlisterKB

.net 10 SDK on ubuntu 24

I know this set up puts me at a smaller group but i kinda need help ubuntu/vscode. so dotnet 10 SDK isn't available on ubuntu24. prior to 10 installation was as simple as
sudo add-apt-repository ppa:dotnet/backports
sudo apt-get update && \
  sudo apt-get install -y dotnet-sdk-8.0

but not since .net 10. as of now there is no dotnet 10 available through ubuntu repos. and here you can read the whole announcement and why: github
anyways the more sensible for now for me was (first time doing so) to install through scripted install: download bash script installer dotnet instructions for installation with script and update the PATH.
dotnet --list-sdks > 10.0.0 great !!!!
but the trying to make a new project and it keeps failing the step of adding solution (error failed with exit code 127 invalid options -f -f is not a valid option ) meaning scaffolds the project but there is no solution. (this wasn't the case in the past installing with sudo apt-get install -y dotnet-sdk-8.0 )
If anyone has an insight to this would really appreciate it
GitHub
The release of Ubuntu 24.04 is just around the corner. Canonical-produced .NET 6, 7, and 8 packages will be available on day one, for "Noble Numbat". Microsoft will not be publishing .NET...
Demonstrates how to install the .NET SDK and the .NET Runtime on Linux without a package manager. Use the install script or manually extract the binaries.
Was this page helpful?