MSBuilder.Introspect 0.1.5

Allows retrieving the current project's properties and currently building
targets as items and metadata, effectivey allowing retrieval of property
values dynamically by name.

 <Output TaskParameter="Properties" ItemName="CurrentProperties" />  
 <Output TaskParameter="Targets" ItemName="CurrentTargets" />  

 <!-- Note that we're using another property as the dynamic property name to evaluate -->
 <PropertyValue>@(CurrentProperties -> Metadata("$(PropertyName)"))</PropertyValue>

Install-Package MSBuilder.Introspect -Version 0.1.5
dotnet add package MSBuilder.Introspect --version 0.1.5
<PackageReference Include="MSBuilder.Introspect" Version="0.1.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MSBuilder.Introspect --version 0.1.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on MSBuilder.Introspect:

Package Downloads
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" />

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
0.1.5 2,730 9/8/2016
0.1.4 498 12/31/2015
0.1.3 604 6/26/2015
0.1.2 456 6/26/2015
0.1.1 527 6/26/2015
0.1.0 485 6/26/2015