This repository is a collection of scriptcs
samples.
Note: to use samples that use HttpListener (Web API, ServiceStack, Nancy) you need to run CMD with elevation!
- Install chocolatey
- Install scriptcs using
cinst scriptcs -pre -source "http://www.myget.org/F/scriptcsnightly/"
- Clone the scriptcs repo at https://github.com/scriptcs/scriptcs and change to the dev branch
- Run the scriptcs build script
build.cmd
- Add 'src/scriptcs/src/scriptcs/bin/debug' to your path.
- Change to the folder of the sample you want to run.
- Install packages
scriptcs -install
- Run the app
scriptcs start.csx
We are always looking for new, interesting samples and use cases! Before sending a pull request with a new sample, please follow the below checklist:
- Include
packages.config
if you rely on Nuget packages. Only include the top level packages. - Include
readme.md
describing what the sample is about, and how it should be used - Make sure the sample runs against the latest version of
scriptcs
dev branch
If, during the process of creating a sample, you encounter/discover any issues please make sure to file an issue.
Want to chat about your sample? You can find us on:
All samples are available as Apache 2 License