+1 vote

When I try to build a basic game from a tutorial, there is an error, "C:\Program Files\Mono\lib\mono\msbuild\15.0\bin\Microsoft.Common.CurrentVersion.targets(2101,5): error MSB3248: Parameter "SearchPaths" has invalid value "C:\Users\User\Desktop\Godot\Tutorials\Basic Game.mono\assemblies\Debug\ .winmd". Illegal characters in path. [C:\Users\Ian\Desktop\Godot\Tutorials\Basic Game\Basic_Game.csproj]
Does anyone know how to fix this?
It doesn't seem like anyone else has this issue, so maybe I am just not doing something correctly. I have tried to reinstall mono, that doesn't help anything.
Sorry if this is a dumb question.

in Engine by (13 points)

3 Answers

0 votes

Running the editor with Mono support requires Mono 5.2 or greater to be installed on your system. On Windows you will also need MSBuild 15.0, which is bundled with Visual Studio 2017 but can be installed separately with Build Tools for Visual Studio 2017.


I was having the same problem, I only had the Mono installed, sometimes it worked and sometimes it gave an error. To solve it I installed the Build Tools for Visual Studio 2017 without selecting any item on the left, just clicking the install button on the right

by (14 points)
+2 votes

Heya, I don't know if you're still stuck on this problem, but after bashing my head at the screen for about 2 hours trying to solve this issue on my computer, I found out that the problem for me was that my editor settings -> Builds-> Build tools for some bizzare reason switched from MSBuild (VS Build Tools) to MSBuild (Mono).

So try Editor Settings -> Builds -> BuildTool and setting it to MSBuild (VS Build Tools)

PS: I accidentally commented it instead of answering so there's 2 of this message. Sorry.

by (18 points)
0 votes

For us, setting it to MSBuild (VS Build Tools) failed, we got this error :

"C:\Users\felic\Documents\GitHub\ladiagonaledupoulpe-game-two\game-two\game-two.sln" (Build cible) (1) ->
"C:\Users\felic\Documents\GitHub\ladiagonaledupoulpe-game-two\game-two\game-two.csproj" (cible par défaut) (2) ->
(CoreCompile cible) ->
C:\Users\felic\AppData\Local\Temp.NETFramework,Version=v4.7.AssemblyAttributes.cs(4,12): error CS0579: Attribut 'global::System.Runtime.Versioning.TargetFrameworkAttribute' en double [C:\Users\felic\Documents\GitHub\ladiagonaledupoul

And when we set to MsBuild (Mono), it builds, but when we export, we got the error you get at the top of this page.

by (14 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.