The code generated by XAML (XamlTypeInfo.g.cs) triggers the SYSLIB0050 warning
Describe the bug
The code generated by XAML (XamlTypeInfo.g.cs) triggers the SYSLIB0050 warning
-----------------------------
XAML 生成的代码(XamlTypeInfo.g.cs)触发 SYSLIB0050 警告
Steps to reproduce the bug
See description
Expected behavior
See description
Screenshots
See description
NuGet package version
WinUI 3 - Windows App SDK 1.7.2: 1.7.250513003
Windows version
Windows 11 (24H2): Build 26100
Additional context
None
@Gaoyifei1011 I tried reproducing this by creating a black app and enabled trimming in project file, but it didn't repro for me. Could you please provide a minimal repro and the steps to reproduce the issue.
@Gaoyifei1011 I tried reproducing this by creating a black app and enabled trimming in project file, but it didn't repro for me. Could you please provide a minimal repro and the steps to reproduce the issue.
i have this issue too. https://github.com/microsoft/microsoft-ui-xaml/issues/10356
you can try to compile my repo with AOT enabled
https://github.com/ghost1372/PSXMaster
@Gaoyifei1011 I tried reproducing this by creating a black app and enabled trimming in project file, but it didn't repro for me. Could you please provide a minimal repro and the steps to reproduce the issue.
I have no idea where this bug came from either. You can try compiling my project to obtain the source of this error.
https://github.com/Gaoyifei1011/GetStoreApp
Hint: It is necessary to add <SelfContained>true</SelfContained> in csproj
---------------------------
我也不知道这个 bug 怎么来的,您可以尝试编译我的项目来获取这一错误的来源。
https://github.com/Gaoyifei1011/GetStoreApp
提示:需要在 csproj 中添加 <SelfContained>true</SelfContained>