Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在我的 windows mobile 6.1 专业应用程序中设置/更改构建的版本号?我创建了一个 cab 文件,我想了解构建之间的差异。
应用程序的版本号在 AssemblyInfo 文件中设置(您可以移动它,但这是默认位置)。但是,CAB 文件中不使用该编号。包含应用程序的 CAB 文件本身没有版本控制。
编辑 要检查版本号,请使用以下内容:
var version = Assembly.GetExecutingAssembly().GetName().Version;