【问题标题】:XmlDefinition .net core 3 Preview 2XmlDefinition .net 核心 3 预览 2
【发布时间】:2019-01-31 07:22:49
【问题描述】:

我已将 WPF 项目和库迁移到 .net Core 3.0 Preview 2。

在库中,我在 AssemblyInfo.cs 中有以下内容

[assembly: XmlnsDefinition("http://schemas.test.com/2008/xaml/presentation", "Test.Core.Applications")]
[assembly: XmlnsPrefix("http://schemas.test.com/2008/xaml/presentation", "test")]

在我的 WPF 应用程序中,我只能使用完整的程序集名称而不是 XmlnsDefinition 来调用我的控件。

如何解决?

谢谢

【问题讨论】:

    标签: wpf .net-core .net-core-3.0


    【解决方案1】:

    我终于通过删除项目引用来修复它,再次添加它并重新启动 Visual Studio。

    【讨论】:

      猜你喜欢
      • 2018-03-13
      • 1970-01-01
      • 2021-02-11
      • 1970-01-01
      • 2018-04-07
      • 2017-10-23
      • 2020-01-06
      • 2018-06-30
      相关资源
      最近更新 更多