Can not find System.Windows Assembly

后端 未结 15 2133
野趣味
野趣味 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:47

    Add the assembly reference as you'd add any other framework assembly reference:

    • Right-click on the project
    • Select "Add reference"
    • Select the .NET tab on the left, and find "System.Windows" in the list of assemblies
    • Double-click on "System.Windows" and the assembly reference will be added

提交回复
热议问题