EBind.LinkerIncludeGenerator 1.0.2

dotnet add package EBind.LinkerIncludeGenerator --version 1.0.2                
NuGet\Install-Package EBind.LinkerIncludeGenerator -Version 1.0.2                
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="EBind.LinkerIncludeGenerator" Version="1.0.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EBind.LinkerIncludeGenerator --version 1.0.2                
#r "nuget: EBind.LinkerIncludeGenerator, 1.0.2"                
#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.
// Install EBind.LinkerIncludeGenerator as a Cake Addin
#addin nuget:?package=EBind.LinkerIncludeGenerator&version=1.0.2

// Install EBind.LinkerIncludeGenerator as a Cake Tool
#tool nuget:?package=EBind.LinkerIncludeGenerator&version=1.0.2                

EBind is a data-binding library that uses collection initializer syntax and linq expression trees to set up bindings in a concise way. It's very fast, highly configurable, extensible, and safe for the mono-linker and AOT compilation.

The library is linker-safe internally, but some exposed APIs rely on Linq Expression trees and therefore the reflection which have always been hard to process for the mono linker.

Although linker can analyze expression trees and some reflection patterns pretty well, the following code units may not be mentioned in the code, appear unused and end up trimmed away:

  • Property setters
  • Events (which are not configured)

The most common solution for hinting the linker to keep a member is to imitate its usage with a dummy call and mark it with a [Preserve] attribute. Your project may already have a LinkerPleaseInclude.cs file for that purpose.

EBind.LinkerIncludeGenerator will generate such files for the mentioned members used in EBinding and there wont be any EBind-related linker issues in your project.
Adding its NuGet package is enough for the installation.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

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.0.2 427 3/28/2021