Hi All,

We have beem using NAnt-0.85-rc3 for quite some time with Visual Studio 
2003.NET. In our build files we have been executing builds like this:

    <property name="devenvPath" value="c:\program files\microsoft visual studio 
.net 2003\common7\ide\devenv.com" />

        <exec
            program="${devenvPath}"
            workingdir="..\Development\"
            commandline="/rebuild ${configuration} ${nant.project.name}.sln"
        />

Now, we are upgrading to VS.Net 2005, so I have made the following changes...

1. Updated to NAnt-0.85
2. Changed <property name="devenvPath" value="c:\program files\microsoft visual 
studio .net 2003\common7\ide\devenv.com" /> to     <property name="devenvPath" 
value="c:\program files\microsoft visual studio 8\common7\ide\devenv.com" />
3. And of course, updated our solutions to VS.Net 2005.

The problem that I am experiencing right now, and one that is sending me quite 
batty after banging my head against a wall for days is.... that the build 
simply DOES NOT EXECUTE using NAnt as the entry point.

I can build the VS.Net 2005 solution just fine...
    a. from within the VS.Net 2005 IDE
    b. from a command line using devenv.com on the target machine (using an 
identical command line as to what the NAnt exec command uses)

BUT, if I do the SAME thing through NAnt I get...

          <message level="Info"><![CDATA[Microsoft (R) Visual Studio Version 
8.0.50727.762.]]></message>
          <message level="Info"><![CDATA[Copyright (C) Microsoft Corp 
1984-2005. All rights reserved.]]></message>
          <message level="Info"><![CDATA[========== Rebuild All: 0 succeeded, 0 
failed, 0 skipped ==========]]></message>

This is driving me insane. It really is.

I cannot get any useful debugging information out of this. As far as I can tell 
the command line is kosher and executing an identical command line works if I 
initiate it OUTSIDE of NAnt. NAnt is the only difference here.

Someone please tell me how to build a VS.Net 2005 solution using NAnt. It can't 
be this dang hard can it?????? Why doesn't exec work like it did for VS.Net 
2003?

Kind Regards,
Wayne Hartell.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to