dotnet / winforms

Windows Forms is a .NET UI framework for building Windows desktop applications.
MIT License
4.28k stars 954 forks source link

Set default trim values for WinForms #11568

Closed LakshanF closed 1 week ago

LakshanF commented 1 week ago

Setting default WinForms msbuild trim values so that simple WinForms applications like TrimTest will not generate any trim warnings. These will be used in trimming to set the RuntimeHostConfigurationOptions for WinForms trimming.

Microsoft Reviewers: Open in CodeFlow
codecov[bot] commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 74.48340%. Comparing base (8cbf7ea) to head (1465ffd). Report is 19 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #11568 +/- ## =================================================== + Coverage 74.42812% 74.48340% +0.05527% =================================================== Files 3032 3039 +7 Lines 628452 629069 +617 Branches 46847 46835 -12 =================================================== + Hits 467745 468552 +807 + Misses 157363 157165 -198 - Partials 3344 3352 +8 ``` | [Flag](https://app.codecov.io/gh/dotnet/winforms/pull/11568/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | Coverage Δ | | |---|---|---| | [Debug](https://app.codecov.io/gh/dotnet/winforms/pull/11568/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `74.48340% <ø> (+0.05527%)` | :arrow_up: | | [integration](https://app.codecov.io/gh/dotnet/winforms/pull/11568/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `17.97936% <ø> (-0.00132%)` | :arrow_down: | | [production](https://app.codecov.io/gh/dotnet/winforms/pull/11568/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `47.34641% <ø> (+0.06429%)` | :arrow_up: | | [test](https://app.codecov.io/gh/dotnet/winforms/pull/11568/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `96.97124% <ø> (+0.00637%)` | :arrow_up: | | [unit](https://app.codecov.io/gh/dotnet/winforms/pull/11568/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `44.30993% <ø> (+0.06387%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet#carryforward-flags-in-the-pull-request-comment) to find out more.