Using ReportViewer in VS 2013

I have a WP 2010 VS 2010 application that uses ReportViewer (RDLC), which I am trying to build in VS 2013. I am having a build problem. In 2010 (.NET 4), it worked great with Microsoft.ReportViewer.WinForms.

To build until 2013, I found two NuGet packages: Micosoft.ReportViewer.WebForms v 11.0.0.0 (note the spelling error!) And also: ReportViewer.Common 10.0

Using the first message, the error message tells me: error CS0012: The type "System.Web.UI.IScriptControl" is defined in an assembly that is not referenced. You should add a link to the assembly "System.Web.Extensions, Version = 3.5.0.0, Culture = neutral, PublicKeyToken = 31bf3856ad364e35"

I can not find this exact assembly; using any other version, I get: error MC1000: Unknown build error, "The binary format of the specified user attribute is not valid."

I tried with my application targeting .NET 4.0, and also tried to target 4.5.1; nothing works.

How can I create a WPF application using VS 2013, focusing at least on .NET 4.0 (although I would prefer a newer one) and use RDLC?

What components do I need to install? What NuGet packages should I use? What assemblies (versions) should I indicate, and where to find them?

+4
source share
1 answer

ReportViewer WinForms, WebForms, -. , - WPF, WinForms.

+3

All Articles