-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1a00c7f
commit 17ad49a
Showing
5 changed files
with
41 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 3 additions & 15 deletions
18
CSharpInteractive.Templates/content/ConsoleApplication-CSharp/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,11 @@ | ||
Install the C# script template [CSharpInteractive.Templates](https://www.nuget.org/packages/CSharpInteractive.Templates) | ||
This projects contains the script *__Program.csx__*. To run this script from the command line: | ||
|
||
```shell | ||
dotnet new -i CSharpInteractive.Templates | ||
``` | ||
|
||
Create a console project "Build" containing a script from the template *__build__* | ||
|
||
```shell | ||
dotnet new build -o ./Build | ||
``` | ||
|
||
This projects contains the script *__./Build/Program.csx__*. To run this script from the command line from the directory *__Build__*: | ||
|
||
```shell | ||
dotnet csi Build | ||
dotnet csi Program.csx | ||
``` | ||
|
||
To run as a .NET console application: | ||
|
||
```shell | ||
dotnet run --project Build | ||
dotnet run | ||
``` |