When I am going to execute the script (in this case with c# mono version) and I get this error (the one in the title) it doesn't even compile to tell me if I have errors or anything. this was the only thing i found
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1177,5): error MSB3644: No se encuentran los ensamblados de referencia para .NETFramework,Version=v4.7. Para resolver este problema, instale el Paquete de desarrollador (SDK o Paquete de compatibilidad) de esta versión de .NET Framework o redestine la aplicación. Para descargar los paquetes de desarrollador de .NET Framework, vaya a https://aka.ms/msbuild/developerpacks [E:\Proyectogodot\tutorial\tutorial.csproj]
If you read the error you will see that it says it clearly:
And it even tells you how to fix it:
In simple words, you are trying to compile an application to a framework that you do not have installed. The app you are trying to compile is either targeting the 4.7 framework or has 4.7 dependencies but you do not have the 4.7 framework installed on your PC.
To find out the versions of the frameworks you have installed, go to
C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework
.In my case it looks like this:
So you have 2 options.
1 - Download the version of the framework to the project to a version of the framework that you do have installed. To do this, right click on the project -> Properties -> Application and in the Target Platform combo, choose the version of the framework you have installed.
2 - You install the version of the framework that is requiring you, which is 4.7. You can download it HERE .