Info
Version: | 2.0.10 |
Author(s): | kzu |
Last Update: | Tuesday, November 26, 2024 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://clarius.org/ThisAssembly |
NuGet Url: | https://www.nuget.org/packages/ThisAssembly.Project |
Install
Install-Package ThisAssembly.Project
dotnet add package ThisAssembly.Project
paket add ThisAssembly.Project
ThisAssembly.Project Download (Unzip the "nupkg" after downloading)
Dependencies
- Microsoft.CSharp(>= 4.5.0)
- System.Threading.Tasks.Extensions(>= 4.5.4)
- ThisAssembly.Prerequisites(>= 1.0.5)
Tags
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";
}
}
> This project uses SponsorLink to attribute sponsor status (direct, indirect or implicit). For IDE usage, sponsor status is required.
> IDE-only warnings will be emitted after a grace period otherwise. Learn more at https://github.com/devlooped#sponsorlink.