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 FilesMSBuild.
  3. C:Program FilesMSBuild12.0Binmsbuild.exe
  4. C:WindowsMicrosoft.NETFrameworkv4.0.30319msbuild.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
原文地址:https://www.cnblogs.com/dmdj/p/3424267.html