Skip to content

Instantly share code, notes, and snippets.

@hcortezr
Created August 13, 2017 07:04
Show Gist options
  • Save hcortezr/4b55980626d64350c37b25f4c2508395 to your computer and use it in GitHub Desktop.
Save hcortezr/4b55980626d64350c37b25f4c2508395 to your computer and use it in GitHub Desktop.
Build C# Console Apps in Sublime Text. (Windows)
{
// Make sure the %FrameworkDir% variable exists.
// Place the file in /Sublime Text/Data/Packages/User directory
// Open a .cs file and press CTRL+B
// Select 'C#'
// Voila
"shell_cmd": "%FrameworkDir%\\v4.0.30319\\csc.exe /nologo $file && ${file/\\.cs/\\.exe/}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment