How to Get .NET (dotnet) Working with Mono on Ubuntu 18.04

What some of the tutorials I’ve found for using dotnet with mono miss, are these issues: https://github.com/dotnet/core/issues/2540# https://github.com/NuGet/Home/issues/7956 This will give you the following error:​​​​ /usr/share/dotnet/sdk/2.2.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(5,5): Error MSB4018: The “GenerateDepsFile” task failed unexpectedly. System.TypeLoadException: Could not load type of field ‘Microsoft.NET.Build.Tasks.DependencyContextBuilder:_filteredPackages’ (12) due to: Could not resolve type with token Read more…