“CleanRiaClientFilesTask” task failed unexpectedly

By admin - Last updated: Thursday, December 16, 2010 - Save & Share - Leave a Comment
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[] elements, Int32 count)
at System.Linq.OrderedEnumerable`1.<GetEnumerator>d__0.MoveNext()
at Microsoft.ServiceModel.DomainServices.Tools.CleanRiaClientFilesTask.DeletePreviouslyWrittenFiles(Boolean isLiveIntellisense)
at Microsoft.ServiceModel.DomainServices.Tools.CleanRiaClientFilesTask.ExecuteInternal()
at Microsoft.ServiceModel.DomainServices.Tools.RiaClientFilesTask.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask, Boolean& taskResult) Datacom.CorporateSys.SL.Project



Posted in NotWorking • Tags: , , Top Of Page

Write a comment


Captcha: one + = 9