使用哪种类型的安装程序 [英] What type of install procedures to use

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

问题描述



我在需要部署的C#中有一个Windows应用程序.需要时,它具有服务器端和具有客户端connectng的数据库访问权限.

什么是部署的最佳设置?

用户将通过网站下载.

我正在寻找这样的设置:

Hi,

I have a windows application in c# whcih I need to deploy. This has a server side and db access with clients connectng when required.

What is the best setup for deployment?

Users will download via a web site.

I am looking to have a setup like this:

1 user goes to web site, <br />
2 downloads application which installs and runs automatically, <br />
3 user is notified when updates are available and application updates automatically if user accepts.



我尝试单击一次应用程序,该应用程序在登录之前检查更新,并认为它运行正常.

昨天我正在测试的一位同事出现以下错误:

Unable to install or run the application. The application requires that assembly Microsoft.VisualBasic.PowerPacks.Vs Version 9.0.0.0 be installed in the Global Assembly Cache(GAC) first.

他以前安装并运行了系统,并进行了更新,没有任何问题.重新发布后出现此错误,但在安装了Visual Studio的计算机上未发生该错误.

请帮助



I have tried click once application that checks updates before login and thought it was working fine.

Yestreday a colleague I was testing with got the following error:

Unable to install or run the application. The application requires that assembly Microsoft.VisualBasic.PowerPacks.Vs Version 9.0.0.0 be installed in the Global Assembly Cache(GAC) first.

He had previously installed and run the system and taken updates without any problem. This error came up after I published again but the error did not occur on machines with visual studio installed.

Please help

推荐答案

假设您的同事一直都在使用同一台计算机,那么事实很简单,那就是如果以前没有这样做,现在这样做,然后在代码中添加了一些需要该程序集的内容.

查看所做的更改,您可能会找到有问题的代码.
Assuming your colleague has using the same coimputer the whole time, the simple truth is that if it wasn''t doing it before, and now it is doing it, then you added something to your code that now requires that assembly.

Review the changes you made, and you''ll probably find the offending code.


我找到了解决方案.

约翰,你说的很对,这也是我在想的,但没想到我可能会做的任何事情!

我在表单中添加了一行(绘图),并且使用了VB程序集.

要解决该问题,我要做的只是遍历引用的详细信息,并将copy local属性设置为true.

现在工作正常,再次感谢.
I found the solution.

John you are absolutely right and that was also what I was thinking, but couldn''t think of anything I might have done!

I had added a line (drawing) to a form and that used the VB assemblies.

To solve the issue all I did was to go tho the proberties of the reference and set the copy local property to true.

Works fine now and thanks again.


我不知道您的解决方案.

但是下面的这些链接将为您提供一些解决问题的想法

http://social.msdn.microsoft.com/Forums/zh/vbpowerpacks/thread/e51a7745-1647-40cf-8bd7-88acc99e4ba1 [ http://social.microsoft.com/Forums/en -US/Offtopic/thread/d7efe285-d284-434d-b23d-0123f69eaf74/ [ http://www.windowsdevelop.com/clickonce-setup--deployment-projects/visualbasicpowerpacks-related-error-message-when-intalling-my-net-35-vs-2008-appln-3903.shtml [
I am not aware of your solution .

But these below links will give you some idea to solve your problems

http://social.msdn.microsoft.com/Forums/en/vbpowerpacks/thread/e51a7745-1647-40cf-8bd7-88acc99e4ba1[^]


http://social.microsoft.com/Forums/en-US/Offtopic/thread/d7efe285-d284-434d-b23d-0123f69eaf74/[^]

http://www.windowsdevelop.com/clickonce-setup--deployment-projects/visualbasicpowerpacks-related-error-message-when-intalling-my-net-35-vs-2008-appln-3903.shtml[^]

Regards
Ravi


这篇关于使用哪种类型的安装程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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