【问题标题】:The type or namespace name 'Xaml' does not exist in the namespace 'Windows.UI'命名空间“Windows.UI”中不存在类型或命名空间名称“Xaml”
【发布时间】:2016-03-02 09:31:28
【问题描述】:

我为 windows phone 8 创建了我的项目,然后我将我的项目转换为 windows phone 8.1。现在我需要在我的项目中使用 Progressbar ring,但它显示错误

命名空间中不存在类型或命名空间名称“Xaml” 'Windows.UI'

如何通过我的应用解决此问题

谢谢

【问题讨论】:

    标签: c# windows-phone-8 namespaces windows-phone-8.1 progress-bar


    【解决方案1】:

    这可能是因为您的项目已更新到 Windows Phone 8.1 Silverlight,而 ProgressRing 仅支持 WinRT。

    【讨论】:

    • 如何将我的 silverlight 项目更改为 windows phone 8.1 项目
    • 不能直接转成WinRT。为此,您需要重新设计您的项目。如果您只想使用 ProgressRing,请使用 nuget 包,否则用于转换代码,请查看此链接 blogs.windows.com/buildingapps/2014/12/17/…
    猜你喜欢
    • 1970-01-01
    • 2012-06-19
    • 1970-01-01
    • 2012-05-28
    • 1970-01-01
    • 1970-01-01
    • 2018-05-09
    • 2022-01-11
    • 2021-10-15
    相关资源
    最近更新 更多