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)
Dependencies
- MSBuilder.CodeTaskAssembly(>= 0.2.3)
Tags
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>.