Hi,
I think I found the error...
It is because the SolutionDir variable is only defined when opening the project
in VisualStudio.
So when I try to compile by using the solution task, it crash because this
value is not set yet.
I found it by checking the nant code where the exeception was thrown
(Macro "SolutionDir" cannot be expanded, no solution file specified.)
But actually I do not have a solution to the problem. But I found a workaround
for the moment.
________________________________
From: Jay Flowers [mailto:[EMAIL PROTECTED]
Sent: January 21, 2008 11:49 AM
To: Sébastien Filion
Cc: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] Solution Tasks and post-build-event...
Sébastien,
What is the error? Could it be that the current working directory is different
when called from NAnt?
Jay
On 1/21/08, Sébastien Filion <[EMAIL PROTECTED]> wrote:
Hi,
I currently try to compile an assembly using the solution task of nant.
It works fine for almost all my assemblies.
But the ones who contain a post build event failed every time.
I use this version of nant: nant-0.85-rc2.
I compile a visual Studio 2003 C# project.
Is someone knows a solution to that problem?
Thanks a lot,
Sebas
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users
--
Jay Flowers
----------------------------------------------------------------------
http://jayflowers.com
---------------------------------------------------------------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users