MSBuilder.ThisAssembly.Project 0.3.4

Prefix Reserved
Suggested Alternatives

ThisAssembly.Project

Additional Details

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                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MSBuilder.ThisAssembly.Project" Version="0.3.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MSBuilder.ThisAssembly.Project --version 0.3.4                
#r "nuget: MSBuilder.ThisAssembly.Project, 0.3.4"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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" />

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.