Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. MSBuild

MSBuild

Scheduled Pinned Locked Moved .NET (Core and Framework)
visual-studiocsharpquestion
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    AndieDu
    wrote on last edited by
    #1

    Hi All, I am pretty new in terms of MSBuild, so please dont humilate my naive questions :-) Can someone plz tell me what's the benefit to use MSBuild and why we need it. we can create a porject in M/S visual studio and then build the project in the M/S visual studio. I dont know why we need this tool(M/S Build)? Many thanks

    A T 2 Replies Last reply
    0
    • A AndieDu

      Hi All, I am pretty new in terms of MSBuild, so please dont humilate my naive questions :-) Can someone plz tell me what's the benefit to use MSBuild and why we need it. we can create a porject in M/S visual studio and then build the project in the M/S visual studio. I dont know why we need this tool(M/S Build)? Many thanks

      A Offline
      A Offline
      Abhinav S
      wrote on last edited by
      #2

      Tasks such as creating installs, updating version numbers, creating escrows, distributing the final packages, etc. can be automated and made easier with what MSBuild (or Nant) provide. The dev env just does a build.

      There are only 10 types of people in this world — those who understand binary, and those who don't.

      A 1 Reply Last reply
      0
      • A Abhinav S

        Tasks such as creating installs, updating version numbers, creating escrows, distributing the final packages, etc. can be automated and made easier with what MSBuild (or Nant) provide. The dev env just does a build.

        There are only 10 types of people in this world — those who understand binary, and those who don't.

        A Offline
        A Offline
        AndieDu
        wrote on last edited by
        #3

        Thanks very much, can you please offer me an example that does all of or some of those tasks?

        A 1 Reply Last reply
        0
        • A AndieDu

          Hi All, I am pretty new in terms of MSBuild, so please dont humilate my naive questions :-) Can someone plz tell me what's the benefit to use MSBuild and why we need it. we can create a porject in M/S visual studio and then build the project in the M/S visual studio. I dont know why we need this tool(M/S Build)? Many thanks

          T Offline
          T Offline
          The Man from U N C L E
          wrote on last edited by
          #4

          In addition to the clever build tasks mentioned already MSBuild is the engine used by Team Foundation Server to perform automated builds. In fact even building a solution in Visual Studio is using MSBuild. VS just autogenerates the MSBuild script on the fly. So the advantage of using MSBuild is that you can build .Net applications. Since the release of .Net 2.0 there has been no other way. (I believe Nant just calls VS to perform the actual build, which in turn calls MSBuild). Because of this, extending the build process to build multiple projects and perform extra tasks is mostly a matter of adding to an xml file, though more specialised tasks may require a custom build task to be written in .Net.

          If you have knowledge, let others light their candles at it. Margaret Fuller (1810 - 1850) [My Articles]  [My Website]

          A 1 Reply Last reply
          0
          • T The Man from U N C L E

            In addition to the clever build tasks mentioned already MSBuild is the engine used by Team Foundation Server to perform automated builds. In fact even building a solution in Visual Studio is using MSBuild. VS just autogenerates the MSBuild script on the fly. So the advantage of using MSBuild is that you can build .Net applications. Since the release of .Net 2.0 there has been no other way. (I believe Nant just calls VS to perform the actual build, which in turn calls MSBuild). Because of this, extending the build process to build multiple projects and perform extra tasks is mostly a matter of adding to an xml file, though more specialised tasks may require a custom build task to be written in .Net.

            If you have knowledge, let others light their candles at it. Margaret Fuller (1810 - 1850) [My Articles]  [My Website]

            A Offline
            A Offline
            AndieDu
            wrote on last edited by
            #5

            Hi, Thanks for your reply, i found a very handy reference to understand the concept of the MSBuild, here is the link in case anyone needs it: http://msdn.microsoft.com/en-us/library/dd576348(VS.100).aspx[^]

            1 Reply Last reply
            0
            • A AndieDu

              Thanks very much, can you please offer me an example that does all of or some of those tasks?

              A Offline
              A Offline
              Abhinav S
              wrote on last edited by
              #6

              Here[^] is a nice CP article on MSBuild.

              There are only 10 types of people in this world — those who understand binary, and those who don't.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups