[Mono-dev] Could we use windres to compile .rc files when buildingmcs tree?

Kornél Pál kornelpal at hotmail.com
Thu Dec 8 23:44:03 EST 2005


> There is an AssemblyFileVersionAttribute for the 1.x profile and
> its handling is almost functional. The value survives as
> StringFileInfo."FileVersion" but not as VERSIONINFO.FILEVERSION.

Of course we could use AssemblyFileVersionAttribute but we cannot use it for
MS.NET compatiblity as most of profile 1.x assemblies have no
AssemblyFileVersionAttribute. When using no AssemblyFileVersionAttribute the
only way to set Win32 resource version information is to use a .res file.

Kornél

----- Original Message -----
From: "Robert Jordan" <robertj at gmx.net>
To: <mono-devel-list at lists.ximian.com>
Sent: Thursday, December 08, 2005 11:03 PM
Subject: Re: [Mono-dev] Could we use windres to compile .rc files when
buildingmcs tree?


> Kornél,
>
>> Unmanaged Win32 resources are not MS.NET compatible however. In profile
>> 1.x
>> there are no AssemblyFileVersion attributes so AssemblyVersion attributes
>> are used as versions in Win32 resources. FileVersionInfo.GetVersionInfo
>> can
>> be used to retrieve Win32 version resources. If we belive that
>> AssemblyInformationalVersion compatibility is important the same is true
>> for
>> Win32 resources.
>
> There is an AssemblyFileVersionAttribute for the 1.x profile and
> its handling is almost functional. The value survives as
> StringFileInfo."FileVersion" but not as VERSIONINFO.FILEVERSION.
>
> I don't think a RC compiler is necessary. There is just a small
> bug in S.Reflection.Emit.AssemblyBuilder or S.Resources.Win32Resources.
>
> Robert
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>




More information about the Mono-devel-list mailing list