. csproj /t:Test outputs: Test: Target Test: Foo=AAA Test2: Target Test2: Foo= I guess the problem is I'm thinking about msbuild in an imperative fashion (which is apparently a common mistake), so I'm hoping someone can correct what appears to be a very fundamental misunderstanding in how msbuild works.
You can also add your opinion below!