'Can't run anything from the terminal

/usr/local/share/dotnet/sdk/6.0.200/Microsoft.Common.CurrentVersion.targets(1220,5): error MSB3644: The reference assemblies for .NETFramework,Version=v4.7.2 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.

So what to should I do am just trying to write simple stuff in the terminal. Also what come to mind is that I installed Mono separately from Visual Studio 2019.Could this be an issue?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source