Can not find System.Windows Assembly

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

    We found it we had to go into the Silverlight folder and found the System.Windows.dll and now all is good thanks for the help though!

    0 讨论(0)
  • 2020-12-30 20:43

    You'll also run into this error if you use the Portable Library Tools as it's not supported.

    0 讨论(0)
  • 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
    0 讨论(0)
提交回复
热议问题