Cannot use a dll in windows phone development tools RRS feed

  • Question

  • Hi All,

    I am having difficulties with Windows Phone Development Tools, I tried to use a dll System.Data.SqlServerCe in my mobile application, but I am getting the following error: Reference cannot be added to C:\Program Files (x86)\Microsoft SQL Server Compact Edition\v3.5\Devices\System.Data.SqlServerCe.dll because it was not built using the Windows Phone runtime. Windows Phone projects will work only with Windows Phone assemblies. I found a solution in the following link http://brandonwatson.sys-con.com/node/1376958/mobile about generate a new dll. I got a new dll WP7_CTP_Fix_System.Data.SqlServerCe as they mention, but still giving the same error. Any comments or solution to this issue? Please help with this,


    Monday, December 6, 2010 9:36 PM


  • For this kind of questions, please discuss in our MSDN forum.

    Windows Phone 7 

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
    • Marked as answer by Arthur Xie Monday, December 13, 2010 6:04 AM
    Thursday, December 9, 2010 5:46 AM