Archive for December, 2010
“CleanRiaClientFilesTask” task failed unexpectedly
If you are getting the following error while compiling Silverlight project, You can try to delete the obj folder under the current project folder and compile again. Error 43 The “CleanRiaClientFilesTask” task failed unexpectedly. System.ArgumentException: Illegal characters in path. at System.IO.Path.CheckInvalidPathChars(String path) at System.IO.Path.GetDirectoryName(String path) at Microsoft.ServiceModel.DomainServices.Tools.RiaClientFilesTask.<FilesPreviouslyWritten>b__0(String f) at System.Linq.EnumerableSorter`2.ComputeKeys(TElement[] elements, Int32 count) at System.Linq.EnumerableSorter`1.Sort(TElement[] [...]
WCF RIA Service: Pass Array, List or Collection as parameter to Invoke method.
RIA Service is great WCF service library for Silverlight client, however, I found there are some limitations around customized object. Such as Passing an array, list or collection as parameter to the service method. For example, in RIA service class, public void ProcessProducts(Product[] products) { // code here } Well, this is not allowed by [...]