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. Build solution using NAnt [modified]

Build solution using NAnt [modified]

Scheduled Pinned Locked Moved C#
csharphelpvisual-studiotools
2 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.
  • D Offline
    D Offline
    deep7
    wrote on last edited by
    #1

    I need to compile the solution written in windows application using C#. My build file is as follows: Output file doesn't exist in ${expected.output} when i execute 'nant' command in command prompt, i get the following error: BUILD FAILED Microsoft Visual Studio.NET 2005 solutions are not supported. Total time: 0 seconds. Could anyone please help me out here or tell me the correct way to write the script... Thanks... Deepa -- modified at 5:15 Wednesday 18th July, 2007

    S 1 Reply Last reply
    0
    • D deep7

      I need to compile the solution written in windows application using C#. My build file is as follows: Output file doesn't exist in ${expected.output} when i execute 'nant' command in command prompt, i get the following error: BUILD FAILED Microsoft Visual Studio.NET 2005 solutions are not supported. Total time: 0 seconds. Could anyone please help me out here or tell me the correct way to write the script... Thanks... Deepa -- modified at 5:15 Wednesday 18th July, 2007

      S Offline
      S Offline
      Scott Dorman
      wrote on last edited by
      #2

      This really isn't the right forum (or even the right site) to be posting an NAnt question. That being said, the last time I used NAnt (about 6 months ago), the solution task did not support Visual Studio 2005 formatted solution or project files. The work around for this is to use the exec task and run devenv.exe or msbuild with the appropriate command line. I believe there was an actual msbuild task that is part of the NAnt Contrib project, but I'm not 100% sure.

      ----------------------------- In just two days, tomorrow will be yesterday. http://geekswithblogs.net/sdorman

      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