{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/dnx/issues/2898","labels_url":"https://api.github.com/repos/aspnet/dnx/issues/2898/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/dnx/issues/2898/comments","events_url":"https://api.github.com/repos/aspnet/dnx/issues/2898/events","html_url":"https://github.com/aspnet/dnx/issues/2898","id":109783317,"number":2898,"title":"Regression: IRuntimeEnvironment not resolved while on Azure with HttpPlatformHandler","user":{"login":"borgdylan","id":7761010,"avatar_url":"https://avatars.githubusercontent.com/u/7761010?v=3","gravatar_id":"","url":"https://api.github.com/users/borgdylan","html_url":"https://github.com/borgdylan","followers_url":"https://api.github.com/users/borgdylan/followers","following_url":"https://api.github.com/users/borgdylan/following{/other_user}","gists_url":"https://api.github.com/users/borgdylan/gists{/gist_id}","starred_url":"https://api.github.com/users/borgdylan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borgdylan/subscriptions","organizations_url":"https://api.github.com/users/borgdylan/orgs","repos_url":"https://api.github.com/users/borgdylan/repos","events_url":"https://api.github.com/users/borgdylan/events{/privacy}","received_events_url":"https://api.github.com/users/borgdylan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-10-05T12:12:15Z","updated_at":"2015-10-05T19:59:39Z","closed_at":null,"body":"When using the latest DNX from the unstable feed on Azure, I get the following exception:\r\n```\r\nSystem.InvalidOperationException: Failed to resolve IRuntimeEnvironment\r\n   at Microsoft.Dnx.Runtime.RuntimeEnvironmentHelper.GetRuntimeEnvironment()\r\n   at System.Lazy`1.CreateValue()\r\n   at System.Lazy`1.LazyInitValue()\r\n   at Microsoft.Dnx.Runtime.RuntimeEnvironmentHelper.<>c.<.cctor>b__10_0()\r\n   at System.Lazy`1.CreateValue()\r\n   at System.Lazy`1.LazyInitValue()\r\n   at Microsoft.Dnx.Runtime.FrameworkReferenceResolver.GetReferenceAssembliesPath()\r\n   at Microsoft.Dnx.Runtime.FrameworkReferenceResolver.GetFrameworkInformation(FrameworkName targetFramework)\r\n   at System.Collections.Generic.DictionaryExtensions.GetOrAdd[TKey,TValue](IDictionary`2 dictionary, TKey key, Func`2 factory)\r\n   at Microsoft.Dnx.Runtime.FrameworkReferenceResolver.TryGetAssembly(String name, FrameworkName targetFramework, String& path, Version& version)\r\n   at Microsoft.Dnx.Runtime.ReferenceAssemblyDependencyResolver.GetDescription(LibraryRange libraryRange, FrameworkName targetFramework)\r\n   at Microsoft.Dnx.Runtime.ApplicationHostContext.Initialize(ApplicationHostContext context)\r\n   at Microsoft.Dnx.ApplicationHost.RuntimeLibraryManager.<>c__DisplayClass1_0.<.ctor>b__0()\r\n   at System.Lazy`1.CreateValue()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Lazy`1.get_Value()\r\n   at Microsoft.Dnx.ApplicationHost.RuntimeLibraryManager.GetReferencingLibraries(String name)\r\n   at System.Linq.Enumerable.<SelectManyIterator>d__1`2.MoveNext()\r\n   at System.Linq.Enumerable.<DistinctIterator>d__1`1.MoveNext()\r\n   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()\r\n   at System.Linq.Enumerable.<SelectManyIterator>d__1`2.MoveNext()\r\n   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()\r\n   at System.Collections.Generic.HashSet`1.UnionWith(IEnumerable`1 other)\r\n   at System.Collections.Generic.HashSet`1..ctor(IEnumerable`1 collection, IEqualityComparer`1 comparer)\r\n   at Microsoft.AspNet.Mvc.Controllers.DefaultControllerTypeProvider.get_ControllerTypes()\r\n   at Microsoft.AspNet.Mvc.Controllers.ControllerActionDescriptorProvider.BuildModel()\r\n   at Microsoft.AspNet.Mvc.Controllers.ControllerActionDescriptorProvider.OnProvidersExecuting(ActionDescriptorProviderContext context)\r\n   at Microsoft.AspNet.Mvc.Infrastructure.DefaultActionDescriptorsCollectionProvider.GetCollection()\r\n   at Microsoft.AspNet.Mvc.Infrastructure.DefaultActionDescriptorsCollectionProvider.get_ActionDescriptors()\r\n   at Microsoft.AspNet.Mvc.Routing.AttributeRoute.RouteAsync(RouteContext context)\r\n   at Microsoft.AspNet.Routing.RouteCollection.<RouteAsync>d__9.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)\r\n   at Microsoft.AspNet.Builder.RouterMiddleware.<Invoke>d__4.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()\r\n   at Microsoft.AspNet.Authentication.AuthenticationMiddleware`1.<Invoke>d__18.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at Microsoft.AspNet.Authentication.AuthenticationMiddleware`1.<Invoke>d__18.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at SoHi.LoggerExtensions.<Logger>d__0.MoveNext()\r\n```"},"comment":{"url":"https://api.github.com/repos/aspnet/dnx/issues/comments/145651035","html_url":"https://github.com/aspnet/dnx/issues/2898#issuecomment-145651035","issue_url":"https://api.github.com/repos/aspnet/dnx/issues/2898","id":145651035,"user":{"login":"borgdylan","id":7761010,"avatar_url":"https://avatars.githubusercontent.com/u/7761010?v=3","gravatar_id":"","url":"https://api.github.com/users/borgdylan","html_url":"https://github.com/borgdylan","followers_url":"https://api.github.com/users/borgdylan/followers","following_url":"https://api.github.com/users/borgdylan/following{/other_user}","gists_url":"https://api.github.com/users/borgdylan/gists{/gist_id}","starred_url":"https://api.github.com/users/borgdylan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borgdylan/subscriptions","organizations_url":"https://api.github.com/users/borgdylan/orgs","repos_url":"https://api.github.com/users/borgdylan/repos","events_url":"https://api.github.com/users/borgdylan/events{/privacy}","received_events_url":"https://api.github.com/users/borgdylan/received_events","type":"User","site_admin":false},"created_at":"2015-10-05T19:59:39Z","updated_at":"2015-10-05T19:59:39Z","body":"To clarify: aspnetrepro/bin/output is the directory to FTP over to azure (I did test it on azure myself)"}}