类型工具包:BusyIndi​​cator 未找到 [英] The type toolkit:BusyIndicator was not found

查看:40
本文介绍了类型工具包:BusyIndi​​cator 未找到的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在处理一个 WPF 项目,其中 UserControl 的开头定义为:

I'm working on a WPF project with the beginning of a UserControl defined as:

<UserControl x:Class=""
         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
         xmlns:converters="clr-namespace:.Modules.Converters"
         xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit/extended"
         mc:Ignorable="d">

在用户控件中我有这个:

Within the user control I have this:

<toolkit:BusyIndicator IsBusy="{Binding IsBusy}" BusyContent="Please wait...">

我在我的项目中引用了 WPFToolkit.Extended 并且该引用似乎是有效的(没有红色下划线).

I have the WPFToolkit.Extended referenced within my project and that reference appears to be valid (does not have a red underline).

但是,我收到此错误并且不知道为什么:

However, I'm getting this error and don't know why:

未找到类型toolkit:BusyIndi​​cator".验证您没有缺少程序集引用并且所有引用的程序集都已构建.

The type 'toolkit:BusyIndicator' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built.

有什么想法吗?

推荐答案

导航到包含 DLL 的文件夹.右键单击 DLL 并选择属性.在靠近底部的常规选项卡下,单击取消阻止"按钮.你应该没事了.

Navigate to the folder that conatins the DLL. Right click on the DLL and select properties. Under the general tab near the bottom click the "Unblock" button. You should be good to go.

这篇关于类型工具包:BusyIndi​​cator 未找到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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