Click here to Skip to main content
15,893,904 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Please Solve This Problem

[Fixed formatting, added this line to allow posting of the content which otherwise would be too short — SA]
Posted
Updated 20-Jun-15 22:35pm
v2

You are using the 4.5 framework version of WPF and an older version of controls (fit for 3.5 SP1), why?
You should choose the one you really want to use and remove the other - that will also remove the error message...
 
Share this answer
 
The top-level types of different assemblies with identical full names can still be resolved using extern alias:
https://msdn.microsoft.com/en-us/library/ms173212.aspx[^].

This MSDN help page only explains the compiler command-line syntax, which you don't directly use with the IDE. So, in addition to this information, you need to know how to do it in Visual Studio. Here is how: in Solution Explorer, select one of the referenced assembly nodes (one of the children of the node "References" of the project), activate "Properties" of the referenced assembly node (through the context menu) and add an alias to the property "Aliases".

—SA
 
Share this answer
 

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