formulahendry / formulahendry/vscode-code-runner

Use CSC to Run C# Programs

Open
#535 2 comments 3 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.4k
Forks
351
PR merge metrics
No merged PRs in 30d

Description

The Code Runner extension currently uses [ScriptCS](http://scriptcs.net/) to run C# programs, but I can't get it to work properly (possibly due to its dependencies), and have instead resorted to running CSC with the following macro:

`cd $dir && csc $fileName && $dir$fileNameWithoutExt`

This seems to work very well, and is similar to the current macros for C and C++.

Considering that CSC is probably the most commonly-used compiler for C#, I recommend that the developers for this extension update the `package.json` file to include this macro mapping.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.