Can not find System.Windows Assembly

后端 未结 15 2148
野趣味
野趣味 2020-12-30 20:06

This is the error we get:

Error 1 The type \'System.Windows.Point\' is defined in an assembly that is not referenced. You must add a reference to as

15条回答
  •  一向
    一向 (楼主)
    2020-12-30 20:40

    Add the same references in your test project as you see as references in the project you are testing.

    I got something like this and added:

    PresentationCore PresentationFramework WindowsBase

    Now it seems to stay quiet.

提交回复
热议问题