Access build property in msbuild file
Try to access build property in msbuild file.
This is what I have in my msbuild file, but both proprerties have no value. Is anything wrong with this?
<PropertyGroup> <Version>$(system_build_number)</Version> <DepVersion>$(dep_bt30_system_build_number)</DepVersion> </PropertyGroup>
<Message Text="Version: $(Version). DepVersion: $(DepVersion)." />
Teamcity version: 6.0.2
MSBuild Version: .Net Framework 4.0
MSBuild Tools Version: 4.0
Please sign in to leave a comment.
Hi
within MSBuild omit system prefix:
Properties of dependent builds are not accessible directly.
You'll need to create new build parameter like
Michael
thanks, it works perfectly.