[Mono-dev] Cecil bug report and a question

Andreas Nahr ClassDevelopment at A-SoftTech.com
Sat Aug 26 05:00:10 EDT 2006


>>> I also have a question: I have an example of an assembly output by the
>>> MS C# compiler that shrinks from 3.072 bytes to 2.048 bytes simply by
>>> loading and then saving it using Cecil. How does that happen?
>>
>> Cecil does not preserve the .rsrc (aka Win32 resources) section or the
>> PE file for the moment. So it saves some place.
>>
> What are the consequences of this other than smaller assemblies?

The most visible one: Under Windows the Application will loose it's icon and 
file information data (Like producer, product name, visible version etc.)
A lot more improbable is that the app does not work any longer if it somehow 
uses this data directly.

Greets
Andreas 




More information about the Mono-devel-list mailing list