I encountered the same problem, I canโt remove the ToolKit because I need an AutoCompleteBox control, and I donโt want to enable and modify the source code of the toolkit; therefore, the solution I used used the alias extern to refer to the toolkit.
To do this in Visual Studio, right-click on the WPFToolkit link and select properties โ then change the โaliasโ field to WpfToolKit or any alias of your choice.
source share