ThisAssembly.Constants 1.0.9 The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved

.NET Standard 2.0
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

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

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

Package Downloads
ThisAssembly The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

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 6,331 10/21/2021
1.0.8 12,314 4/29/2021
1.0.7 2,310 3/16/2021
1.0.6 743 3/9/2021
1.0.5 673 1/30/2021
1.0.4 233 1/27/2021
1.0.3 1,212 12/15/2020
1.0.2 334 12/10/2020
1.0.1 312 12/10/2020
1.0.0 1,370 11/21/2020
1.0.0-rc.1 928 10/28/2020
1.0.0-rc 604 10/23/2020