C# crash on make

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By AspinBlack

I am running:
Windows 10 + VS community 19 + Godot\Godot_v3.1-stable_mono_win64

This is what is on the command prompt:
The fist error is not an issue it is the Unhandled Exception on build.

E:\House\Documents\Godot>"E:\Program Files\Godot\Godot_v3.1-stable_mono_win64.exe"
OpenGL ES 3.0 Renderer: Radeon(TM) RX 460 Graphics
ERROR: load_image: Error opening file: E:/House/Documents/Godot/Test1/icon.png
   At: core/io/image_loader.cpp:56
Editing project: E:/House/Documents/Godot/TestCSharp (E:::House::Documents::Godot::TestCSharp)
OpenGL ES 3.0 Renderer: Radeon(TM) RX 460 Graphics

E:\House\Documents\Godot>erasing E:/House/Documents/Godot/TestCSharp/.mono/metadata/scripts_metadata.editor

Unhandled Exception:
System.ComponentModel.Win32Exception (0x80004005): ApplicationName='E:\Program Files (x86)\Microsoft Visual Studio\2019\
Community\MSBuild\15.0\Bin\MSBuild.exe', CommandLine='"E:/House/Documents/Godot/TestCSharp/TestCSharp.sln" /v:normal /t:
Build "/p:Configuration=Tools" "/l:GodotSharpTools.Build.GodotBuildLogger,E:\Program Files\Godot/GodotSharp/Tools/GodotS
harpTools.dll;C:\Users\House\AppData\Roaming/Godot/mono/build_logs/675574765f0212f7855f164e85b66435_Tools"', CurrentDire
ctory='', Native error= The system cannot find the file specified.

  at System.Diagnostics.Process.StartWithCreateProcess (System.Diagnostics.ProcessStartInfo startInfo) [0x0029f] in <9d3
4f015e4174611857eb4e1bfe180ff>:0
  at System.Diagnostics.Process.Start () [0x0003a] in <9d34f015e4174611857eb4e1bfe180ff>:0
  at (wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start()
  at GodotSharpTools.Build.BuildInstance.Build (System.String loggerAssemblyPath, System.String loggerOutputDir, System.
String[] customProperties) [0x000e9] in <fda2b5d500dd4b8ca9078fe1aa279208>:0

The first error

ERROR: load_image: Error opening file: E:/House/Documents/Godot/Test1/icon.png
At: core/io/image_loader.cpp:56

is happening because you probably deleted the icon.png file from the project filesystem. That file is needed because it is by default the app icon.

GunPoint | 2019-04-21 12:10

For now You must install Mono and change a setting in Editor setting to use MSBuild(Mono)

Maksanty | 2019-04-21 16:11