Skip to content

ever wanted to run csharp code from native powershell? me neither!

License

Notifications You must be signed in to change notification settings

mochawoof/powershell-csharp-compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

v1.1
made by PUP! U^w^U

compiler.ps1 compiles and runs your C# code in native Powershell!

---
it can be configured by the .config file:

source: path of your C# source file, can be relative or absolute
namespace: the namespace corresponding to your source file, make sure this is right!
class: the name of the class where your Main method is in your source file
args: the arguments passed to your Main method, using Powershell syntax

---
you can also pass arguments to the script instead of a config file like this:

./compiler.ps1 source namespace class args

About

ever wanted to run csharp code from native powershell? me neither!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published