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
My stuff here
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
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 you did a cut
Sounds like the solution 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
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 solution task to fail
Hi, there
I have a solution