I have an mvc5 web application on a TFS 2013 server. When I create the solution locally, it works fine. I created an assembly definition in TFS and tried to build, it returned below a compiler error.
"C: \ Program Files (x86) \ MSBuild \ Microsoft \ VisualStudio \ v12.0 \ ReportingServices \ Microsoft.ReportingServices.targets (24):" Task Microsoft.Reporting.RdlCompile "cannot be loaded from the Microsoft.ReportViewer.WebForms assembly , Version = 11.0.0.0, culture = neutral, PublicKeyToken = 89845dcd8080cc91. Failed to load the file or assembly 'Microsoft.ReportViewer.WebForms, Version = 11.0.0.0, Culture = neutral, PublicKeyToken = 89845dcd8080cc91' or one of its dependencies. The system is not can find the specified file. Make sure that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains an open class that implements Microsoft.Build.Framework.ITask ".>
In TFS Server (Microsoft Windows Server 2008), visual studio is not installed. Installed only .Net framework 4.5.1. I observed the below configuration in C: \ Program Files (x86) \ MSBuild \ Microsoft \ VisualStudio \ v12.0 \ ReportingServices \ Microsoft.ReportingServices
<UsingTask TaskName="Microsoft.Reporting.RdlCompile" AssemblyName="Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"/>
Please let me know how to make the build successful.
source
share