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. C#
  4. NAnt - how to get this working?

NAnt - how to get this working?

Scheduled Pinned Locked Moved C#
comtoolsxmltutorialquestion
3 Posts 2 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.
  • C Offline
    C Offline
    Chua Wen Ching
    wrote on last edited by
    #1

    Hi there, I try to find on the internet on how to achieve this, but still can't find any good resources till i downloaded Nant. But there are too many codes inside Nant, and i have no idea which part of Nant code that can achieve this below. --> I want to get the value of project.name. So i can use the ${project.name} a few times in my xml script. Any idea on how to achieve this? Thanks. Regards, Chua Wen Ching Visit us at http://www.necoders.com

    N 1 Reply Last reply
    0
    • C Chua Wen Ching

      Hi there, I try to find on the internet on how to achieve this, but still can't find any good resources till i downloaded Nant. But there are too many codes inside Nant, and i have no idea which part of Nant code that can achieve this below. --> I want to get the value of project.name. So i can use the ${project.name} a few times in my xml script. Any idea on how to achieve this? Thanks. Regards, Chua Wen Ching Visit us at http://www.necoders.com

      N Offline
      N Offline
      Nick Parker
      wrote on last edited by
      #2

      You should check out the NAnt documentation here[^] specifically the Properties[^] section of the documentation. This should get you started.

      - Nick Parker Microsoft MVP - Visual C#
      My Blog | My Articles

      C 1 Reply Last reply
      0
      • N Nick Parker

        You should check out the NAnt documentation here[^] specifically the Properties[^] section of the documentation. This should get you started.

        - Nick Parker Microsoft MVP - Visual C#
        My Blog | My Articles

        C Offline
        C Offline
        Chua Wen Ching
        wrote on last edited by
        #3

        Hi Ian, You get me wrong! I just want to know how NAnt can be able to achieve that. I want to achieve this in my own custom xml script. 1234 5555 ${output} I want to achieve the same way like what NAnt can do. But i do not how know NAnt achieve that. I saw the source code, and there are so many class files. I am not looking for how to use NAnt with the property, just how to code the same way in my software. Any tips please? Thanks. Regards, Chua Wen Ching Visit us at http://www.necoders.com

        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