Clicky Web Analytics March 2006 - Posts - Brenton House

March 2006 - Posts

MSBuild bug with CreateProperty and CallTarget

After banging my head against the wall for a short period of time I came across Sayed Ibrahim Hashimi’s post about a bug in the RTM of MSBuild.

Basically if you call CreateProperty and CallTarget in the same Target, your new property will not be globally available to other targets.  You must move the CreateProperty into a Target by itself.

The funny thing is that Microsoft marked his bug as resolved and said  “Good suggestion -- we will look into this for a future version.”  Not sure how that resolves the issue…

This will not work:

   45   <Target Name="Main">

   46     <CreateProperty Value="Hello World!">

   47       <Output TaskParameter="Value" PropertyName="MyString" />

   48     </CreateProperty>   

   49     <CallTarget Targets="OutputString" />

   50   </Target>

   51 

   52   <Target Name="OutputString">

   53     <Message Text="MyString: $(MyString)"  />

   54   </Target>

And this will work:

   45   <Target Name="Main">

   46     <CallTarget Targets="SetString" /> 

   47     <CallTarget Targets="OutputString" />

   48   </Target>

   49 

   50   <Target Name="SetString">

   51     <CreateProperty Value="Hello World!">

   52       <Output TaskParameter="Value" PropertyName="MyString" />

   53     </CreateProperty>   

   54   </Target>

   55 

   56   <Target Name="OutputString">

   57     <Message Text="MyString: $(MyString)"  />

   58   </Target>



 

Posted by dotnetboy2003 | 2 comment(s)
Filed under:

Team Foundation Server Ships Tomorrow (March 17th)

Just days after a painful upgrade to the release candidate.  
I hear that this upgrade will be no easier…

[Via Rob Caron]

In his keynote today at SDWest 2006, Rick LaPlante announced that we’re releasing Visual Studio 2005 Team Foundation Server tomorrow. Last year we took the tough decision to disconnect Team Foundation Server from the rest of Team System, but promised that Team Foundation Server would ship in the first quarter of this year, and we’re delivering on that promise.

[Via the VSTS Eduation Team]

The RTM release of Team Foundation Server is just days away. If you installed the Beta 3 Refresh version or the RC version, you might be wondering how you're going to upgrade to the RTM version. There are two guides available to help you do this. While both guides are available as part of the software package you'll need to download from the Microsoft Web site in order to upgrade, we are also posting them here so you can read ahead. You can view the Upgrading from Team Foundation Server Beta 3 Refresh to the Release to Manufacturing Version (RTM) of Team Foundation Server guide or the Upgrading from Team Foundation Server Release Candidate (RC) to the Release to Manufacturing Version (RTM) of Team Foundation Server guide, to help you plan for your upgrade.

These are long documents, with many complicated steps - as the process dictates. Be sure to read them carefully before starting your upgrade. For additional guidance, information, and assistance with your upgrade, visit the Microsoft forum. We hope these documents help you. As always, comments are welcome.

 

 

Posted by dotnetboy2003 | with no comments

Build BlackBerry applications in .NET

[Via Larkware News]

AppForge has released Version 6.0 of Crossfire which apparenetly allows a developer to create apps for the BlackBerry in C# or VB.

 

More Posts