Presentation is loading. Please wait.

Presentation is loading. Please wait.

MSBuild.NET Open Spaces 17.05.2011, Michael Ketting.

Similar presentations


Presentation on theme: "MSBuild.NET Open Spaces 17.05.2011, Michael Ketting."— Presentation transcript:

1 MSBuild.NET Open Spaces 17.05.2011, Michael Ketting

2 Agenda Basics MSBuild 4.0 Features MSBuild Extension Libraries Common Misconceptions 2

3 Basics Properties Einwertig c:\trunk\ Items Mehrwertig Csharp http://msdn.microsoft.com/en-us/library/bb651786.aspx http://en.csharp- online.net/MSBuild%3A_By_Example%E2%80%94Understanding_the_Difference_between_@_and _%25 http://en.csharp- online.net/MSBuild%3A_By_Example%E2%80%94Understanding_the_Difference_between_@_and _%25 3 Properties und Items

4 Basics Task Batching Target Batching http://msdn.microsoft.com/en-us/library/ms171473.aspx http://sedodream.com/2006/08/15/MSBuildBatching.aspx http://sedodream.com/2006/08/29/MSBuildBatching2.aspx 4 Batching

5 MSBuild 4.0 Features Deklaration von MSBuilds Tasks direkt im Script // do something http://msdn.microsoft.com/en-us/library/dd722601.aspx http://sedodream.com/2010/01/20/MSBuild40InlineTasks.aspx http://sedodream.com/2010/01/22/MSBuild40InlineTasksPart2.aspx 5 Inline Tasks

6 MSBuild 4.0 Features Zugriff auf ausgewählte.NET Klassen durch MSBuild $([System.DateTime]::Now) $([System.Guid]::NewGuid()) http://msdn.microsoft.com/en-us/library/dd633440.aspx http://blogs.msdn.com/b/msbuild/archive/2010/04/02/msbuild-property-functions.aspx http://blogs.msdn.com/b/msbuild/archive/2010/05/05/msbuild-property-functions-2.aspx 6 Property Functions

7 MSBuild 4.0 Feature Hidden Feature Aktiviert via Registry Key: HKLM\SOFTWARE\Microsoft\MSBuild\4.0 debuggerenabled=true Command Line Switch: msbuild.exe /debug http://blogs.msdn.com/b/msbuild/archive/2010/07/06/debugging-msbuild-script-with- visual-studio.aspx http://blogs.msdn.com/b/msbuild/archive/2010/07/06/debugging-msbuild-script-with- visual-studio.aspx http://blogs.msdn.com/b/msbuild/archive/2010/07/09/debugging-msbuild-script-with- visual-studio-2.aspx http://blogs.msdn.com/b/msbuild/archive/2010/07/09/debugging-msbuild-script-with- visual-studio-2.aspx 7 VS Debugging Support

8 MSBuild Extension Libraries MSBuild Extension Pack CodePlex http://msbuildextensionpack.codeplex.com/ Hervorgegangen aus MS UK Effort Aktiv weiterentwickelt MSBuild Community Tasks Tigris http://msbuildtasks.tigris.org/ Community Effort Keine aktive Community 8

9 Praktisches Beispiel: re-motion Build https://svn.re-motion.org/svn/Remotion/trunk/build 9


Download ppt "MSBuild.NET Open Spaces 17.05.2011, Michael Ketting."

Similar presentations


Ads by Google