使用installShieldProject创建应用程序设置时发生C#Crystal Reports错误

时间:2018-03-16 04:51:07

标签: c# crystal-reports installshield

我使用Visual Studio 2015创建了win-form应用程序。我已经使用installShield项目进行了设置。我的应用程序有一些与crystal report相关的功能。在尝试安装该应用程序创建安装文件后,另一台计算机出现2个错误安装时和安装后运行程序时发生。

将应用程序安装到另一台计算机时 enter image description here

运行后安装

enter image description here

如何解决?

1 个答案:

答案 0 :(得分:2)

我发现造成这些错误的原因是什么。

解决方案是我们使用 InstallShieldProject 创建设置时,在ApplicationFiles中(第3步)添加PrimaryOutput后,右键单击PrimaryOutput并选择Properties。

弹出一个窗口后。

enter image description here

  • 然后选择Properties并选择“.NET-Settings”。然后选择“在构建时扫描:”并选择“仅属性”

选择 COM& .NET的设置

然后您可以在.NET Properties Scan中看到Build已选择的依赖项和属性。在那里您必须选择仅属性

enter image description here

申请后

然后确定。这是您的应用程序使用 Crystal报表与某些功能相关并且您创建设置时的更改 installShield

enter image description here

试试这个..