Alex Rivera | Logout

"Copy Local" does not copy assemblies to output directory

Asked 2011-07-18T12:59:25.103
9

I have an assembly X that is referencing System.Interactive and System.Reactive from a lib folder. Then I have assembly Y that is referencing X.

In X for both, System.Interactive and System.Reactive, 'Copy Local' is set to true. In Y for X 'Copy Local' is set to true. System.Reactive and System.Interactive are not in the GAC.

When I build Y, System.Interactive and System.Reactive are not copied to the output directory. Why?

Edit
Report

1 Answer

3

This seems to fix it: How does visual studio determine what to copy to the output directory with multi-project solutions?

I manually added True in .csproj to the reference to X in project Y and the assemblies were copied to the output directory.

answered 2011-07-20T10:04:29.693

Your Answer