In order build a solution using WCF RIA Services on a build server, a little tweak may be needed to the configuration depending on how your solution has evolved.
Using an example of a Silverlight client project and a server side web application using WCF RIA Services, we quickly identify the problem. Whenever a change is made to the WCF RIA Services project, Visual Studio will update the Silverlight project and development continues. On the build machine this isn’t the case, as Visual Studio isn’t used to initiate the build. This means that the Silverlight project would fail to build.
Even though there is no need to specify the build order when using Visual Studio, the problem with WCF RIA Services on a build server goes away if the Silverlight project is forced to build after the WCF RIA Services project.
Right-click on the solution and select Project Dependencies.
The following window should appear. Verify that the Silverlight project has a dependency on the WCF RIA Services project.