Post-build event copy not working
问题 I have a post-build event to copy a .dll from one project to another on successful build using the following command: copy $(TargetPath) ....\MainProject\bin This works fine on my local machine, but it appears to be failing on the build server because when building the MainProject I receive the following: warning MSB3245: Could not resolve this reference. Could not locate the assembly "Project2". Check to make sure the assembly exists on disk. If this reference is required by your code, you