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

推荐订阅源

WordPress大学
WordPress大学
Microsoft Security Blog
Microsoft Security Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
V
Visual Studio Blog
宝玉的分享
宝玉的分享
IT之家
IT之家
人人都是产品经理
人人都是产品经理
T
The Blog of Author Tim Ferriss
I
InfoQ
B
Blog RSS Feed
T
Threatpost
博客园_首页
M
MIT News - Artificial intelligence
Spread Privacy
Spread Privacy
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Know Your Adversary
Know Your Adversary
U
Unit 42
Engineering at Meta
Engineering at Meta
C
Cyber Attacks, Cyber Crime and Cyber Security
月光博客
月光博客
Scott Helme
Scott Helme
T
Tor Project blog
有赞技术团队
有赞技术团队
AWS News Blog
AWS News Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Last Week in AI
Last Week in AI
S
Schneier on Security
Vercel News
Vercel News
博客园 - Franky
C
Cybersecurity and Infrastructure Security Agency CISA
L
LINUX DO - 热门话题
NISL@THU
NISL@THU
L
LangChain Blog
爱范儿
爱范儿
Google DeepMind News
Google DeepMind News
The GitHub Blog
The GitHub Blog
雷峰网
雷峰网
Latest news
Latest news
C
CXSECURITY Database RSS Feed - CXSecurity.com
Hugging Face - Blog
Hugging Face - Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
www.infosecurity-magazine.com
www.infosecurity-magazine.com
G
GRAHAM CLULEY
S
Security Affairs
A
About on SuperTechFans
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
大猫的无限游戏
大猫的无限游戏
W
WeLiveSecurity
Cisco Talos Blog
Cisco Talos Blog
罗磊的独立博客

博客园 - 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是使用此版本号来确定加载程序集的。