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 have a solution which g
Sounds like the task should know how to create (and execute)
a shell script (batch file in Windows) to run build events for C++.
There are 3 build events: Pre-Build, Pre-Link, and Post-Build. Then
there is also a Custom Build step. My projects would fail to compile
because almost all of them have