我已尝试重置工具箱并将“microsoft.reporting.winforms”包更新为 v11,但仍然出现相同的错误。 无法创建组件“ReportViewer”。错误消息在“System.Runtime.Interopservices.COMexception”之后。项目中已存在对组件“microsoft.reporting.winforms”的引用。
最佳答案
我引用了 microsoft.reporting.winforms 10.0.0.0 版。我从引用中删除了它并下载了 visual studio 2015 的报告查看器。然后,我添加了对 microsoft.reporting.winforms 版本 12.0.0.0 的引用。我能够使用报告查看器。希望它有效。
关于c# - 无法创建组件 'reportviewer'。错误消息遵循 'system.runtime.interopservices.comexception' vs 2015,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42529104/