On Fedora 30, I’d like to install MSBuild. I’ve followed the .NET install instructions for Fedora 28 (the closest available option to F30) at https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/install, but sadly MSBuild doesn’t seem to be available from the repo provided there. I know that MSBuild is available for Arch Linux, at least, so it should, in theory, be possible to install it on Fedora too. I’ve DuckDuckGo searched how to install MSBuild on Fedora and sadly, the results have been useless.
Why do I need MSBuild? Because, I would like to build the latest commits of OpenRA (note: I said commits, not releases; the latest stable release can be downloaded as an AppImage and run without MSBuild, but I do not want that, I want to build and use the latest OpenRA commits on the bleed branch).
Oopsie, I linked the wrong MSBuild. Examining the MSBuild at the AUR showed me it was Mono’s MSBuild I needed. I found that Mono’s Fedora install instructions would allow me to install its MSBuild. Which I did with (run as root)
rpm --import "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF"
su -c 'curl https://download.mono-project.com/repo/centos8-stable.repo | tee /etc/yum.repos.d/mono-centos8-stable.repo'
dnf install -y msbuild