The following example uses the CreateProperty task to create the NewFile property using the combination of the values of the SourceFilename and SourceFileExtension property.
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<SourceFilename>Module1</SourceFilename>
<SourceFileExtension>vb</SourceFileExtension>
</PropertyGroup>
<Target Name="CreateProperties">
<CreateProperty
Value="$(SourceFilename).$(SourceFileExtension)">
<Output
TaskParameter="Value"
PropertyName="NewFile" />
</CreateProperty>
</Target>
</Project>
After running the project, the value of the NewFile property is Module1.vb.