Has anyone ever encountered this InvalidOperationException? I am hitting it when I try to access RoleEnvironment.Roles to enumerate deployed DevFabric packages locally, on my dev box. I have DFUI.exe open and can see two roles deployed by hand using CSRun
Source: Microsoft.WindowsAzure.ServiceRuntime
Stack:
at Microsoft.WindowsAzure.ServiceRuntime.RoleEnvironment.get_Roles()
at Tests.Functional.TestMarketClient.GetWorkflowHostPort(TestWorkflowHost host) in line 97
at Tests.Functional.TestMarketClient.get_WorkflowHostPort() in line 84
{...}
Thanks,
Bryan