Add a NuGet package only for dll reference? By using dotnetCampus.SourceYard, you can pack a NuGet package with source code. By installing the new source code package, all source codes behaviors just like it is in your project.
严重性 代码 说明 项目 文件 行 禁止显示状态
错误 MC4003 Cannot resolve the Style Property 'TitleBar'. Verify that the owning type is the Style's TargetType, or use Class.Property syntax to specify the Property. Line 17 Position 17. EasiNoteTool C:\Users\lvyi\.nuget\packages\walterlv.fluentdesign.source\0.2.0-alpha\src\Themes\Window.Universal.xaml 17
目标项目
问题
分析
猜测可能是时机问题。如果 C# 代码能够在静态的时候就存在,也许 XAML 可以找到这个依赖属性。