Can not find System.Windows Assembly

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

    Add System.Windows 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" to add it

    If this does not solve the issue try Adding PresentationFramework, PresentationCore and WindowsBase assemblies (.NET 3.5)

提交回复
热议问题