vb.net安装项目不会更新已安装的exe文件 [英] vb.net setup project does not update the installed exe file

查看:113
本文介绍了vb.net安装项目不会更新已安装的exe文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我有一个vb.net应用程序,它包含两个项目.
第一个项目是数据库管理应用程序,第二个项目用于设置

当我使用从安装程序项目创建的setup.exe安装应用程序时,安装成功完成,但该应用程序似乎未更新为新版本.

我检查了安装路径,发现exe文件的修改日期很旧.

请帮忙.


i have an application with vb.net, it contains two projects.
the first project is a database management application and the second one is for setup

when i install the application with setup.exe created from the setup project, the installation completed successfully but the application seems not updated to the new version.

i''ve checked the installation path, i found that the modification date of the exe file is an old one.

please help.

推荐答案

请使用安装向导创建安装程序,并添加项目输出而不是exe文件
please use setup wizard to create your setup and add project output not the exe file


解决方案我用过:
项目属性->应用程序->组装信息->
1-使程序集版本以*
结尾 2,并且每次更改设置项目的版本并进行构建之前,都应手动增加文件版本.
the solution that i used:
project properties -> application -> assembly information ->
1-make the assembly version ended with *
2-and the file version should be increased manually each time before changing the version of the setup project and building it.


这篇关于vb.net安装项目不会更新已安装的exe文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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