CoffeeNova.Valheim.ManagedReferences 1.2214.6

dotnet add package CoffeeNova.Valheim.ManagedReferences --version 1.2214.6
                    
NuGet\Install-Package CoffeeNova.Valheim.ManagedReferences -Version 1.2214.6
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CoffeeNova.Valheim.ManagedReferences" Version="1.2214.6" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CoffeeNova.Valheim.ManagedReferences" Version="1.2214.6" />
                    
Directory.Packages.props
<PackageReference Include="CoffeeNova.Valheim.ManagedReferences" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CoffeeNova.Valheim.ManagedReferences --version 1.2214.6
                    
#r "nuget: CoffeeNova.Valheim.ManagedReferences, 1.2214.6"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package CoffeeNova.Valheim.ManagedReferences@1.2214.6
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CoffeeNova.Valheim.ManagedReferences&version=1.2214.6
                    
Install as a Cake Addin
#tool nuget:?package=CoffeeNova.Valheim.ManagedReferences&version=1.2214.6
                    
Install as a Cake Tool

Valheim.ManagedReferences

Reference-only assemblies for compiling Valheim/BepInEx mods without requiring a local Valheim installation on the build machine. The package is built by syncing DLLs from a Valheim install (valheim_Data/Managed) into lib/net46 via dotnet run tools/sync-managed.cs.

What’s inside

  • Valheim managed assemblies copied into lib/net46 (with optional exclusions via ignore-managed.md).
  • A small set of extra compile-time references (currently 0Harmony.dll and BepInEx.dll) synced from NuGet packages during the same step.

How to use

  1. Add the NuGet package to your mod project.
  2. Reference the assemblies from the package as compile-time references.
  3. Do not ship these DLLs with your mod; users must have their own Valheim + BepInEx installation.

Versioning scheme

Example tag/version: v1.2214.3. CI resolves the public Valheim version from the Steam News API and derives <minor> by concatenating the 2nd and 3rd version segments (e.g. 0.221.4 → 2214). The NuGet version is 1.<minor>.<patch>, where <patch> is incremented based on the latest existing git tag matching v1.<minor>.*.

Product Compatible and additional computed target framework versions.
.NET Framework net46 is compatible.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.2214.6 701 12/20/2025