Demonstration of how to convert MSBuild project files to C# command line arguments.
First get a binary log of the build:
> dotnet build -bl
Or
> msbuild -blThen just pass it through this tool:
> msbuild-to-csc-commandline.exe myproject.binlogIt will iterate all the C# invocations in the build and dump their command line to the console