[SOLVED] Post Build Events are Corrupted

Posts   
 
    
Marcus avatar
Marcus
User
Posts: 747
Joined: 23-Apr-2004
# Posted on: 20-Dec-2004 19:48:05   

Frans

I am comming back to http://llblgen.com/tinyforum/Messages.aspx?ThreadID=1275 which I reported previously...

My post build event is:

copy "$(ProjectDir)\App.config" "$(TargetPath).config"

and is getting corrupted with "e;...

Even if I create a .bat file, the value of $(ProjectDir) and $(TargetDir) still need to be passed as parameters... and still need a quote since they evaluate to paths which can have spaces... confused

Any ideas?

Wade
User
Posts: 76
Joined: 15-Jun-2004
# Posted on: 20-Dec-2004 23:52:14   

I use post build scripts at work all the time. Do not place the Quotation Marks in your post build events. They are not needed.

Here is a sample of one of mine:

copy /Y $(ProjectDir)\user.config $(TargetDir) copy /Y $(ProjectDir)\ShellHelp.chm $(TargetDir) copy /Y $(ProjectDir)......_dist\StaticList.xml $(TargetDir)

Wade

Marcus avatar
Marcus
User
Posts: 747
Joined: 23-Apr-2004
# Posted on: 21-Dec-2004 00:36:43   

Wade wrote:

I use post build scripts at work all the time. Do not place the Quotation Marks in your post build events. They are not needed.

Thanks Wade... I'll give this a try tomorrow.