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

后端 未结 3 1632
萌比男神i
萌比男神i 2020-12-15 21:29

I\'ve got a strange problem adding a dll reference. I\'ve got a WPF application and am trying to use the WPF MDI library: http://wpfmdi.codeplex.com/

As stated in th

相关标签:
3条回答
  • 2020-12-15 21:40

    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.

    0 讨论(0)
  • 2020-12-15 21:41

    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.

    0 讨论(0)
  • 2020-12-15 21:55

    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.

    0 讨论(0)
提交回复
热议问题