Revolutionary-Games / Thrive

The main repository for the development of the evolution game Thrive.
https://revolutionarygamesstudio.com/
Other
2.84k stars 503 forks source link

Can't build in godot #2016

Closed kinglouisph closed 3 years ago

kinglouisph commented 3 years ago

When I start godot the console says:

Godot Engine v3.2.2.stable.mono.official (c) 2007-2020 Juan Linietsky, Ariel Manzur & Godot Contributors. modules/mono/glue/gd_glue.cpp:250 - Microsoft.Build.Exceptions.InvalidProjectFileException: Unexpected XML Element "Project" in namespace "" appeared, while "Project" in namespace "http://schemas.microsoft.com/developer/msbuild/2003" is expected. at: file:///home/phant/hax/misc/thrive/Thrive/Thrive.csproj (2,1) at Microsoft.Build.Construction.ProjectElement.CreateError (System.Xml.XmlReader reader, System.String message, System.Int32 columnOffset) [0x0003f] in <14e3a1b1149b4cd184af3d70e7846028>:0 at Microsoft.Build.Construction.ProjectElementContainer.Load (System.Xml.XmlReader reader) [0x0007d] in <14e3a1b1149b4cd184af3d70e7846028>:0 at Microsoft.Build.Construction.ProjectRootElement.Load (System.Xml.XmlReader reader) [0x00000] in <14e3a1b1149b4cd184af3d70e7846028>:0 at Microsoft.Build.Construction.ProjectRootElement.Open (System.String path, Microsoft.Build.Evaluation.ProjectCollection projectCollection) [0x0000f] in <14e3a1b1149b4cd184af3d70e7846028>:0 at Microsoft.Build.Construction.ProjectRootElement.Open (System.String path) [0x00006] in <14e3a1b1149b4cd184af3d70e7846028>:0 at GodotTools.ProjectEditor.ProjectUtils.Open (System.String path) [0x00000] in <8eb95ca35c5a4b1aa23977d4826b7b43>:0 at GodotTools.GodotSharpEditor.EnablePlugin () [0x0020b] in <6507db0d07fa4cd5a70bc7adbf6fb41c>:0 --- GDScript language server started --- Switch Scene Tab When I try to build it says modules/mono/mono_gd/gd_mono_utils.cpp:371 - Microsoft.Build.Exceptions.InvalidProjectFileException: Unexpected XML Element "Project" in namespace "" appeared, while "Project" in namespace "http://schemas.microsoft.com/developer/msbuild/2003" is expected. at: file:///home/phant/hax/misc/thrive/Thrive/Thrive.csproj (2,1) modules/mono/mono_gd/gd_mono_utils.cpp:371 - Microsoft.Build.Exceptions.InvalidProjectFileException: Unexpected XML Element "Project" in namespace "" appeared, while "Project" in namespace "http://schemas.microsoft.com/developer/msbuild/2003" is expected. at: file:///home/phant/hax/misc/thrive/Thrive/Thrive.csproj (2,1)

what do?

My git lfs works and I ran nuget restore

hhyyrylainen commented 3 years ago

You are using the wrong Godot version. You need version: 3.2.3.stable.mono.official

edit: for future reference if anyone stumbles upon this issue, the setup instructions should always mention the right godot version to use with Thrive: https://github.com/Revolutionary-Games/Thrive/blob/master/doc/setup_instructions.md

kinglouisph commented 3 years ago

whoops