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

Popular posts from this blog

node.js - Bad Request - node js ajax post -

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -