Click here to Skip to main content
15,887,175 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how do i add a new wpf control into an element host. successfully added two first wpf controls i created into elementhost1 (usercontrol1) elementHost2 ( userControl2) Now any wpf user controls i add afterwards are not usable. getting the following error:

error setting value 'Project_Name.userControl3'to property 'Child'. Details could not load type 'Project_Name.userControl3'from assembly 'Project_Name, version 1.0.0.0, culture = neutural, PublicKey Token = null'.

I am using visual studio 2010 proffessional. tried using visual studio 2013 but its failing to add a wpf user control to the element host at all. Would have used wpf but the problem is have a winforms project i have created already so i want to add wpf controls in it. any help would be much appreciated. thank you for reading
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900