Why are some assemblies, such as Logging.Database or ExceptionHandling.Logging, not copied when I build my application, even if my class library includes a reference to these assemblies with CopyLocal set to true?


Classes in assemblies that contain providers for an application block are typically not directly referenced, so the build process does not copy them as referenced binaries when building an application. Assemblies required by the application's configuration must be copied explicitly to the application's project output folder, either by adding explicit project references to them in the application project or as an ad-hoc post build step (recommended).

Last edited Feb 11, 2009 at 12:31 AM by gmelnik, version 1


No comments yet.