Visual Studio 2008 C#:自动递增版本号
从我在网上看到的情况来看,VS 中唯一自动增加版本号的似乎是它是一个网站。对于应用程序,似乎您要么必须手动执行此操作,要么必须进行构建后事件并调用函数或小应用程序来为您执行此操作。但是,这只是我在谷歌上搜索以及自己尝试摆弄它时所看到的。我的问题是:
- 应用程序可以在成功构建时自动增加版本号,而不必执行上述操作吗?就像隐藏在 VS 深处的复选框之类的?
- 如果没有,是否有办法发布应用程序而不是将其发布为网站?
- 如果可以的话,这就是写作的方式吗?
我知道我见过一些可以使用安装包来增加数量的实例,但我的老板想开始了解我们构建应用程序的次数,以便他可以向我们的客户展示正在投入应用程序的工作。如果有人能帮助我,那就太好了。希望大家都度过愉快的一天。谢谢。
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:
- 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?
- If no, is there a way to Publish an application rather than it being published as a website?
- 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
为什么不直接发布您的更改日志和/或错误/功能数据库?
Why not just publish your change logs and/or bug/feature database?