我希望能夠使用另一個屬性的內容引用msbuild(3)屬性。例如:使用另一個屬性的內容引用msbuild屬性
<PropertyGroup>
<SelectVariable>Test</SelectVariable>
<TestVariable>1</TestVariable>
<FullVariable>2</FullVariable>
</PropertyGroup>
<Message Text="Value $($(SelectVariable)Variable)"/>
在這種情況下,我想輸出TestVariable的內容(1)。這可能嗎?
我覺得選擇任務就是這裏的答案。 – 2010-10-25 16:03:02