部署Windows窗体应用程序VB.NET [英] Deploy Windows Form Application VB.NET

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

问题描述

你好,
我正在尝试部署我成功完成的表单应用程序,但问题出在我的DLL之一上,运行设置无法加载DLL"基本后,运行启动应用程序时,它一直给我这个错误. dll":找不到指定的模块.

注意:我无法将此dll作为参考添加到项目中,因此我不得不将其复制并粘贴到bin中.调试目录以使项目正常运行

Hello,
I''m trying to deploy my form application which i do successfully but the problem is with one of my DLLs , it keeps giving me this error when running the starting the application after running the set up "Unable to load DLL ''Basic.dll'':the specified module could not be found.

Notice: I couldn''t add this dll to the project as a reference so i had to copy and past it in the bin--> debug directory to make the project works

推荐答案

指定的dll未随安装程序一起打包,如果将其粘贴到与你的申请.当您打算分发该dll时,还必须将其与应用程序一起打包.

首先,您可以在项目中查看dll,甚至可以导入新的dll.试试这个:

1)按 Alt + P + P :显示项目属性页.
2)单击参考标签:在这里,您将看到项目中引用的所有dll,您可以添加Basic.dll


要创建安装程序以在分发文件中包含basic.dll,请

阅读有关创建设置的Microsoft MSDN. [在VS 2010中进行设置和部署 [
THe specified dll was not packed with the setup, of course it would work if you paste it in the bin directory same as in your application. You also have to pack that dll with the application when you intend to distribute it.

First, you can view the dll''s in your project or even import new ones. Try this:

1) Press, Alt + P + P : This displays the project property page.
2) Click on the References tab : Here, you''ll see all the dll''s referenced in your project and you can add your Basic.dll


To create the setup to include the basic.dll in your distribution files,

Read Microsoft MSDN on creating setups.[^] or other sources Setup and deployment in VS 2010[^]


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

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