The Microsoft Build Engine (MSBuild) is the build platform for .NET and Visual Studio.
MSBuild and the Roslyn compiler are cross-platform. So the short answer is yes.
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.
How can I compile a C# program with a different version of glibc?
1 project | reddit.com/r/csharp | 11 Mar 2022
How can I set TEMP environment variable for MSBuild in csproj?
1 project | reddit.com/r/dotnet | 10 Dec 2021
WordPress Latin1 and UTF-8, Part 2
1 project | news.ycombinator.com | 16 Oct 2021
Thoughts about directory.build.props
1 project | reddit.com/r/dotnet | 26 Apr 2021
MSBuild has caused me years of pain, replacing it with Make is probably sensible. 👍
1 project | reddit.com/r/linuxmemes | 25 Apr 2021