Regarding "CreateRiaClientFilesTask" task failed unexpectedly RRS feed

  • Question

  • Hi,

      I am using windows 8 OS (64-Bit). I am working on a silverlight project using Visual Studio 2010 SP1,

    when i build the project its throwing an error as below.


    Error 1 The "CreateRiaClientFilesTask" task failed unexpectedly.
    System.AppDomainUnloadedException: Attempted to access an unloaded AppDomain.
       at System.IDisposable.Dispose()
       at Microsoft.ServiceModel.DomainServices.Tools.CreateRiaClientFilesTask.GenerateClientProxies()
       at Microsoft.ServiceModel.DomainServices.Tools.CreateRiaClientFilesTask.ExecuteInternal()
       at Microsoft.ServiceModel.DomainServices.Tools.RiaClientFilesTask.Execute()
       at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
       at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext()

    Please help me out with the fix.

    Thanks & Regards,


    Wednesday, June 19, 2013 12:10 PM


  • It's hard to say what the issue is exactly, but it looks like you are having trouble with Ria Services during an async method call.

    Try running it NOT async.

    Also, try uninstalling/re-installing Ria Services.


    Thursday, June 20, 2013 12:30 PM