MSBuilder.ThisAssembly.Project
0.3.4
Prefix Reserved
Switch to a source-generator based package that is actively maintained
dotnet add package MSBuilder.ThisAssembly.Project --version 0.3.4
NuGet\Install-Package MSBuilder.ThisAssembly.Project -Version 0.3.4
<PackageReference Include="MSBuilder.ThisAssembly.Project" Version="0.3.4" />
paket add MSBuilder.ThisAssembly.Project --version 0.3.4
#r "nuget: MSBuilder.ThisAssembly.Project, 0.3.4"
// Install MSBuilder.ThisAssembly.Project as a Cake Addin #addin nuget:?package=MSBuilder.ThisAssembly.Project&version=0.3.4 // Install MSBuilder.ThisAssembly.Project as a Cake Tool #tool nuget:?package=MSBuilder.ThisAssembly.Project&version=0.3.4
Generates the ThisAssembly partial class and adds a Project property containing properties from the source project file. These might be useful for conditional behaviors, diagnostics and tracing, and more.
Included properties are: AssemblyName, RootNamespace, ProjectGuid, TargetFrameworkVersion, TargetFrameworkIdentifier, TargetFrameworkMoniker, TargetPlatformVersion, TargetPlatformIdentifier and TargetPlatformMoniker.
Arbitrary project properties can be included by declaring @(ThisAssemblyProjectProperty) items with the property names to generate, such as:
<ThisAssemblyProjectProperty Include="AvailablePlatforms" />
Learn more about Target Frameworks and .NET Standard.
-
- MSBuilder.Introspect (>= 0.1.5)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.