ILMerge icon indicating copy to clipboard operation
ILMerge copied to clipboard

WindowsForm Titlebar and Borders shrink

Open Pilzinsel64 opened this issue 7 years ago • 5 comments

Hello,

I merge my assamblies using the nuget package. Since I do that, all Windows Forms with BorderStyle-Property "FixedToolWindow" or "FixedSingle" or "FixedDialog" have a smaller Title Bar and a bit smaller Border Size then normal.

This is how it looks before merge with ILMerge (BorderStyle = FixedDialog): https://i.imgur.com/2jZ11yh.png

And this is how it looks after ILMerge (BorderStyle = FixedDialog): https://i.imgur.com/WhB6vVn.png

I am using Visual Studio 2017 on Windows 10. My projects using .Net Framework 4.5.

Do you have any ID how to solve the problem easlily?

Thanks

Pilzinsel64 avatar Nov 19 '17 09:11 Pilzinsel64

I've never heard of it causing this kind of problem. As a first step, if you can send me the log file generated when using the /log option, then I can look at that.

mike-barnett avatar Nov 20 '17 17:11 mike-barnett

Could a manifest or app config be involved?

jnm2 avatar Nov 20 '17 18:11 jnm2

This is caused by the unexpected change of subsystem version in PE header.

hrumhurum avatar Nov 21 '17 18:11 hrumhurum

Okay, if you can give me more details then I can look into it.

mike-barnett avatar Nov 21 '17 18:11 mike-barnett

Here is the log file: ilmergelog.log

Hope, that you can find the problem.

Pilzinsel64 avatar Nov 24 '17 06:11 Pilzinsel64