EBind.LinkerIncludeGenerator
1.0.2
dotnet add package EBind.LinkerIncludeGenerator --version 1.0.2
NuGet\Install-Package EBind.LinkerIncludeGenerator -Version 1.0.2
<PackageReference Include="EBind.LinkerIncludeGenerator" Version="1.0.2" />
paket add EBind.LinkerIncludeGenerator --version 1.0.2
#r "nuget: EBind.LinkerIncludeGenerator, 1.0.2"
// 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.
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- Uno.SourceGenerationTasks (>= 3.0.0)
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 |