20131191 msbuild properties
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

20131191 msbuild properties

on

  • 279 views

 

Statistics

Views

Total Views
279
Views on SlideShare
279
Embed Views
0

Actions

Likes
0
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

20131191 msbuild properties Presentation Transcript

  • 1. Msbuild Properties Anney
  • 2. 2 Agenda  Static properties  Items  Item Metadata 2013/11/13
  • 3. 3 Static properties 2013/11/13
  • 4. 4 PropertityGroup 2013/11/13
  • 5. 5 Get value syntax  $(propertyName)  Ex: <message text="$(MyProp)" /> 2013/11/13
  • 6. 6 Items 2013/11/13
  • 7. 7 ItemGroup  use three wildcard elements with MSBuild: ?, *, and **.  Get value syntax  @(ItemGrop/PropertyName)  Ex: @(TestFiles) 2013/11/13
  • 8. 8 Item Metadata 2013/11/13
  • 9. 9 Item Metadata  Another difference between properties and items is that items can have metadata associated with them. 2013/11/13
  • 10. 10 Well-known metadata 2013/11/13
  • 11. 11 Well-known metadata 2013/11/13
  • 12. 12 Well-known metadata 2013/11/13
  • 13. 13 RecursiveDir 2013/11/13
  • 14. 14 RecursiveDir(2)  @(ItemType->'%(MetadataName)') 2013/11/13
  • 15. 15 References  http://msdn.microsoft.com/en-us/library/ms164313.aspx 2013/11/13
  • 16. 16 ~ THE END ~ 2013/11/13