本文介绍了Installshield LE项目问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

< pre lang ="c#"</pre>< b>//b< b>/b>我以前从未使用过Installshield LE或为C#创建过安装程序项目.该项目使用Windows窗体,并且可以在我安装了Visual Studio 2010的计算机上正常运行.我已经采用了该程序,并使用Installshield LE构建了一个安装程序.我已经包括了.NET Framework 4.0完整的可再发行组件.一切都安装在目标计算机上,但我的应用程序未执行.在对我的FormDesigner.cs的各个部分进行了许多小时的注释之后,我发现如果删除对Visual Basic的引用,该应用程序将运行(减去Visual Basic创建的小部件).示例如下:

this.shapeContainer1 =新的Microsoft.VisualBasic.PowerPacks.ShapeContainer();
this.rectangleShape2 =新的Microsoft.VisualBasic.PowerPacks.RectangleShape();
this.rectangleShape1 =新的Microsoft.VisualBasic.PowerPacks.RectangleShape();

我应在我的Installshield LE项目中包括什么以便将Visual Basic运行时功能带到目标计算机上?

<pre lang="c#"></pre><b></b><b></b>I have never used Installshield LE before or created an installer for a C# project. The project uses Windows Forms and runs correctly on the machine or machines that I have installed Visual Studio 2010 on. I have taken this program and built an installer using Installshield LE. I have included the .NET Framework 4.0 Full redistributable. Everything installs on the target machine but my application doesn''t execute. After many hours of commenting out sections of my FormDesigner.cs, I discovered that if I removed the references to Visual Basic, the application runs (minus the widgets created by Visual Basic). Examples are:

this.shapeContainer1 = new Microsoft.VisualBasic.PowerPacks.ShapeContainer();
this.rectangleShape2 = new Microsoft.VisualBasic.PowerPacks.RectangleShape();
this.rectangleShape1 = new Microsoft.VisualBasic.PowerPacks.RectangleShape();

What do I include in my Installshield LE project to get the Visual Basic run-time capability onto the target machine?

推荐答案


这篇关于Installshield LE项目问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-29 05:25