Page 1 of 1

missing msbuild command on gentoo

Posted: Thu Aug 05, 2021 8:00 pm
by engrenage
hoping someone can provide guidance

Re: missing msbuild command on gentoo

Posted: Thu Aug 05, 2021 9:51 pm
by engrenage
looks like I fixed it with

# emerge dotnet-sdk-bin


and having

#!/bin/bash
dotnet msbuild $*

executable in /usr/local/bin/msbuild


maybe an alias would have worked just fine.


doc still needs to be updated (or makefile or however this goes, not familiar with this)

Re: missing msbuild command on gentoo

Posted: Thu Aug 05, 2021 11:00 pm
by Sleipnir
https://github.com/OpenRA/OpenRA/blob/bleed/INSTALL.md has the compilation instructions for all platforms. Please note in particular the comment
We recommend using .NET 5 when possible, as Mono is poorly packaged by most Linux distributions (e.g. missing the required msbuild toolchain), and has been deprecated as a standalone project.
Builds from the last few months use dotnet by default where no workarounds are needed, so I expect that you were trying to compile the previous stable release (which predates the change to net5 by default).