该应用程序要求首先在全局程序集缓存中安装程序集microsoft.reportviewer.processingObjectModel 11.0.0.0 [英] the application requires that assembly microsoft.reportviewer.processingObjectModel version 11.0.0.0 be installed in the global assembly cache first
问题描述
我有一个在Visual Studio 2012中创建的小型Windows窗体应用程序,该应用程序使用ReportViewer 11.0.0.0。
I have a small windows forms application created in Visual Studio 2012 that uses ReportViewer version 11.0.0.0.
应用程序目标框架是.NET 4.0及其部署方法是ClickOnce
The application target framework is .NET 4.0 and its deployment method is ClickOnce
在我的PC上已安装,但在客户端计算机上,安装失败并显示错误
On my PC it installs but on client machines, intallation fails with error
该应用程序要求首先在全局程序集缓存中安装程序集microsoft.reportviewer.processingObjectModel 11.0.0.0。
the application requires that assembly microsoft.reportviewer.processingObjectModel version 11.0.0.0 be installed in the global assembly cache first.
在客户端计算机,我已经安装了
On the client machines, i have installed
- .NET 4.0
- ReportViewer 2010
- Microsoft Report Viewer 2012 Runtime CTP
- SQLSYSCLRTYPES.msi
- .NET 4.0
- ReportViewer 2010
- Microsoft Report Viewer 2012 Runtime CTP
- SQLSYSCLRTYPES.msi
项目应用程序文件设置中,我已将 microsoft.reportviewer.processingObjectModel 发布状态 设置为 Include(Auto),在我还设置了其引用 Copy本地 属性为正确。
in the project application files settings, i have set microsoft.reportviewer.processingObjectModel publish status to Include(Auto), in the references i have also set its Copy Local property to True.
我还缺少什么?
我什至遵循这里的说明 http://msdn.microsoft .com / en-us / library / ms251723.aspx
I have even followed the instructions here http://msdn.microsoft.com/en-us/library/ms251723.aspx
推荐答案
您丢失了ProcessingObjectModel.dll文件查找gac程序集C:\windows\assembly\GAC_MSIL\Microsoft.ReportViewer.ProcessingObjectModel中的版本11.0.0.0,并将其添加到bin目录中。
you are missing the ProcessingObjectModel.dll file find the version 11.0.0.0 in gac assembly C:\windows\assembly\GAC_MSIL\Microsoft.ReportViewer.ProcessingObjectModel and add it to bin dir.
这篇关于该应用程序要求首先在全局程序集缓存中安装程序集microsoft.reportviewer.processingObjectModel 11.0.0.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!