> What is it, exactly, that you are trying to do in the post-build
> commands?
> 
> To me, this just doesn't make sense:
> 
>     cmd.exe /c $(ProjectDir)postbuild.cmd $(ProjectDir) $(TargetDir)
> $(TargetPath)
> 
> And it doesn't match your suggestion:
> 
>     Postbuild.cmd C:\path\to\flexwiki\flexwiki.unittests\app.config
> C:\path\to\flexwiki\flexwiki.unittests\bin\debug\flexwiki.unittests.dll
> .conf
> ig
> 
> Your suggestion has two vars: $(ProjectDir) and $(TargetPath) while the
> post-build command has at least 3: $(ProjectDir) $(TargetDir)
> $(TargetPath)
> 
> What am I missing here?

There are two levels here. Visual Studio invokes cmd.exe and passes it a
path to a command script (postbuild.cmd), the project directory, the target
directory, and the target path. Postbuild.cmd then does whatever it's going
to do. It so happens that postbuild.cmd only cares about the first two
arguments, but it's set up so that in the future it could do something with
all three. 

My suggestion is based on the assumption that cmd.exe is running just fine,
and that something is wrong with postbuild.cmd. So I suggested you test that
part. 

What operating system are you running on? 



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Flexwiki-users mailing list
Flexwiki-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexwiki-users

Reply via email to