Is it true that `ProjectStartedEventArgs.TargetNam

2019-08-27 09:23发布

问题:

On the surface, this should be the case, because the Projects passed to the MSBuild task share the same value of the MSBuild.Targets property, but I would like to confirm it.

回答1:

Appears to be true, here's the source code: https://source.dot.net/#Microsoft.Build/BackEnd/Components/RequestBuilder/IntrinsicTasks/MSBuild.cs,288

https://github.com/Microsoft/msbuild/blob/6fa296fcf692bf61e374d93826c30ca124c23479/src/Build/BackEnd/Components/RequestBuilder/IntrinsicTasks/MSBuild.cs#L288



标签: msbuild