发布的安装程序需要全局程序集缓存中的程序集CrystalReports 10.2.3600.0

问题描述:

运行安装程序以安装已发布的程序时,会出现以下消息:需要系统更新:无法安装或运行该应用程序.该应用程序要求首先在全局程序集缓存(GAC)中安装程序集CrystalDecisions.CrystalReports.Engine版本10.2.3600.0.该版本已在程序参考中列出,并且在我看来,已包含在build中.如何解决此错误?

When running setup to install published program, the following message occurs: System Update Required: Unable to install or run the applicaiton.  The application requires that asssembly CrystalDecisions.CrystalReports.Engine Version 10.2.3600.0 be install in the Global Assembly Cache (GAC) first.  This version is listed in the references of the program and in my mind, be included in build.  How do I get by this error?

我知道了.在解决方案资源管理器中,右键单击应用程序名称,转到属性,引用,单击未使用的引用,删除其中的所有引用,发布应用程序文件,然后选择所有文件上的包含.
dude i figured it out.  in solution explorer right click on the app name, go to properties, references, click on unused references, remove any that are in there, publish, application files, and then choose include on all of the files.