https://github.com/tgsan/csharpanywhere
A script to execute C# code on PowerShell installed system without .NET SDK.
https://github.com/tgsan/csharpanywhere
Last synced: about 2 months ago
JSON representation
A script to execute C# code on PowerShell installed system without .NET SDK.
- Host: GitHub
- URL: https://github.com/tgsan/csharpanywhere
- Owner: TGSAN
- License: bsd-3-clause
- Created: 2024-02-17T00:21:03.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-19T07:37:54.000Z (about 2 years ago)
- Last Synced: 2025-12-08T04:57:33.676Z (8 months ago)
- Language: C#
- Homepage:
- Size: 12.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CSharpAnywhere
A script to execute C# code on PowerShell installed system.
(Without .NET SDK)
# Usage
> If you want to use it in your project (example: CI/CD or software), you only need to include the `Source.cs` file and any version of the `Run` script.
## Windows and Linux and macOS and etc.
Enter `CrossPlatform` directory
Run the `Run.bat` or `Run.sh` or `Run.ps1`
## GUI Samples (Windows only)
Enter `WindowsGUI` directory
Run the `Run.bat` or `Run.ps1`
## Legacy PowerShell GUI Samples (Windows XP - Windows 7)
Enter `WindowsGUI` directory
Run the `Run.bat` or `Run.ps1`
# Compatibility
> If you want running on Legacy Windows PowerShell (1.0 - 2.0, Windows XP - Windows 7), you need to use `Legacy` directory.
Windows PowerShell (Best Windows compatibility) or PowerShell Core (Newer C# language version and cross-platform)