I have several build configurations and depending on the configuration chosen, I need to copy the dll to a created folder. Basically, my executable is located on c:\project and my dll is in c:\library. I need to setup a post-buildevent on the dll so that it creates a folder called custom in the c:\project executable directory and then copy the dll to this custom folder. How do I accomplish the above? One thing I have noticed is that a post-build event on the dll does not give me access to the executables directory and I don't want to have to hard code something like c:\project\bin\debug for example.