c# - 报表查看器未出现在工具箱中 - Visual Studio 2017

标签 c# .net visual-studio-2017 reportviewer

按照此处定义的步骤执行后 Reportviewer tool missing in visual studio 2017 RC . 我仍然不能让它在报表查看器中工作,这是它在工具箱中的显示方式:

enter image description here

此 ReportViewer 工具仅在右键单击“工具箱”然后选择“全部显示”后出现。做完这些我还是不能把它拖到设计报告中。

我不知道怎么解决。

最佳答案

除了答案Reportviewer tool missing in visual studio 2017 RC ,这可以通过以下方式完成:

  • 删除工具箱中的任何报表查看器
  • 打开项目中的 Reportviewer 包文件夹 (D:...packages\Microsoft.ReportingServices.ReportViewerControl.Winforms.140.340.80\lib\net40)
  • 将文件“Microsoft.ReportViewer.WinForms.dll”(或 Microsoft.ReportViewer.WebForms.dll)拖到 Visual Studio 的工具箱中。

Check the GIF

关于c# - 报表查看器未出现在工具箱中 - Visual Studio 2017,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45829376/

相关文章:

C#判断Excel中选中对象的类型

c# - 有没有办法将通用枚举值转换为 UInt64 值而不进行分配?

c# - 必须在非泛型静态类中定义扩展方法

xamarin - 为什么应用程序处于中断模式?

c - 在 Visual Studio 中使用 "Command Arguments"进行调试不起作用

c# - 如何使用反射在 IEnumerable<T> 上调用 System.Linq.Enumerable.Count<>?

c# - 使用 FastMember 将不同的对象列表转换为 DataTable

.net - 在 .Net 中,为什么调用 Type.GetCustomAttributes(true) 时不返回接口(interface)上声明的属性?

.net - 使用 CaSTLe AutoTx Facility 和 NHibernate Facility 的交易

git - Visual Studio 使用哪个 .gitconfig 文件?