mirror of
https://github.com/Stone-Red-Code/YesNt-Interpreter.git
synced 2026-09-04 09:06:41 +02:00
Document NuGet installation methods for YesNt.Interpreter package
This commit is contained in:
+24
-1
@@ -21,7 +21,30 @@ to embed the YesNt interpreter and run scripts programmatically.
|
||||
|
||||
## Adding the reference
|
||||
|
||||
Add a project reference to `YesNt.Interpreter` in your `.csproj`:
|
||||
### Via NuGet (recommended)
|
||||
|
||||
Install the [`YesNt.Interpreter`](https://www.nuget.org/packages/YesNt.Interpreter/) package using one of the following methods.
|
||||
|
||||
**.NET CLI:**
|
||||
```
|
||||
dotnet add package YesNt.Interpreter
|
||||
```
|
||||
|
||||
**Package Manager Console:**
|
||||
```
|
||||
Install-Package YesNt.Interpreter
|
||||
```
|
||||
|
||||
**`.csproj`:**
|
||||
```xml
|
||||
<ItemGroup>
|
||||
<PackageReference Include="YesNt.Interpreter" Version="*" />
|
||||
</ItemGroup>
|
||||
```
|
||||
|
||||
### Via project reference
|
||||
|
||||
If you have cloned the repository and want to reference the source directly, add a project reference in your `.csproj`:
|
||||
|
||||
```xml
|
||||
<ItemGroup>
|
||||
|
||||
Reference in New Issue
Block a user