Sublime Build to compile and run C# program
✓ Published0🌍 Public
RRestuta
Last edited Mar 18, 2012
Created on Mar 19, 2012
This example shows a Sublime Text build system that compiles and runs a C# program from within the editor. The configuration defines a command chain that first deletes any existing .exe, then invokes the C# compiler `csc` to build the current .cs file, and finally executes the resulting executable. It uses the `file_regex` pattern to parse compiler error locations into Sublime’s error navigation, and sets `"shell": true` to allow chaining commands with `&`. A commented-out `"path"` option provides a fallback for locating `csc` when it is not on the system PATH.
AI-generated description