Print Page | Close Window

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

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2010
Forum Discription: For .NET 4.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=2491
Printed Date: 29-Jul-2026 at 3:08pm


Topic: System.Data.Services.Common in IdeaBlade.Core.SL
Posted By: rallman
Subject: System.Data.Services.Common in IdeaBlade.Core.SL
Date 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?
 
 



Replies:
Posted By: kimj
Date 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.



Print Page | Close Window