部署使用DataRepeater的应用程序 [英] Deploying an application that uses a DataRepeater

查看:62
本文介绍了部署使用DataRepeater的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我想构建一个使用Visual Basic Powerpacks中的DataRepeater的应用程序.
目前阻止我这样做的事实是,当您构建应用程序并将其分发到其他计算机时,该应用程序将无法运行,因为这些计算机需要在目标计算机上安装控件.

我使用InnoSetup将应用程序安装到目标计算机(因为我讨厌Visual Studio附带的默认安装程序),但是我不确定如何将Powerpack安装到目标计算机.

有人可以帮我吗?

http://msdn.microsoft.com/en-us/vstudio/bb735936.aspx [ ^ ]

Hi Everyone,

I want to build an application which uses a DataRepeater from the Visual Basic Powerpacks.

What is preventing me from doing so at the moment is the fact that when you build your application, and distribute it to other computers, the application will not work because those computers need the controls installed on the destination computer.

I use InnoSetup to install my application to the destination computers (because I hate the default installer that comes with Visual Studio), however I am unsure how to go about installing the powerpacks to the destination computers.

Can anybody help me?

http://msdn.microsoft.com/en-us/vstudio/bb735936.aspx[^]

推荐答案

为什么不使用实际的Visual Studio发布解决方案"功能?它将自动包含所需的DLL文件.

如果您使用的是VS Express,则可能不那么容易.但是查看PowerPack中的原始代码,应该可以让您手动找到相关的类并将其添加到您的解决方案中.

程序/解决方案中的某些设置也可能使它混乱.

希望这会有所帮助!

-frank
Why not use the actual Visual Studio "Publish Solution" feature? It will include the needed DLL-files automatically.

If you are using VS Express, it might not be as easy. But looking into the raw code in the PowerPack, should allow you to locate and add the relevant classes manually to your solution.

It may also be some settings in you program/solution that messes it up.

hopefully this helped!

-frank


这篇关于部署使用DataRepeater的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆