msbuild - How do I get $(OutDir) programmatically? -
i'm writing custom build task , and access value of property programmatically. possible? i've looked @ of members of task class , didn't see looked allow me value.
if custom task can't run without property, best practice make property required input:
[required] public string outdir { get; set; } set by:
<mytask ... outdir="$(outdir)" />
Comments
Post a Comment