Part of https://github.com/dotnet/source-build/issues/3017 Enable source-build pre-build detection on the current repository and resolve any pre-build issues discovered