Assembly reference not found in XAML, but code compiles when referenced in xaml.cs class

£可爱£侵袭症+ 提交于 2019-11-28 23:24:54

I've finally solved the problem myself - going to leave this answer here incase someone has the same problem some time. Adding the solution itself to the reference path of the assembly solves the problem! It's a shame this isn't documented...

EDIT: To clarify, what I did was add the solution, rather than the dll. In other words, I added the MDI solution with all its classes. This naturally applies to DLLs where the source code is available too.

Ondřej

If Visual Studio will keep complaining and underlining even after you tried everything, simply terminate XDesProc.exe process using Task Manager and then rebuild solution. WPF and XAML support in Visual Studio is terrible underdone piece of shit.

Got sln file from http://wpfmdi.codeplex.com/.Build that project and used new .dll from bin,used that,then it worked fine for me.

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