Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TFS:The "Microsoft.Reporting.RdlCompile" task could not be loaded from the assembly Microsoft.ReportViewer.WebForms, Version=11.0.0.0

I have a mvc5 web application in TFS server 2013. When I build the solution locally, its working fine. I created a Build definition in TFS and tried to Build, it returned below compiler error.

"C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\ReportingServices\Microsoft.ReportingServices.targets (24): The "Microsoft.Reporting.RdlCompile" task could not be loaded from the assembly Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91. Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask."

In TFS Server(Microsoft Windows Server 2008), no visual studio is installed. Only .Net framework 4.5.1 is installed. I observed 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.

like image 406
lavanya b Avatar asked Sep 30 '22 02:09

lavanya b


1 Answers

I have dowloaded ReportViewer.msi and SQLSysClrTypes.msi from below link and installed in TFS server machine and my Build is success without installing Visual studio... http://www.microsoft.com/en-in/download/details.aspx?id=35747

like image 162
lavanya b Avatar answered Nov 15 '22 11:11

lavanya b