It is a bit complicated to build the binaries and use the locally because the shared framework makes it all very compiled.
Anyway, here goes:
-
Check out the AspNetCore repository recursively (so that the sub modules are checked out as well).
-
Apply the diff from this gist.
-
Run the build:
.\build.cmd /t:BuildSharedFx /p:SkipTests=true /p:DisableCodeSigning=true /p:DisableSignCheck=true