I have a project that has a post-build event that xcopies a DLLs to a certain directory:
xcopy \"$(TargetDir)$(TargetName).dll\" \"$(SolutionDir)..\\UdpLocationS
I fixed this for problems with the Microsoft.SqlServer.Compact nuget package (which adds a similar post-build script), by adding:
..\
right above the . You'll want to adjust the relative path to match your project layout.