Blend “Window is not supported in a WPF Project”

前端 未结 4 2053
无人共我
无人共我 2021-02-19 01:59

I am having a frustrating time with Blend reporting \"Window is not supported in a Windows Presentation Foundation (WPF) project.\" due to unbuildable configurations but can\'t

4条回答
  •  星月不相逢
    2021-02-19 02:49

    On my side, I solved the problem this way:

    • the AnyCPU trick (but not enough...)
    • Unload project, edit project file, look at 4.0 framework references and change them to 4.5 (target and minial required version).

    rebuild solution, then Blend Preview for WPF 4.5 stopped to show the error messsage (window is not supported...).

    Thanks all for putting me on the track !

提交回复
热议问题