Hello,
I've got solution which consist of some managed dlls (in C#) and one mixed
mode C++ dll, which references managed dlls. Everytime I build solution I
got a message when VS is trying to copy referenced assemblies to mixed mode
assembly build directory.
Copying assemblies to target directory...
'xcopy' is not recognized as an internal or external command, operable
program or batch file.
Project : error PRJ0019: A tool returned an error code from "Copying
assemblies to target directory..."
Strange is that it happens only on 2 machines out of 4. On the other 2
everything works ok.
Do you know how to workaround this problem ?
Thanks,
Szymek Madejczyk
Arild Fines - 07 Jul 2003 14:31 GMT
> Hello,
>
[quoted text clipped - 13 lines]
>
> Do you know how to workaround this problem ?
Is xcopy.exe present and in the PATH? It should be in %windir%\system32.

Signature
Arild Fines
http://ankhsvn.tigris.org
A Visual Studio .NET Addin for the Subversion version control system.
Szymon Madejczyk - 07 Jul 2003 14:43 GMT
> Is xcopy.exe present and in the PATH? It should be in %windir%\system32.
Yes, it is.
Szymon Madejczyk - 10 Jul 2003 09:20 GMT
> Hello,
>
[quoted text clipped - 13 lines]
>
> Do you know how to workaround this problem ?
Ok, I found that copying xcopy.exe to VS.NET_ROOT/Common7/Ide (despite PATH
set to xcopy location in Windows/System32) solves that problem.
But problems comes back when I use command line devenv.exe for project
build. I don't know where to put xcopy to make it work.
> Thanks,
>
> Szymek Madejczyk