The type 'System.Windows.Input.ICommand' exists in both 'PresentationCore.dll' and 'System.dll'

后端 未结 4 678
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-20 07:32

I\'ve got this error that I just can\'t figure out.

I\'m using VS 2012 (VS11) on Windows 8 with .net4.5 and I get this error when compiling a project that worked wit

4条回答
  •  無奈伤痛
    2021-01-20 07:52

    Take a look at this similar post, How can I resolve this? The unit type exists in two dll files, it suggests that you are referencing two assemblies with the same type, so you would need to give the type you want to use the fully quantified name.

提交回复
热议问题