Hello,
here is the build file that I have:
< xml version="1.0" encoding="utf-8" >
<Project DefaultTargets="Test" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project DefaultTargets="Test" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Bobby>Default</Bobby>
</PropertyGroup>
<Target Name="Test">
<Message Importance="high" Text="Bobby = $(Bobby)" />
<CallTarget Targets="Test2" />
<Message Importance="high" Text="Bobby = $(Bobby)" />
<CallTarget Targets="Configure2" />
<Message Importance="high" Text="Bobby = $(Bobby)" />
</Target>
<Target Name="Configure2">
<Message Importance="high" Text="Bobby = $(Bobby)" />
</Target>
<Target Name="Test2">
<CreateProperty Value="B3">
<Output PropertyName="Bobby" TaskParameter="Value"/>
</CreateProperty>
<Message Importance="high" Text="Bobby = $(Bobby)" />
</Target>
</Project>
<Bobby>Default</Bobby>
</PropertyGroup>
<Target Name="Test">
<Message Importance="high" Text="Bobby = $(Bobby)" />
<CallTarget Targets="Test2" />
<Message Importance="high" Text="Bobby = $(Bobby)" />
<CallTarget Targets="Configure2" />
<Message Importance="high" Text="Bobby = $(Bobby)" />
</Target>
<Target Name="Configure2">
<Message Importance="high" Text="Bobby = $(Bobby)" />
</Target>
<Target Name="Test2">
<CreateProperty Value="B3">
<Output PropertyName="Bobby" TaskParameter="Value"/>
</CreateProperty>
<Message Importance="high" Text="Bobby = $(Bobby)" />
</Target>
</Project>
And this is the output:
Target Test:
Bobby = Default
Target Test2:
Bobby = B3
Bobby = Default
Target Configure2:
Bobby = B3
Bobby = Default
Bobby = Default
Target Test2:
Bobby = B3
Bobby = Default
Target Configure2:
Bobby = B3
Bobby = Default
It beats me why on the first level it's always default, but on the second level it's B3. Please note that Configure2 target is NOT settings this property, still it's Default before and after its invocation, but B# inside it. There must be something basic about this that I don't understand, so I'd appreciate any help.
//Andrew

Property visibility problem
DWS
DatabaseOgre
This is a known bug, I've written about this at:
http://www.sedodream.com/PermaLink,guid,44ef8e1e-735f-40c5-92e9-4d7e31590c5d.aspx
You have a couple of options to get around this bug, the perferred mechanism is to us the DependsOnTargets list to make the calls to the other targets. Besides that you could use the MSBuild task instead of the CallTarget task, but you some of the context data.
Sayed Ibrahim Hashimi
www.sedodream.com