Reputation: 11198
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]
Upvotes: 12
Views: 5151
Reputation: 3526
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
Upvotes: 16