ThisAssembly.Constants 1.0.9

Install-Package ThisAssembly.Constants -Version 1.0.9
dotnet add package ThisAssembly.Constants --version 1.0.9
<PackageReference Include="ThisAssembly.Constants" Version="1.0.9" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ThisAssembly.Constants --version 1.0.9
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ThisAssembly.Constants, 1.0.9"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install ThisAssembly.Constants as a Cake Addin
#addin nuget:?package=ThisAssembly.Constants&version=1.0.9

// Install ThisAssembly.Constants as a Cake Tool
#tool nuget:?package=ThisAssembly.Constants&version=1.0.9
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

** C# 9.0 ONLY **
This package generates a static `ThisAssembly.Constants` class with public
constants for each Constant MSBuild item in the project.

For example:

 <ItemGroup>
 <Constant Include="Foo.Bar" Value="Baz" />
 </ItemGroup>

Results in a corresponding `ThisAssembly.Constants.Foo.Bar` constant with the value `Baz`:

Generated code:
C#:

 partial class ThisAssembly
 {
     public static partial class Constants
     {
         public static partial class Foo
         {
             public const string Bar = "Baz";
         }
     }
 }

   

Built from https://github.com/devlooped/ThisAssembly/tree/96dde2c67

NuGet packages (1)

Showing the top 1 NuGet packages that depend on ThisAssembly.Constants:

Package Downloads
ThisAssembly

Meta-package that includes all ThisAssembly.* packages. ** C# 9.0 ONLY ** Built from https://github.com/devlooped/ThisAssembly/tree/96dde2c67

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.9 1,199 10/21/2021
1.0.8 10,973 4/29/2021
1.0.7 2,095 3/16/2021
1.0.6 676 3/9/2021
1.0.5 622 1/30/2021
1.0.4 172 1/27/2021
1.0.3 1,164 12/15/2020
1.0.2 282 12/10/2020
1.0.1 248 12/10/2020
1.0.0 1,161 11/21/2020
1.0.0-rc.1 573 10/28/2020
1.0.0-rc 573 10/23/2020