为什么在“添加引用..."中看不到Microsoft.ReportViewer.WebForms版本10.0.0.0?对话? [英] Why can't I see Microsoft.ReportViewer.WebForms version 10.0.0.0 in "Add Reference..." dialog?

查看:200
本文介绍了为什么在“添加引用..."中看不到Microsoft.ReportViewer.WebForms版本10.0.0.0?对话?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个VS2008 Reporting Services项目(数据库:SQL Server 2008 RC2).此项目已从VS2005/SQL2005更新.

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

我需要将Report Viewer控件更新为版本10.0.0.0.但是,当我安装可再发行组件(

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!

我可以在对话框中看到Microsoft.ReportViewer 8.0.0.0和Microsoft.ReportViewer 9.0.0.0,但看不到10.0.0.0

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

我尝试运行所有与ReportViewer相关的卸载,然后重新安装ReportViewer 10.0.0.0控件.但是我仍然在对话框中看到版本8和9,但没有看到版本10!

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!

通过Start-> Run-> Assembly检查GAC我可以看到所有三个版本.我无法删除8和9,因为它们显然已被其他程序使用...

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...

要在Visual Studio 2008的添加引用..."对话框中使该程序集可用,我该怎么做?

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

问候 亚历克斯

推荐答案

确定,找到了一个解决方案:显然,VS2008与ReportViewer2010结合使用需要一些方便的工作:

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

从GAC提取程序集DLL之后,可以将它们添加到添加引用..."对话框中,如下所述:

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-程序集到Visual Studio的添加参考对话框/

我希望这会帮助另一个心疼的人! ;)

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

/亚历克斯

这篇关于为什么在“添加引用..."中看不到Microsoft.ReportViewer.WebForms版本10.0.0.0?对话?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆