JonathanMurray
07-05-2007, 11:49 AM
Hi all,
We are experiencing a problem with the “Make VS.NET” action of Visual Build where it does not copy some of the referenced assemblies for certain projects in our C# solution even though "Copy Local" is set to True for all those references.
When we build the solution with Visual Studio 2005 the output bin directory for the project correctly contains the projects’s own DLL and all referenced DLL's (as well as their own references).
But when we build the solution using Visual Build's "Make VS.NET" action, it builds successfully but only outputs the projects’s own DLL and some of the refrenced DLLs (and their sub-references), but some of the referenced DLLs are not copied to the output bin directory at all.
We also have a case where a referenced DLL is copied but some of it's sub-references are not.
We have another case where another project in the same solution is referenced with copy local but it's DLL does not get copied to the refering project's own output bin.
I cannot find any setting in the Visual Build action definition that would change this behaviour from what is expected. It is also puzzling why some of the Copy Locals are done. On what basis might it making the exclusions?
It all works fine when built in Visual Studio 2005.
Can anyone perhaps shed any more light on this for us?
Thank you,
Jonathan Murray
We are experiencing a problem with the “Make VS.NET” action of Visual Build where it does not copy some of the referenced assemblies for certain projects in our C# solution even though "Copy Local" is set to True for all those references.
When we build the solution with Visual Studio 2005 the output bin directory for the project correctly contains the projects’s own DLL and all referenced DLL's (as well as their own references).
But when we build the solution using Visual Build's "Make VS.NET" action, it builds successfully but only outputs the projects’s own DLL and some of the refrenced DLLs (and their sub-references), but some of the referenced DLLs are not copied to the output bin directory at all.
We also have a case where a referenced DLL is copied but some of it's sub-references are not.
We have another case where another project in the same solution is referenced with copy local but it's DLL does not get copied to the refering project's own output bin.
I cannot find any setting in the Visual Build action definition that would change this behaviour from what is expected. It is also puzzling why some of the Copy Locals are done. On what basis might it making the exclusions?
It all works fine when built in Visual Studio 2005.
Can anyone perhaps shed any more light on this for us?
Thank you,
Jonathan Murray