John,
"$(ProjectDir)\$(OutDir)
^ this "\" is likely your problem.
$(ProjectDir) comes with a trailing "\" as needed. The compiler
apparently sees that it's needed here and appends one, making yours the
second one. At least, that's the C# behaviour.
I always add
@echo on
@echo of
> I think you did a cut and paste, and then forgot to edit the copy. Or else
> my eyes really aren't working this morning.
Ah, it was monday morning. Cut me some slack, all right? ;)
Yeah, the second one should have been just $(OutDir)\... rather than
$(ProjectDir)\$(OutDir)\...
I tried Tar
>From: "John Ludlow" <[EMAIL PROTECTED]>
>Sent: Monday, July 26, 2004 5:16 AM
>copy "$(ProjectDir)ServerUnitTesting.dll.config"
"$(ProjectDir)\$(OutDir)ServerUnitTesting.dll.config"
...
>copy "$(ProjectDir)ServerUnitTesting.dll.config"
"$(ProjectDir)\$(OutDir)ServerUnitTesting.dll.config"
I think
> Can you provide a small repro for this issue ?
Gyaaaghh!!!
Ok, I figured out how to output stuff from the build event (echo command, just like
DOS) and found out where it was going wrong.
The build event looks like this:
copy "$(ProjectDir)ServerUnitTesting.dll.config"
"$(ProjectDir)\$(OutD
John,
Can you provide a small repro for this issue ?
Thanks,
Gert
- Original Message -
From: "John Ludlow" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 23, 2004 5:32 PM
Subject: [Nant-users] Post-Build Events causing task to fail
Hi, there
I
OTECTED]
> Subject: [Nant-users] Post-Build Events causing
> task to fail
>
> Hi, there
>
> I have a solution which gets built with a task.
> However, this fails with the following message:
>
> [solution] Building 'TestMinorplanetBLL' [debug]...
&g
Hi, there
I have a solution which gets built with a task. However, this fails with
the following message:
[solution] Building 'TestMinorplanetBLL' [debug]...
The filename, directory name, or volume label syntax is incorrect.
[solution] PostBuildEvent failed with exit code = 1
[solution] Bui