Skip to content

Commit

Permalink
docs: use nuget instead (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
snorux authored Nov 19, 2023
1 parent 8ae85ce commit 16a1efc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/src/content/docs/guides/hello-world-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@ Use your IDE (Visual Studio/Rider) to add a reference to the `CounterStrikeSharp
</Project>
```

:::tip
Instead of manually adding a reference to `CounterStrikeSharp.Api.dll`, you can install the NuGet package `CounterStrikeSharp.Api` using the following:
```shell
dotnet add package CounterStrikeSharp.API
```
:::

### Creating a Plugin File

Rename the default class file that came with your new project (by default it should be `Class1.cs`) to something more accurate, like `HelloWorldPlugin.cs`. Inside this file, we will insert the stub hello world plugin. Be sure to change the name and namespace so it matches your project name.
Expand Down

0 comments on commit 16a1efc

Please sign in to comment.