MSBuild 12.0

  1. MSBuild is now installed as part of Visual Studio rather than as part of the .NET Framework
  2. MSBuild is now installed directly under %ProgramFiles%—for example, in C:\Program Files\MSBuild\.
  3. C:\Program Files\MSBuild\12.0\Bin\msbuild.exe
  4. C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe
  5. http://msdn.microsoft.com/en-us/library/dd576348.aspx
  6. http://msdn.microsoft.com/en-us/library/dd393573.aspx
  7. A task is the smallest unit of work, in other words, the "atom" of a build. Tasks are independent executable components which may have inputs and outputs.
  8. A target is a named sequence of tasks
  9. Imported files are effectively inserted into the project file wherever they are referenced
  10. four parts of MSBuild: properties, items, tasks, and targets
  11. Clicking the Build command in Visual Studio will execute the default target in the project. Often, this target is also named Build. Choosing the Rebuild or Clean command will attempt to execute a target of the same name in the project. Clicking Publish will execute a target named PublishOnly in the project.
  12. http://msdn.microsoft.com/en-us/library/dd393574.aspx
  13. MSBuild Concepts:
    1. Properties
    2. Items
    3. Targets
    4. Tasks
    5. Comparing Properties and Items
    6. MSBuild Special Characters

posted on 2013-11-14 21:22  架构师师  阅读(554)  评论(4编辑  收藏  举报

导航