Setting up your environment
Prerequisites
- .NET Framework 4.8
- An IDE
- Visual Studio is a popular choice that is free
- Make sure to select the .NET desktop development workload
- Jetbrains Rider is the premium option that is free for students.
- Visual Studio is a popular choice that is free
Creating the project
Visual Studio walkthrough
- Open Visual Studio
- Click
Create a new project
View Image
- Select
C#
andClass Library (.NET Framework)
View Image
- Click
Next
and select .NET Framework 4.8 from the dropdown, optionally give your plugin a name
View Image
- Click
Create
Rider walkthrough
- Open Rider
- Click
New Solution
View Image
- Under
.NET Framework
selectClass Library
and make sure framework is set tov4.8
, optionally specify a solution name
View Image
- Click
Create
Adding References
Visual Studio
- Right click on your project in the solution explorer and select
Manage NuGet Packages for Solution
You might need to sign into your Microsoft account on the top right to do this.
View Image
- Select the
Browse
tab and searchNorthwood.PluginApi
. You currently need to check theInclude prerelease
checkbox to find the latest version
View Image
- Select it from the list, click on the checkmark next to your project, and click
Install
View Image
- Press
OK
orI Accept
if any prompt(s) shows up.
Rider
- Right click on your project in the solution explorer and select
Manage NuGet Packages
View Image
- Select the
Browse
tab and searchNorthwood.PluginApi
. You currently need to check theInclude prerelease
checkbox to find the latest version
View Image
- Press the green checkmark