c# - Visual Studio 2017 中的 Microsoft Rdlc 报表设计器

标签 c# rdlc windows-forms-designer visual-studio-2017

我是Microsoft Rdlc Report Designer extension和 NuGet ReportViewerControl.Winform 包。

现在可以在 Visual Studio 2017 设计器中打开 *.rdlc 文件,但是当我尝试保存我的报告时出现错误:“未知报告版本:9.0

此外,我无法创建空的 *.rdlc 文件,因为在New File... 对话框中没有相同的模板

enter image description here


更新:

这个时刻,我不知道如何解决这个问题,但我知道如何避免它:

VS2015 中打开您的报告,然后保存它 - 下次 VS2017 可以打开/编辑/保存文件。

最佳答案

来自 marketplace 的回答:

This happens when you have missed a reference. Please search through all of your code and project files to find the 9.0 references and update to 14.0.

By Sql Reporting Services 25.04.2017

这意味着您需要在您的 *.rdlc 文件中搜索 9.0 版本的模式(以前​​的 xml 结构)这对我来说并不明显。 p>

这就是为什么在 VS2015 中重新保存有效。

关于c# - Visual Studio 2017 中的 Microsoft Rdlc 报表设计器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43465959/

相关文章:

c# - 在 EF 4.0 中,获取 dbcontext 的静态类是否是一种好方法?

c# - 如何在 C# 中将数据源绑定(bind)到 .rdlc 报告

c# - 将两个字符串连接到一个文本框中

visual-studio-2010 - Visual Studio 2012 中的黑白图标

c# - Visual Studio 组件设计器可以访问和修改项目 .config 文件吗?

c# - Entity Framework 代码首先多对多返回对象 null

c# - 我如何在 C sharp 中声明一个具有可为 null 的 double 值的列表?

asp.net - RDLC和SSRS之间的区别

pdf - 导出为 PDF Visual Studio 时报表丢失分页符

c# - 在“属性”窗口中允许多行字符串属性