Facet.Attributes
5.3.0
dotnet add package Facet.Attributes --version 5.3.0
NuGet\Install-Package Facet.Attributes -Version 5.3.0
<PackageReference Include="Facet.Attributes" Version="5.3.0" />
<PackageVersion Include="Facet.Attributes" Version="5.3.0" />
<PackageReference Include="Facet.Attributes" />
paket add Facet.Attributes --version 5.3.0
#r "nuget: Facet.Attributes, 5.3.0"
#:package Facet.Attributes@5.3.0
#addin nuget:?package=Facet.Attributes&version=5.3.0
#tool nuget:?package=Facet.Attributes&version=5.3.0
Facet.Attributes
Runtime attributes for the Facet source generator.
This package contains only the attribute classes and enums needed at runtime. For the source generator itself, install the Facet package.
Installation
dotnet add package Facet
The Facet package automatically includes Facet.Attributes as a dependency.
You should not need to install Facet.Attributes directly unless you're building custom tooling.
Attributes Included
[Facet]- Generate facets/DTOs from source types[Flatten]- Generate flattened projections with nested properties as top-level properties[MapFrom]- Custom property mapping[MapWhen]- Conditional property mapping[GenerateDtos]- Batch DTO generation[Wrapper]- Generate wrapper types
AOT Compatibility
This package is fully compatible with AOT (Ahead-Of-Time) compilation, including .NET MAUI applications. The separation of attributes from the source generator ensures that Roslyn dependencies do not leak into your runtime.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. 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 is compatible. 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 is compatible. 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. |
-
.NETStandard 2.0
- No dependencies.
-
net10.0
- No dependencies.
-
net6.0
- No dependencies.
-
net8.0
- No dependencies.
-
net9.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Facet.Attributes:
| Package | Downloads |
|---|---|
|
Facet
A Roslyn source generator for models and projections. |
|
|
Facet.Dashboard
Swagger-like dashboard for visualizing Facet source types and their generated facets in ASP.NET Core applications. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 5.3.0 | 146 | 1/2/2026 |
| 5.2.0 | 529 | 12/23/2025 |
| 5.2.0-alpha | 387 | 12/18/2025 |
| 5.1.12 | 803 | 12/14/2025 |
| 5.1.11 | 1,106 | 12/9/2025 |
| 5.1.10 | 932 | 12/5/2025 |
| 5.1.9 | 1,063 | 12/3/2025 |
| 5.1.8 | 1,923 | 12/1/2025 |
| 5.1.7 | 657 | 12/1/2025 |
| 5.1.6 | 333 | 11/28/2025 |
| 5.1.5 | 223 | 11/28/2025 |
| 5.1.4 | 254 | 11/28/2025 |
| 5.1.3 | 363 | 11/28/2025 |
| 5.1.2 | 445 | 11/28/2025 |