AssemblyMetadata.Generators
2.1.0-beta.1
This is a prerelease version of AssemblyMetadata.Generators.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package AssemblyMetadata.Generators --version 2.1.0-beta.1
NuGet\Install-Package AssemblyMetadata.Generators -Version 2.1.0-beta.1
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="AssemblyMetadata.Generators" Version="2.1.0-beta.1"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AssemblyMetadata.Generators --version 2.1.0-beta.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AssemblyMetadata.Generators, 2.1.0-beta.1"
#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 AssemblyMetadata.Generators as a Cake Addin #addin nuget:?package=AssemblyMetadata.Generators&version=2.1.0-beta.1&prerelease // Install AssemblyMetadata.Generators as a Cake Tool #tool nuget:?package=AssemblyMetadata.Generators&version=2.1.0-beta.1&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
AssemblyMetadata.Generators
Source generator to expose assembly attributes as string constants.
Usage
Add package
Add the nuget package project to your projects.
dotnet add package AssemblyMetadata.Generators
Generated
This source generator creates an internal partial class called ThisAssembly
with all the assembly level attributes converted to string constants
internal static partial class ThisAssembly
{
public const string TargetFramework = ".NETCoreApp,Version=v7.0";
public const string Company = "LoreSoft";
public const string Configuration = "Debug";
public const string Copyright = "Copyright © 2023 LoreSoft";
public const string Description = "Source generator to expose assembly attributes as string constants";
public const string FileVersion = "1.0.0.0";
public const string InformationalVersion = "1.0.0";
public const string Product = "AssemblyMetadata.Generators.Tests";
public const string Title = "AssemblyMetadata.Generators.Tests";
public const string Version = "1.0.0.0";
public const string RepositoryUrl = "https://github.com/loresoft/AssemblyMetadata.Generators";
public const string NeutralResourcesLanguage = "en-US";
}
There are no supported framework assets in this package.
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (3)
Showing the top 3 popular GitHub repositories that depend on AssemblyMetadata.Generators:
Repository | Stars |
---|---|
loresoft/EntityFrameworkCore.Generator
Generate Entity Framework Core model from an existing database
|
|
loresoft/Injectio
Source generator that helps register attribute marked services in the dependency injection ServiceCollection
|
|
loresoft/LoreSoft.Blazor.Controls
Blazor Controls
|
Version | Downloads | Last updated |
---|---|---|
2.1.0 | 2,484 | 9/7/2024 |
2.1.0-beta.1 | 63 | 9/7/2024 |
2.0.0 | 6,757 | 12/6/2023 |
1.1.0 | 767 | 8/11/2023 |
1.0.0 | 288 | 8/10/2023 |
1.0.0-beta.1 | 73 | 8/10/2023 |