如何使用WinRTXamlToolkit.Controls.Calendar以清除在Windows Phone破发点错误 [英] How to clear break point error on windows phone using WinRTXamlToolkit.Controls.Calendar

查看:222
本文介绍了如何使用WinRTXamlToolkit.Controls.Calendar以清除在Windows Phone破发点错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好我开发Windows Phone的日历应用程序,我决定使用WinRTXamlToolkit.Controls.Calendar,我只是开了一个新的项目,并添加WinRTXamlToolkit.Controls.Calendar引用然后创建日历在XAML,这就是它,就算它在打造成功的,但是,当我装它抛出XamlTypeInfo.g.cs一个例外,

HI all I am developing a calendar application for windows phone and I am decided to use WinRTXamlToolkit.Controls.Calendar,and I just opened a new project and add WinRTXamlToolkit.Controls.Calendar reference then create calendar in xaml,That is it ,It s build successfully, But when I loaded it throws a exception in XamlTypeInfo.g.cs as

类型的异常'System.IO.FileNotFoundException'的WinRTXamlToolkit.Controls.Calendar.DLL发生,但在用户code没有处理

"An exception of type 'System.IO.FileNotFoundException' occurred in WinRTXamlToolkit.Controls.Calendar.DLL but was not handled in user code

信息:无法加载文件或程序集WinRTXamlToolkit,版本= 1.7.0.0,文化=中性公钥= null或它的一个依赖。该系统找不到指定的文件。

Additional information: Could not load file or assembly 'WinRTXamlToolkit, Version=1.7.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

如果有一个处理程序处理这个例外,该程序可以安全地继续进行。

If there is a handler for this exception, the program may be safely continued."

我怎样才能克服它的朋友...

How can I overcome it friends...

推荐答案

我刚安装了它和它的工作精,但有可能它已得到修复,因为1.7.0.0。 我刚刚从为http的NuGet包的版本1.7.2.0://www.nuget。组织/包/ winrtxamltoolkit.Controls.Calendar.WindowsPhone 并把这个在我的网页。

I just installed it and it worked "fine", but it is possible it has been fixed since 1.7.0.0. I just got the NuGet package version 1.7.2.0 from http://www.nuget.org/packages/winrtxamltoolkit.Controls.Calendar.WindowsPhone and put this in my page.

<Page
    x:Class="App6.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:App6"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:controls="using:WinRTXamlToolkit.Controls"
    mc:Ignorable="d"
    Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">

    <Grid>
        <Viewbox>
            <controls:Calendar />
        </Viewbox>
    </Grid>
</Page>

这是我所看到的:

这篇关于如何使用WinRTXamlToolkit.Controls.Calendar以清除在Windows Phone破发点错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆