There should be a tiny question about something forgotten, but I've been stuck with this since then, and now I need some pointers.
We are on .NET 3.5, VS2008 and TFS 2010
I have an ASP.NET website project. The solution has several class projects and one website project.
The problem is that when TFS builds the project, then 2 dlls are never generated in the _PublishedWebsite folder.
The strange thing is that these DLLs are generated and present outside the _PublsihedWebsite folder, but not in the bin, inside the publishedwebsites.
If we publish the website, then everything will be perfect, and the whole DLL will come.
Destructive DLLs: Microsoft.ReportViewer.Common.dll Microsoft.ReportViewer.WebForms.dll
I tried installing CopyLocal of these dlls in all projects.
eg.
<Reference Include="Microsoft.ReportViewer.WebForms, Version=9.0.30729.4402, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> <SpecificVersion>False</SpecificVersion> <HintPath>..\Library\Microsoft.ReportViewer.WebForms.dll</HintPath> <Private>True</Private> </Reference>
I checked that there is an update file in my bin folder, the pointer of which is correctly indicated in my Library folder, where this dll is physically located.
Here is a high level view of my solution structure:
Project 1 ----Refers to Report DLL (CopyLocal is true) Project 2 ----Refers to Report DLL (CopyLocal is true) Website project -----Refers to Project 1 -----Refers to Project 2 ----Refers to Report DLL (via Library folder in the refresh file in Bin folder)
What else can I check?