Visual studio 2010 Msbuild-在属性中嵌套属性

Visual studio 2010 Msbuild-在属性中嵌套属性,visual-studio-2010,msbuild,msbuild-task,msbuild-propertygroup,Visual Studio 2010,Msbuild,Msbuild Task,Msbuild Propertygroup,我现在有类似的东西 我想通过连接属性value1和value2的值来显示属性helloworld的输出。 我试过做$(value1$(value2)),但那不管用,有什么建议吗 <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <value1>hello</value1>

我现在有类似的东西 我想通过连接属性value1和value2的值来显示属性
helloworld
的输出。 我试过做
$(value1$(value2))
,但那不管用,有什么建议吗

<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    <PropertyGroup>
        <value1>hello</value1>
        <value2>world</value2>
        <helloworld>This works</helloworld>
    </PropertyGroup>
    
    <Target Name="Build">
    <Message Text = "----Message is: $(value1)"></Message>
    <Message Text = "----Message is: $(value1$(value2))"></Message> --->Error :Should display `This works`      
    </Target>
    
</Project>

你好
世界
这很有效
--->错误:应显示“此功能”