Search code examples
c#silverlightwcf-ria-services

RIA services client code generation not working


I have a problem with solution building. I can compile the solution without a problem when running msbuild from command line. However, when I compile throught Build Solution in Visual Studio I get a compilation error. The problem is with Ria Services Client code not fully generated when build is issued from VS.

When I compile just the project, which is bound to Ria Service, everything works fine.

I get a lot of warnings like these (when compiling from command line):

Assembly 'System.Windows.Controls.Toolkit.Internals, Version=4.0.5.0, Culture=neutral, PublicKeyToken=2c5c654d367bf4a7' could not be loaded and will be ignored.

Do you have any suggestions on how to make Visual Studio build the solution?


Solution

  • There was a problem with concurrent compilation of projects. Changing build order has helped with this.