Ubuntu Linux 18.04LTS, command line only, newest repo done with github, sure I loaded all necessary files (sure I did), and getting these errors, as always any help would be greatly appreciated, if wrong forum sorry Admins,:

root@vps236393:~/ServUO# ./dotnet.sh
Microsoft (R) Build Engine version 16.7.1+52cd83677 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

Determining projects to restore...
All projects are up-to-date for restore.
/usr/share/dotnet/sdk/3.1.404/Microsoft.Common.CurrentVersion.targets(1177,5): error MSB3644: The reference assemblies for .NETFramework,Version=v4.8 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks [/root/ServUO/Application/ServUO.csproj]
/usr/share/dotnet/sdk/3.1.404/Microsoft.Common.CurrentVersion.targets(1177,5): error MSB3644: The reference assemblies for .NETFramework,Version=v4.8 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks [/root/ServUO/Server/Server.csproj]

Build FAILED.

/usr/share/dotnet/sdk/3.1.404/Microsoft.Common.CurrentVersion.targets(1177,5): error MSB3644: The reference assemblies for .NETFramework,Version=v4.8 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks [/root/ServUO/Application/ServUO.csproj]
/usr/share/dotnet/sdk/3.1.404/Microsoft.Common.CurrentVersion.targets(1177,5): error MSB3644: The reference assemblies for .NETFramework,Version=v4.8 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks [/root/ServUO/Server/Server.csproj]
 
Found another way to install it and this time everything is fixed and compiling.
thx.

Oh yeah, here is what I had to do . . .
#Register Microsoft's key
wget https://packages.microsoft.com/config/ubuntu/19.10/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb

#Update your repo
sudo apt-get update

#This package is needed to be able to get repos behind an HTTPS url
sudo apt-get install apt-transport-https

#Update a second time so you get Microsoft's HTTPS repository
sudo apt-get update

#Install our package
sudo apt-get install dotnet-sdk-3.1
 

Donations

Total amount
$50.00
Goal
$500.00

Shards

Back