al********@hotmail-dot-com.no-spam.invalid (sarge) wrote in
news:40**********@Usenet.com:
error PRJ0019: A tool returned an error code from "Copying assemblies
to target directory..."
Check the buildlog.htm file, it will have information about the command
that was running at the time and perhaps even more error messages. This
might give you a clue about where the problem is.
I got this when I added a reference to a project. The reference was to
a dll created in another project. Now if I copy the dll itself over to
the new directory it works fine, but I don't like doing this because
if I have to update the dll then I would have to insure I recopy it
over.
When you add a reference in VS2002/2003, it copies the referenced
assembly to the output folder of your project during a build. It looks
like this is what is failing.
Anyone know if there is a setting I am missing.
One useful thing you can do is to have a common output directory for
both projects. This eliminates a lot of copying and stale versions
during build. In VS2005, we're changing the wizards to automatically use
a common target directory for all projectfs in a solution.
Thanks,
--
Tarek Madkour, Visual C++ Team
This posting is provided "AS IS" with no warranties, and confers
no rights.