ThisAssembly.Constants (nuget): 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";           }       }   }
Keywords: dotnet|roslyn