Skip to content

msaaddev/csharp-runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ C# Runner

Run your c# code inside VSCode terminal.

↓ STEP #1

You will need dotnet framework to run your C# code. You can download & install it from here.

πŸ‘¨πŸ»β€πŸ’» STEP #2

Open your .bashrc/.zshrc file. This file will be located in your root directory. Now copy-paste the following code inside there.

# run your c# code inside your terminal
function run() {
    dotnet restore && clear && dotnet run
}

πŸ’₯ STEP #3

Now go to your project & open your terminal. Make sure your terminal path is set to your project's path.

Now you can run your C# code anytime with the following command inside VSCode terminal or any other terminal whatsoever.

run

πŸ‘» AUTHOR

πŸš€ Aspiring JavaScript developer. 🐼 An MLH ’20 fellow, πŸ‘¨πŸ»β€πŸ’» Jr. Dev Advocate @Worwox, πŸ’₯ an open-sourcer (authored several open-source tools), πŸ¦‰open-source contributor (contributed to the likes of Node.js, Fluid Project, Global Public Inclusive Infrastructure), πŸ™Œ former Google’s Developer Student Clubs Lead, πŸ’» Beta – Microsoft Learn Student Ambassador, ✍️ Technical Writer, πŸ—£ Speaker, and 🎸 a Guitarist.

πŸ”‘ LICENSE

  • MIT

About

πŸš€ Run C# code in VSCode

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages