New Posts New Posts RSS Feed: MSBuild requests Silverlight dlls for a Server Side Project
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

MSBuild requests Silverlight dlls for a Server Side Project

 Post Reply Post Reply
Author
jfranco View Drop Down
Newbie
Newbie


Joined: 07-Jul-2010
Posts: 1
Post Options Post Options   Quote jfranco Quote  Post ReplyReply Direct Link To This Post Topic: MSBuild requests Silverlight dlls for a Server Side Project
    Posted: 07-Jul-2010 at 8:01am

We are getting a weird error from our TFS Build where specific project that we created (Server-Side C# Class Lib) is housing our server side interceptors. In certain instances when we reference our derived types of UserBase or Entity, we get the following error.

Interceptors\EntityServerSaveHandler.cs (20): The type 'IdeaBlade.EntityModel.UserBase' is defined in an assembly that is not referenced. You must add a reference to assembly 'IdeaBlade.EntityModel.SL, Version=6.0.3.1, Culture=neutral, PublicKeyToken=287b5094865421c0'.

 Interceptors\EntityServerSaveHandler.cs (21): The type 'IdeaBlade.EntityModel.Entity' is defined in an assembly that is not referenced. You must add a reference to assembly 'IdeaBlade.EntityModel.SL, Version=6.0.3.1, Culture=neutral, PublicKeyToken=287b5094865421c0'.
 
I already have references to the non-SL versions of IdeaBlade assemblies and have them CopyLocal = True.. Everything compiles locally for our development team, only MSBuild fails which is ruining our continuous integration builds.
 
THanks,
James
Back to Top
ting View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 27-Mar-2009
Location: San Francisco
Posts: 427
Post Options Post Options   Quote ting Quote  Post ReplyReply Direct Link To This Post Posted: 07-Jul-2010 at 7:02pm
So, it looks like you've done most of the right steps, but MSBuild is still picking up a stray reference to the Silverlight assembly from somewhere.  Since the assemblies containing the Entities must have the same assembly name on client and server-side, I'd check to see if that is causing any confusion with MSBuild.  (This restriction will be removed in the next release of DevForce.)
 
 
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down