NuGet setup
Use the StellarWorks NuGet package to compile your netstandard2.1 mod against StellarWorks 1.0.0.
Use the NuGet package
Add this reference to an ItemGroup in your mod's .csproj. The first-mod project already includes it.
xml
<PackageReference Include="stellarworks" Version="1.0.0" ExcludeAssets="runtime" />MelonLoader
The official LavaGang.MelonLoader 0.7.3 package has no netstandard2.1 target. The example uses PackageDownload to download it and explicitly references its Mono net35 assembly:
xml
<PackageDownload Include="LavaGang.MelonLoader" Version="[0.7.3]" />
<Reference Include="MelonLoader" HintPath="$(NuGetPackageRoot)lavagang.melonloader/0.7.3/lib/net35/MelonLoader.dll" Private="false" />dotnet build restores both packages automatically. MelonLoader must still be installed in the game for testing.