惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

美团技术团队
D
DataBreaches.Net
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
D
Docker
N
Netflix TechBlog - Medium
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
C
Check Point Blog
腾讯CDC
Stack Overflow Blog
Stack Overflow Blog
V
Visual Studio Blog
IT之家
IT之家
月光博客
月光博客
U
Unit 42
K
Kaspersky official blog
T
Threatpost
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
GbyAI
GbyAI
P
Proofpoint News Feed
Last Week in AI
Last Week in AI
云风的 BLOG
云风的 BLOG
酷 壳 – CoolShell
酷 壳 – CoolShell
I
InfoQ
Engineering at Meta
Engineering at Meta
Recorded Future
Recorded Future
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
S
Security @ Cisco Blogs
MyScale Blog
MyScale Blog
大猫的无限游戏
大猫的无限游戏
Security Archives - TechRepublic
Security Archives - TechRepublic
Webroot Blog
Webroot Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Hacker News - Newest:
Hacker News - Newest: "LLM"
S
Schneier on Security
S
Secure Thoughts
The Register - Security
The Register - Security
B
Blog RSS Feed
The Last Watchdog
The Last Watchdog
P
Palo Alto Networks Blog
爱范儿
爱范儿
B
Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
N
News and Events Feed by Topic
阮一峰的网络日志
阮一峰的网络日志
L
LINUX DO - 热门话题
C
Cisco Blogs
Spread Privacy
Spread Privacy
F
Full Disclosure
博客园 - 聂微东
T
The Blog of Author Tim Ferriss

博客园 - light's cafe

Queue和Stack的学习代码 BitVector32结构学习 转贴一篇关于BitVector32的Blog 依赖单元测试开发 调整过的书籍目录 今天晚上的遭遇 设计,UML,测试驱动开发 看牙记 我是LIGHT的LP,今天由我代笔 明天去买干粒猫粮 面向接口编程 关于测试驱动开发的文章 今天我只睡了三个小时 强命名程序集 我,我 庆祝一下 看兽医记 AL链接器 怪事时时有不如昨天多
程序集文件中的版本号
light's cafe · 2004-07-30 · via 博客园 - light's cafe

程序集文件中的版本号

Posted on 2004-07-30 13:11  light's cafe  阅读(363)  评论()    收藏  举报

一个.net程序集支持三种版本它,它都是使用特性的方式在源代当中指定的,然后由编译器/链接器将它们嵌入到.net程序当中(程序文件)。这三种版本号对应的特性名称和其作用如下所示:
AssemblyFileVersion:这个特性所标识的版本号对应传统Win32程序的文件版本号。CLR本身并不使用此版本号。
AssemblyInformation:这个特性所标识的版本号对应传统Win32程序的产品版本号。CLR本身并不使用此版本号。
AssemblyVersion:这个特性标识的版本号为CLR本身所识别的版本号,CLR通过这个版本号来确定程序集的版本。
这里需要注意的是,AssemblyFileVersion的build位和fix位应该是一个第次重新编译后都有所不同的版本号,程序的用户暨以此版本号来区分一个主版本号(由Major和Minor组成的版本号)内程序集的不同。
而AssemblyVersion版本号则是应该在一个主版本号内固定不变的,因为CLR是使用此版本号来确定加载程序集的。