简体   繁体   中英

Error in Visual Studio 2017 trying to reference the WPF Extended Toolkit in XAML

I am attempting to use the WPF Extended Toolkit. I downloaded it and it is currently sitting in my project folder.

项目文件夹

I right clicked the .dll file and checked "Unblock" following this answer. I have it referenced in my Visual Studio project.

参考文献

I have it named WPF Extended Toolkit in my Toolbox.

工具箱

I have the namespace in my XAML file.

命名空间

When I try to use it in my XAML file, I'm getting the blue squiggly line stating, "The type toolkit:BusyIndicator was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built."

错误

I'm very new to this, since I've only used what was available by default in WPF apps. Can someone tell me what I'm doing wrong? I thought I covered everything needed to get this going.

I figured it out! I found this answer !

Before adding the namespace, I rebuilt my project, then I added the namespace. IntelliSense picked it up and I was able to add my Busy Indicator.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM