简体   繁体   中英

C# Portable Class Library - How do you include System.Data.Linq

Is it possible to reference the System.Data.Linq in a Portable Class Library project?

Note: I am just trying to share code between a WP8 and WinStore8 app [DataContext]

No it is not. The Data namespace is unavailable in PCLs.

You can tell because http://msdn.microsoft.com/en-us/library/system.data.aspx none of its members have the PCL icon, and it is not listed on http://msdn.microsoft.com/en-us/library/vstudio/gg597391%28v=vs.100%29.aspx

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM