Windows phone 8.1 can't reference System.Data

后端 未结 1 1714
旧时难觅i
旧时难觅i 2020-12-12 04:58

I\'m trying to create a windows phone 8.1 apllication which has access to a local Database. I want to handle the DB acess in a portable class library. For introduction I lo

相关标签:
1条回答
  • 2020-12-12 05:31

    You can not use SqlClient in PCL projects because it is not built as a PCL and it is not cross platform. The Data namespace is unavailable in PCL projects and it is not listed here.

    The following assemblies are available within a Portable Class Library project:

    • mscorlib.dll
    • System.dll
    • System.Core.dll
    • System.Xml.dll
    • System.ComponentModel.Composition.dll
    • System.Net.dll
    • System.Runtime.Serialization.dll
    • System.ServiceModel.dll
    • System.Xml.Serialization.dll
    • System.Windows.dll (from Silverlight)
    0 讨论(0)
提交回复
热议问题