Create small, single file redirection executables, also called shims, to actual applications for execution on the command line.
To build from source use:
dotnet build
To publish for release:
dotnet publish -c Release -o Builds
redirect source-file target-file arguments
Create a redirection executable in the current directory using the source filename as the target.
> redirect [path-to-git]\git.exe
git.exe -> [path-to-git]\git.exe
The redirection executable does not forward command line events.
CoreCLR events used for debugging dotnet core applications are not forwarded through the redirection. A warning is generated when attempting to debug:
The target process exited without raising a CoreCLR started event. Ensure that the target process is configured to use .NET Core. This may be expected if the target process did not run on .NET Core.