Lakshan Fernando
Lakshan Fernando
Given that building a native AOT application is supported only via the SDK (with the option to get the latest ILCompiler* packs via an explicit reference), the publish path with...
Fixes #72415, the plan is in the [comments](https://github.com/dotnet/runtime/issues/72415#issuecomment-1205540035).
The analyzer, `EnableAotAnalyzer`, is set to true when publishing native AOT form factor (`PublishAot`=true) and generates warnings, which is the default and the expected case. Need to add a test...
Bubbling up trim warnings to the public surface area seen by the [TrimTest ](https://github.com/dotnet/winforms/blob/main/src/System.Windows.Forms/tests/IntegrationTests/TrimTest/TrimTest.csproj)project. This is the first iteration of getting the `TrimTest `project warnings towards zero as discussed [here](https://github.com/dotnet/winforms/pull/10866#issuecomment-1940488117)....
Binding will not be supported as is in trimming. These changes explores the wider impact and is not meant to be merged. The final changes will achieve this in a...
This issue tracks the interop work related WinForms trimming - [ ] https://github.com/dotnet/winforms/issues/7468 - [x] https://github.com/dotnet/winforms/issues/8291 - [ ] https://github.com/dotnet/winforms/issues/8292 - [x] https://github.com/dotnet/winforms/issues/4555 - [ ] #8596 - [ ]...
In .NET 8, using `createdump` for native AOT applications require some manual steps: - Need the C++ runtime - Need access to the 8.0 .NET core version of `createdump`. The...
`NativeAOT EventPipe `is not planning on supporting [CreateCoreDump](https://github.com/dotnet/diagnostics/blob/main/documentation/design-docs/ipc-protocol.md#Dump-Commands) command. It looks like dotnet-monitor doesn't rely on `EventPipe `for [generating a dump for Windows](https://github.com/dotnet/dotnet-monitor/blob/80ab7a8d41d0a19e068a41f6ecb6d0578fcc2dc8/src/Microsoft.Diagnostics.Monitoring.WebApi/DumpService.cs#L66-L76). Would it be possible to switch for...
There is no reliable way for the trimmer to statically reach types that are needed for resource serialization and deserialization. The current plan is to keep all relevant library types...
Trimming [TrimTest ](https://github.com/dotnet/winforms/blob/main/src/System.Windows.Forms/tests/IntegrationTests/TrimTest/TrimTest.csproj)WinForms project require reflection calls to be [annotated ](https://learn.microsoft.com/en-us/dotnet/core/deploying/trimming/fixing-warnings)in WinForms code in below files: - [Activator.CreateInstance(Type)](https://github.com/dotnet/winforms/blob/49c93b4b43c8f1a8d0ba8b041aeb0b9e89e815d0/src/System.Windows.Forms/src/System/Windows/Forms/DataBinding/ListBindingHelper.cs#L261) - [Type.GetInterfaces()](https://github.com/dotnet/winforms/blob/49c93b4b43c8f1a8d0ba8b041aeb0b9e89e815d0/src/System.Windows.Forms/src/System/Windows/Forms/DataBinding/ListBindingHelper.cs#L520) - [Type.GetProperties()](https://github.com/dotnet/winforms/blob/49c93b4b43c8f1a8d0ba8b041aeb0b9e89e815d0/src/System.Windows.Forms/src/System/Windows/Forms/DataBinding/ListBindingHelper.cs#L557) - [Type.GetMethod()](https://github.com/dotnet/winforms/blob/49c93b4b43c8f1a8d0ba8b041aeb0b9e89e815d0/src/System.Windows.Forms/src/System/Windows/Forms/Internal/Formatter.cs#L438-L460) - [Assembly.GetType(String, Boolean)](https://github.com/dotnet/winforms/blob/49c93b4b43c8f1a8d0ba8b041aeb0b9e89e815d0/src/System.Windows.Forms/src/System/Windows/Forms/ActiveX/Control.ActiveXImpl.cs#L1428) - [Type.GetType()](https://github.com/dotnet/winforms/blob/49c93b4b43c8f1a8d0ba8b041aeb0b9e89e815d0/src/System.Windows.Forms/src/System/Windows/Forms/ActiveX/Control.ActiveXImpl.cs#L1429) -...