-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Bug description / Bug 描述
ReactiveUI 引用了包 DynamicData,DynamicData 引用了包 System.Reactive,System.Reactive 的项目文件中有这样一段:
<PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1' or $(TargetFramework.StartsWith('net5.0-windows'))">
<UseWPF>true</UseWPF>
<UseWindowsForms>true</UseWindowsForms>
<IncludeBuildOutput Condition="'$(TargetFramework)' == 'netcoreapp3.1'">false</IncludeBuildOutput>
</PropertyGroup>
导致在发布的时候会包含 WinForm 和 WPF 的框架。
Reproduce steps / 复现问题的步骤
1. 创建新的 WinUI 3 项目
2. 打包
3. 引用 ReactiveUI
4. 打包
5. 比较大小
截图见下方
Expected behavior / 预期行为
减小安装包文件的大小
Screenshot / 截图
Application source / 应用来源
- Microsoft Store
- Github
- Others / 其它
Other sources
No response
System version
- Windows 11 21H2 (Build 22000)
- Others / 其它
Other system versions / 其它系统版本
No response
Device / 运行设备
Desktop/桌面/台式机
Remark / 备注
除了不引用这些包外,没有找到其他的解决办法。
We are the world / 人人为我,我为人人
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working