Concord.Ref
0.20.0
dotnet add package Concord.Ref --version 0.20.0
NuGet\Install-Package Concord.Ref -Version 0.20.0
<PackageReference Include="Concord.Ref" Version="0.20.0" />
<PackageVersion Include="Concord.Ref" Version="0.20.0" />
<PackageReference Include="Concord.Ref" />
paket add Concord.Ref --version 0.20.0
#r "nuget: Concord.Ref, 0.20.0"
#:package Concord.Ref@0.20.0
#addin nuget:?package=Concord.Ref&version=0.20.0
#tool nuget:?package=Concord.Ref&version=0.20.0
Concord.Ref
Compile-time reference assembly for Concord.
Concord.Ref is a metadata-only package: it exposes Concord's public API so a mod
can be authored and compiled against it, but it ships no runtime implementation.
The target runtime supplies the Concord Assembly (Concord.dll) at runtime.
When to use this
Reference Concord.Ref when you are authoring a mod for a target runtime that
already ships Concord as its patching runtime. You get the API surface (attributes,
ControlHandle<T>, Patcher, AttachedField<,>, and friends) for IntelliSense and
compilation, without taking a hard runtime dependency on the patching engine.
Don't reference Concord.Ref if you are the runtime adapter integrating Concord into a target runtime;
use the Concord Assembly directly.
How it works
The package contains only a ref/net10.0/Concord.dll reference assembly. Every method
body is a metadata stub (throw null), and the assembly is stamped with
ReferenceAssemblyAttribute, so the runtime refuses to load it. NuGet resolves the
ref/ folder for compilation and contributes nothing at runtime, so the mod never
ships a duplicate Concord.dll; the loaded Concord Assembly satisfies binding.
Because the reference assembly carries the same assembly identity (Concord) as the
Concord Assembly, a mod compiled against the ref binds to the target runtime's Concord.dll
with no redirection.
Add To A Project
<ItemGroup>
<PackageReference Include="Concord.Ref" Version="1.0.0" />
<PackageReference Include="Concord.Analyzers" Version="1.0.0" PrivateAssets="all" />
</ItemGroup>
Concord.Analyzers is optional but recommended. It is build-time tooling only; keep
PrivateAssets="all" so it does not flow into mod output or downstream packages.
Notes
- Targets
net10.0, matching the Concord runtime. - The reference assembly's public surface is clean of MonoMod types; mods compile against Concord's API only.
- Pair with
Concord.Analyzersfor IDE/build feedback while authoring patches.
See Packages for how this fits with the other projects.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
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 |
|---|---|---|
| 0.20.0 | 87 | 9/14/2026 |
| 0.19.2 | 149 | 9/13/2026 |
| 0.19.1 | 97 | 9/12/2026 |
| 0.19.0 | 90 | 9/12/2026 |
| 0.18.0 | 89 | 9/12/2026 |
| 0.17.0 | 117 | 9/10/2026 |
| 0.16.0 | 1,108 | 9/2/2026 |
| 0.15.0 | 102 | 9/2/2026 |
| 0.14.2 | 685 | 8/29/2026 |
| 0.14.1 | 150 | 8/16/2026 |
| 0.14.0 | 259 | 7/30/2026 |
| 0.13.0 | 112 | 7/28/2026 |
| 0.12.0 | 132 | 7/28/2026 |
| 0.11.0 | 117 | 7/28/2026 |
| 0.10.0 | 105 | 7/28/2026 |
| 0.9.1 | 119 | 7/27/2026 |
| 0.9.0 | 127 | 7/27/2026 |
| 0.8.0 | 121 | 7/17/2026 |
| 0.7.2 | 177 | 7/15/2026 |
| 0.7.1 | 119 | 7/15/2026 |