Fody / Costura binary with built-in dependencies missing header filling

After I tried to implement my projects depending on ILMerge and Fody / Costura, I faced the same problem.

The height of the header seems compressed. The binary binary and binary versions of VS2015 debugging (without attachment dependencies) have the correct height and indentation (as you can see in the screenshot). Unfortunately, turning on the icon does not solve the problem. Should I include something else in Costura XML?

What am I missing?

.NET Framework 4.6

VS2015 Debug left - Costura build right

EDIT:

Apparently my problem is with using FixedDialog as FormBorderStyle. With any fixed style, padding disappears after dependency injection. But it works fine with Sizeable (default) as FormBorderStyle.

+6
source share

Source: https://habr.com/ru/post/1014662/


All Articles