Skip to main content
ThisAssembly.Project package icon

ThisAssembly.Project

** C# 9.0 ONLY ** This package generates a static `ThisAssembly.Project` class with public constants exposing project properties that have been opted into this mechanism by adding them as `ProjectProperty` MSBuild items in project file, such as: <PropertyGroup> <Foo>Bar</Foo> </PropertyGroup> <ItemGroup> <ProjectProperty Include="Foo" /> </ItemGroup> A corresponding `ThisAssembly.Project.Foo` constant with the value `Bar` is provided. Generated code: C#: partial class ThisAssembly { public static partial class Project { public const string Foo = "Bar"; } } Built from https://github.com/devlooped/ThisAssembly/tree/14cf2358e

Total Downloads
313.5K
313,533
Published
Apr 29, 2021
Latest stable version

Install

.NET CLI
dotnet add package ThisAssembly.Project --version 1.0.8
Package Manager Console
Install-Package ThisAssembly.Project -Version 1.0.8
PackageReference
<PackageReference Include="ThisAssembly.Project" Version="1.0.8" />

Frameworks

.NETStandard2.0

Dependencies

Microsoft.CSharp
.NETStandard2.0
[4.5.0, )
[4.5.4, )
[1.0.8, )

Adoption guide

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.