简体   繁体   English

Legacy.Net 应用程序上的程序集版本控制

[英]Assembly Versioning on Legacy .Net Apps

I got version of.Net Project on my IIS.我在 IIS 上获得了 .Net 项目的版本。 For example;例如; 3.10.5 etc. On my repository ı have new project which is "3.20.2" There are 17 projects differences between this project. 3.10.5 等在我的存储库中我有一个新项目,即“3.20.2”这个项目之间有 17 个项目差异。 How could i do it?我该怎么做?

I mean there is newer version of this project in my gitlab(repository).我的意思是在我的 gitlab(repository) 中有这个项目的更新版本。 I want to compare how many version differences between this project?我想比较这个项目有多少版本差异? I could not explain sorry.我无法解释抱歉。

There are 17 projects differences between this project本项目有17个项目差异

Except there aren't.除了没有。 Version numbers are in the format major.minor.patch[.revision] .版本号的格式为major.minor.patch[.revision] One could go from 3.10.5 to 3.11.0 in one release, or from 3.10.5 to 3.10.347 if there are many bugs in 3.10.5 , and then go to 4.0 because they're done with the old codebase.如果3.10.5中有很多错误,则可以将 go 从3.10.5升级到3.11.0 ,或者从3.10.5升级到3.10.347 ,然后再使用4.0 ,因为它们已经完成了代码库 4。 As how many "differences" does that count?这算多少“差异”?

If you really want to do math on version numbers, but you shouldn't, parse a System.Version and subtract the relevant properties.如果您真的想对版本号进行数学运算,但不应该,请解析System.Version并减去相关属性。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM