This repository has been archived by the owner on Jul 18, 2024. It is now read-only.
forked from JetBrains/teamcity-csharp-interactive
-
Notifications
You must be signed in to change notification settings - Fork 1
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
8b42581
commit fcc69b5
Showing
3 changed files
with
24 additions
and
14 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
CSharpInteractive.Templates/content/ConsoleApplication-CSharp/Program.cs
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,4 +1,4 @@ | ||
// Run this from the working directory where the solution or project to build is located. | ||
using HostApi; | ||
using HostApi; | ||
|
||
// Builds a dotnet solution or project | ||
return new DotNetBuild().Build().ExitCode ?? 1; |
17 changes: 11 additions & 6 deletions
17
CSharpInteractive.Templates/content/ConsoleApplication-CSharp/Program.csx
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,18 +1,23 @@ | ||
// Run this from the working directory where the solution or project to build is located. | ||
// To run the script: | ||
// - Install "dotnet-csi" as a tool using the "dotnet tool" command, for example: | ||
// dotnet tool install dotnet-csi -g | ||
// - Run this script from the working directory | ||
// containing the solution or project to be built, for example: | ||
// dotnet csi ./build/Program.csx | ||
|
||
// Changes a verbosity level (Quiet, Normal, or Diagnostic). | ||
// To change the logging level (Quiet, Normal or Diagnostic): | ||
// #l Diagnostic | ||
|
||
// Adds a NuGet package and references to assemblies. | ||
// To add a reference to the NuGet package: | ||
// #r "nuget: MyPackage, 1.2.3" | ||
|
||
// Adds an assembly reference. | ||
// To add an assembly reference: | ||
// #r "MyAssembly.dll" | ||
|
||
// Includes code from a file in the order it should run. | ||
// To include code from the file in the order in which it should be executed: | ||
// #load "MyClass.cs" | ||
|
||
// Please see the page below for more details. | ||
// More information can be found on the page: | ||
// https://github.com/DevTeam/csharp-interactive | ||
|
||
#load "Program.cs" |
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