MSBuilder: Introspect Task NuGet Package

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

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

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




Got any MSBuilder: Introspect Task Question?





Info

Version: 0.1.5
Author(s): Mobile Essentials
Last Update: Thursday, September 8, 2016
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/MobileEssentials/MSBuilder/
NuGet Url: https://www.nuget.org/packages/MSBuilder.Introspect


Install
Install-Package MSBuilder.Introspect
dotnet add package MSBuilder.Introspect
paket add MSBuilder.Introspect
MSBuilder.Introspect Download (Unzip the "nupkg" after downloading)

2 packages depend on this package.


Tags



STATS

must-have-score

.3

avg-downloads-per-day

1

days-since-last-release

2996