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