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

Robert Jordan robertj at gmx.net
Thu Dec 8 17:03:58 EST 2005


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




More information about the Mono-devel-list mailing list