When I used the custom WPF control in my project , I got the following compilation error
The tag ‘TestCtrl’ does not exist in XML namespace ‘clr-namespace:MceWpfContainer;assembly=MceWpfContainer’.
Following solution fixed my WPF custom control issue.
Solution:
1. Open the Project properties.
2. Change the target Framework from “.Net framework 4 Client profile” to “.Net framework 4”
3. Recompile the solution.
Thanks a lot, I had the same problem and this solved it, it has been driving me crazy for a while. Funny thing is it was compiling without problems and I didn’t touch the tester at all just the user control library, what could have brought this problem?
I had the same issue!! Thanks for the solution!!
Wow, thanks for sharing this. This probably saved me a few hours.