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

查看:18
本文介绍了为什么在“添加引用..."中看不到 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.

我需要将报表查看器控件更新到版本 10.0.0.0.但是当我安装 Redistributable (http://www.microsoft.com/downloads/en/details.aspx?displaylang=en&FamilyID=a941c6b2-64dd-4d03-9ca7-4017a0d164fd),它没有添加到.NET-添加引用..."对话框中的选项卡!

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!

通过开始->运行->程序集检查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:

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

从 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-程序集到视觉工作室添加引用对话框/

我希望这能帮助另一个受苦的灵魂!;)

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

/亚历克斯

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

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