AssemblyInformationalVersion

AssemblyInformationalVersion

本文介绍了如何集信息属性映射到Win32的VERSIONINFO?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当您查看属性包含一个VERSIONINFO资源的二进制文件时,Windows增加了一个版本选项卡,其中显示的信息。

When you view the properties for a binary file that contains a VERSIONINFO resource, Windows adds a "Version" tab, which displays that information.

有一个列表,其中的.NET程序集属性所对应的VERSIONINFO领域,因此我们可以很容易地控制这些为我们的.NET程序集?

Is there a list of which .NET assembly attributes map to which VERSIONINFO fields, so we can control these easily for our .NET assemblies?

推荐答案

关于固定信息:

的ProductVersion和FILEVERSION从设置 [AssemblyInformationalVersion] [AssemblyFileVersion] 分别。

PRODUCTVERSION and FILEVERSION are set from [AssemblyInformationalVersion] and [AssemblyFileVersion] respectively.

FILEOS,文件类型很可能是由编译器设置。

FILEOS, FILETYPE are most likely set by the compiler.

关于变量文件信息

Concerning the Var File Info

[AssemblyCulture] 映射到翻译(我猜!)

[AssemblyCulture] maps to "Translation" (I guess!)

关于字符串文件信息

Concerning the String File Info

[AssemblyCompany] 映射到公司名称
[AssemblyDescription] 映射到意见
[AssemblyFileVersion] 映射到文件版本
[AssemblyTitle] 映射到FileDescription
[AssemblyInformationalVersion] 映射到的ProductVersion
[AssemblyProduct] 映射到产品名称
[AssemblyCopyright] 映射到LegalCopyright

[AssemblyCompany] maps to "CompanyName"
[AssemblyDescription] maps to "Comments"
[AssemblyFileVersion] maps to "FileVersion"
[AssemblyTitle] maps to "FileDescription"
[AssemblyInformationalVersion] maps to "ProductVersion"
[AssemblyProduct] maps to "ProductName"
[AssemblyCopyright] maps to "LegalCopyright"

我想INTERNALNAME和OriginalFile被设定为DLL或EXE的名称,分别

I think "InternalName" and "OriginalFile" are set to the name of the DLL or EXE, respectively.

这篇关于如何集信息属性映射到Win32的VERSIONINFO?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-29 05:54