New Posts New Posts RSS Feed: System.Data.Services.Common in IdeaBlade.Core.SL
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

System.Data.Services.Common in IdeaBlade.Core.SL

 Post Reply Post Reply
Author
rallman View Drop Down
Newbie
Newbie


Joined: 20-Apr-2010
Posts: 5
Post Options Post Options   Quote rallman Quote  Post ReplyReply Direct Link To This Post Topic: System.Data.Services.Common in IdeaBlade.Core.SL
    Posted: 07-Feb-2011 at 12:02pm
I am using DevForce and OData in the same SilverLight project and receiving this error after updating to 4.0.8:
 
"The type 'System.Data.Services.Common.DataServiceKeyAttribute' exists in both 'C:\Program Files (x86)\Microsoft SDKs\Silverlight\v4.0\Libraries\Client\System.Data.Services.Client.dll' and 'C:\Program Files (x86)\DevForce 2010\SilverlightAssemblies\IdeaBlade.Core.SL.dll'"
 
Looking at IdeaBlade.Core.SL in object browser shows that part of the System.Data.Services.Common namespace is included.
 
Any way around this?
 
 
Back to Top
kimj View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 09-May-2007
Posts: 1391
Post Options Post Options   Quote kimj Quote  Post ReplyReply Direct Link To This Post Posted: 08-Feb-2011 at 7:21pm
Unfortunately there's not an easy way around this right now.  We added OData support in release 6.0.7 and added that fake DataServiceKeyAttribute then.  For now, the best option is to move the Service Reference to another Silverlight project not referencing DevForce assemblies.
 
We've opened a bug report to see if we can fix this.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down