I have a VS 2010 WPF application which uses ReportViewer (RDLC) which I am trying to build in VS 2013. I am having a problem with the build. In 2010 (.NET 4) it worked fine with Microsoft.ReportViewer.WinForms.
To build under 2013, I found two NuGet packages: Micosoft.ReportViewer.WebForms v 11.0.0.0 (note spelling error!) and: ReportViewer.Common 10.0
Using the first one, an error message tells me: error CS0012: The type 'System.Web.UI.IScriptControl' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
I can't seem to find this exact assembly; using any other version, I get: error MC1000: Unknown build error, 'Binary format of the specified custom attribute was invalid.'
I've tried with my application targeting .NET 4.0 and also tried targeting 4.5.1; nothing seems to work.
How can I build a WPF application using VS 2013, targeting at least .NET 4.0 (although I'd prefer newer), and using RDLC?
What components do I need to install? What NuGet packages should I use? What assemblies (versions) should I reference, and where do I find them?