I have a solution with 3 projects :
Project A is a plain C++ DLL project
Project B is a managed C++ wrapper DLL for project A (it has A as a Reference)
Project C is a C# project usign the managed C++ wrapper (it has B as a
Reference)
Thus, project C depends indirectly from A, but the dependency checker of
VS.NET seems to overlook that because A is a plain C++ DLL.
The result is that project A's DLL is not copied into the output directory
of project C, preventing project C to run properly. If I copy the DLL
manually it works.
Is this a bug of VS.NET ? Is there something I can do to make this work ?
Thanks,
Yannick L.
- Right click on the C# project and select properties.
- Select Build Events under Common Properties
- Type the desired Windows command line copy statement into the Post Build
Command Line entry area to copy the DLL over.
--
-----------------------------------
Ken Varn
Senior Software Engineer
Diebold Inc.
EmailID = varnk
Domain = Diebold.com
-----------------------------------
"Yannick Létourneau" <YannickL...@discussions.microsoft.com> wrote in
message news:F39F4D65-A377-439B...@microsoft.com...