Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why can't I see Microsoft.ReportViewer.WebForms version 10.0.0.0 in "Add Reference..." dialog?

I have a VS2008 Reporting Services project (database: SQL Server 2008 RC2). This project has been updated from VS2005/SQL2005.

I need to update the Report Viewer control to version 10.0.0.0. But when I install the Redistributable (http://www.microsoft.com/downloads/en/details.aspx?displaylang=en&FamilyID=a941c6b2-64dd-4d03-9ca7-4017a0d164fd), it isn't added to the .NET-tab in the 'Add reference...' dialog!

I can see the Microsoft.ReportViewer 8.0.0.0 and Microsoft.ReportViewer 9.0.0.0 in the dialog, but no 10.0.0.0

I tried running uninstalls for everything ReportViewer related, and reinstalling the ReportViewer 10.0.0.0 control. But I still see both version 8 and 9 in the dialog, but no version 10!

Checking the GAC through Start->Run->Assembly I can see all three versions. I cannot remove 8 and 9 because they apparently are used by other programs...

This is driving me somewhat nuts...

What do I have to do to make this assembly available in the "Add Reference..." dialog in Visual Studio 2008??

Regards Alex

like image 323
Alex Avatar asked Dec 09 '10 08:12

Alex


People also ask

How do I install Microsoft ReportViewer in Visual Studio 2017?

We can install Microsoft RDLC Report for Visual Studio 2017 in two ways, Installing from "Extensions and Updates" in Visual Studio 2017. Go to Visual Studio's Tools Menu > Extensions and Update > Select Microsoft RDLC Report Designer and Reporting Services Project for the Visual Studio.

What is Microsoft ReportViewer?

Description: Microsoft Report Viewer is a software that enables applications that run on the Microsoft . NET Framework to display reports designed using the Microsoft reporting technology.

What is Microsoft Report Viewer redistributable?

The Microsoft Report Viewer Redistributable 2008 SP1 Language Pack includes Windows Forms and ASP.NET Web server controls for viewing reports designed using Microsoft reporting technology.


1 Answers

OK, found a solution: Apparently VS2008 combined with ReportViewer2010 requires a little handy-work:

http://blogs.msdn.com/b/changliw/archive/2010/06/29/use-the-reportviewer-2010-control-in-visual-studio-2008-project.aspx

After I extracted the assembly DLLs from the GAC, I could add them to the 'Add reference...' dialog as described here:

http://www.csharp411.com/adding-assemblies-to-the-visual-studio-add-reference-dialog/

I hope this'll help another distressed soul! ;)

/Alex

like image 159
Alex Avatar answered Sep 17 '22 04:09

Alex