The type toolkit:BusyIndicator was not found

北城余情 提交于 2019-12-19 18:18:09

问题


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...">

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:

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

Any ideas?


回答1:


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.



来源:https://stackoverflow.com/questions/6387163/the-type-toolkitbusyindicator-was-not-found

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!