I have the following situation:
Solution with
- Project 1: Web_Application (VB.NET Web Application)
- Project 2: Code_Library (VB.NET DLL, Referenced in Project 1, References My_Reports, My_SQL)
- Project 3: My_SQL (Embedded SQL scripts C# DLL, referenced in Code_Library)
- Project 4: MyReports (C# dll, depends on ReportViewer),
referenced in Code_library, copyLocal = true
unfortunately depends on
- Microsoft.ReportViewer.WebForms.dll (copyLocal = true)
which depends on
- Microsoft.ReportViewer.Common.dll (copyLocal = true)
- Microsoft.ReportViewer.ProcessingObjectModel.dll (copyLocal = true)
- System.Web.DataVisualization.dll (copyLocal = true)
The ReportViewer dll's are set to localcopy in the MyReports project
In Code_Library, MyReports is set to localcopy
In Web_Application, Code_Library & MyReports is set to localcopy
This gives the following very dissatisfying result:
In MyReports, the ReportViewer dll's are localcopied to the output directory.
In Code_Library, MyReports.dll is in the output directory, but the ReportViewer dll's are not ...
In Web_Application, CodeLibrary.dll & MyReports.dll are in the output directory, but the ReportViewer dll's are not...
Why ?
Is there anything I can do (short of adding the reportViewer dll's to my Web-Application project ?
I absolutely don't want to add the ReportViewer as depencency to Code_Library, since then I have to update 2 locations, if I want to change to a higher version of ReportViewer.