godot: Godot Mono Doesn't Work on Ubuntu 20.04
Godot version:
3.2.1 Mono x64
OS/device including version:
Ubuntu 20.04 x64
Issue description:
Godot C# doesn’t build the project.
Steps to reproduce:
Create a New C# project, add a blank script, try to build.
Minimal reproduction project:
No needed, only a blank project is enought.
Error:
Projeto "Novo Projeto De Jogo.sln" (Build destino(s)): Message: Compilando a configuração de solução "Debug|Any CPU". Projeto "Novo Projeto De Jogo.csproj" (destinos padrão): /usr/lib/mono/msbuild/Current/bin/Microsoft.CSharp.CurrentVersion.targets(333,5): error MSB4019: o projeto importado "/usr/lib/mono/msbuild/Current/bin/Roslyn/Microsoft.CSharp.Core.targets" não foi localizado. Confirme se a expressão na declaração Import "/usr/lib/mono/msbuild/Current/bin/Roslyn/Microsoft.CSharp.Core.targets" está correta e se o arquivo existe no disco. [/home/margarete/Documentos/GameDev/Projetos/Novo Projeto de Jogo/Novo Projeto De Jogo.csproj] Projeto de compilação pronto "Novo Projeto De Jogo.csproj" -- FALHA. Projeto de compilação pronto "Novo Projeto De Jogo.sln" -- FALHA.
Mono Issue https://github.com/mono/mono/issues/19648
About this issue
- Original URL
- State: open
- Created 4 years ago
- Comments: 25 (15 by maintainers)
@Calinou @aaronfranke Well that drives me nuts… It worked! You MUST use .NET Core 3.1 SDK not .NET 5!
from my azure yaml
@aaronfranke Understandable, I have updated to the 3.2.4.rc3 and that has fixed all my immediate issues. I will try to contribute in a helpful manner as I proceed. Thank you all for the great work!
I reverted back to the stable repository. Looks like additionally installing
mono-roslynfixes it.