title: Share data between different msbuild inline tasks
body: <p>I would like to create two custom inline tasks that share some data.<br>
  For example, one task sets a global variable and the other one reads it.<br>
  Is there some common context in which both tasks are compiled where I could place the common data?
  (btw I know I can do it in non-inline task, the question is specific to inline tasks)</p>
  
  <p>A possible solution is to create just one inline task with a parameter that specifies which "function" to run, much like <code>TaskAction</code> property in MSBuild Extension Pack. But is there a way to do that with two separate inline tasks?</p>