【发布时间】:2021-11-29 13:10:54
【问题描述】:
尝试使用 Windows App SDK 1.0.0 实验性 1 将 Windows 控件工具包与 WinUI 3 一起使用。
我收到这两个错误:
Error CS1061 'App' does not contain a definition for 'InitializeComponent'
Error NETSDK1022 Duplicate 'Page' items were included. The .NET SDK includes 'Page' items from your project directory by default.
Windows App SDK 和 WCT Nuget 包之间似乎有些交叉,但我可以采取哪些步骤来解决这个问题并使用 WCT?
【问题讨论】:
标签: windows-community-toolkit winui-3