Visual Studio 2008 C#:自动递增版本号

发布于 2024-09-15 14:27:43 字数 378 浏览 7 评论 0原文

从我在网上看到的情况来看,VS 中唯一自动增加版本号的似乎是它是一个网站。对于应用程序,似乎您要么必须手动执行此操作,要么必须进行构建后事件并调用函数或小应用程序来为您执行此操作。但是,这只是我在谷歌上搜索以及自己尝试摆弄它时所看到的。我的问题是:

  1. 应用程序可以在成功构建时自动增加版本号,而不必执行上述操作吗?就像隐藏在 VS 深处的复选框之类的?
  2. 如果没有,是否有办法发布应用程序而不是将其发布为网站?
  3. 如果可以的话,这就是写作的方式吗?

我知道我见过一些可以使用安装包来增加数量的实例,但我的老板想开始了解我们构建应用程序的次数,以便他可以向我们的客户展示正在投入应用程序的工作。如果有人能帮助我,那就太好了。希望大家都度过愉快的一天。谢谢。

From what I'm seeing online, it seems the only thing in VS that auto-increments the Version numbers is if it's a website. For applications, it seems you either manually have to do it or you have to have a post build event and call a function or small app to do it for you. But, that's only what I'm seeing when I google it and when I've tried messing around with it myself. My questions are:

  1. Can an application auto-increment the version number on a successful build without having to do the afore mentioned? Like a checkbox hidden deep in VS or something?
  2. If no, is there a way to Publish an application rather than it being published as a website?
  3. If it can, is that even the write way to go?

I know I've seen some instances where you can use the install package to increment the number, but my boss would like to start seeing how many times we build the applications so he can show to our customer the work being put into the application. If anyone can help me, that'd be great. Hope you all are having a good day. Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

毁梦 2024-09-22 14:27:43

我的老板想开始了解我们构建应用程序的次数,以便他可以向我们的客户展示投入应用程序的工作。

为什么不直接发布您的更改日志和/或错误/功能数据库?

my boss would like to start seeing how many times we build the applications so he can show to our customer the work being put into the application.

Why not just publish your change logs and/or bug/feature database?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文