简体   繁体   English

从GAC添加或复制Crystal Report dll引用到Bin文件夹

[英]Add or Copy Crystal Report dll references from GAC to Bin Folder

I am using Visual Studio 2008, with crystal report 10.5.3700.0. 我正在使用Visual Studio 2008,带有水晶报表10.5.3700.0。 We want to copy crystal report dll from GAC to BIN Folder. 我们想将Crystal Report dll从GAC复制到BIN文件夹。 I used following solution - right-click on my project - Go to Property Pages -go to references - Removed GAC References And added crystal report dll (which is in "C:\\Program Files\\Business Objects\\Common\\2.8\\managed" this folder) with "Browse" option. 我使用以下解决方案-右键单击我的项目-转到属性页-转到参考-删除了GAC参考并添加了水晶报表dll(位于“ C:\\ Program Files \\ Business Objects \\ Common \\ 2.8 \\ managed”文件夹)和“浏览”选项。 But That References not added in BIN Folder. 但是,这些引用未添加到BIN文件夹中。 What is the Solution? 解决办法是什么?

Right click on dll then set CopyLocal=true; 右键单击dll,然后设置CopyLocal = true;

Or 要么

In project property/publish/application files/ -> set publish status to include. 在项目属性/发布/应用程序文件/中->将发布状态设置为包括。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM