{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/dnx/issues/2344","labels_url":"https://api.github.com/repos/aspnet/dnx/issues/2344/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/dnx/issues/2344/comments","events_url":"https://api.github.com/repos/aspnet/dnx/issues/2344/events","html_url":"https://github.com/aspnet/dnx/issues/2344","id":97207408,"number":2344,"title":"dnx folder web fails on beta7-12274 coreclr x64","user":{"login":"IRooc","id":5981147,"avatar_url":"https://avatars.githubusercontent.com/u/5981147?v=3","gravatar_id":"","url":"https://api.github.com/users/IRooc","html_url":"https://github.com/IRooc","followers_url":"https://api.github.com/users/IRooc/followers","following_url":"https://api.github.com/users/IRooc/following{/other_user}","gists_url":"https://api.github.com/users/IRooc/gists{/gist_id}","starred_url":"https://api.github.com/users/IRooc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IRooc/subscriptions","organizations_url":"https://api.github.com/users/IRooc/orgs","repos_url":"https://api.github.com/users/IRooc/repos","events_url":"https://api.github.com/users/IRooc/events{/privacy}","received_events_url":"https://api.github.com/users/IRooc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-25T08:11:16Z","updated_at":"2015-07-30T19:09:10Z","closed_at":null,"body":"When you run dnx outside the web projectfolder you recieve this error:\r\n```\r\nSystem.InvalidOperationException: Unable to resolve project 'test' from C:\\projects\\test\r\n   at Microsoft.Framework.Runtime.ApplicationHostContext..ctor(IServiceProvider hostServices, String projectDirectory, String packagesDirectory, String configuration, FrameworkName targetFramework, IC\r\nache cache, ICacheContextAccessor cacheContextAccessor, INamedCacheDependencyProvider namedCacheDependencyProvider, IAssemblyLoadContextFactory loadContextFactory, Boolean skipLockFileValidation)\r\n   at Microsoft.Framework.Runtime.DefaultHost.Initialize(RuntimeOptions options, IServiceProvider hostServices)\r\n   at Microsoft.Framework.ApplicationHost.Program.Main(String[] args)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at Microsoft.Framework.Runtime.Common.EntryPointExecutor.Execute(Assembly assembly, String[] args, IServiceProvider serviceProvider)\r\n   at dnx.host.Bootstrapper.RunAsync(List`1 args, IRuntimeEnvironment env, FrameworkName targetFramework)\r\n   at dnx.host.RuntimeBootstrapper.ExecuteAsync(String[] args, FrameworkName targetFramework)\r\n   at dnx.host.RuntimeBootstrapper.Execute(String[] args, FrameworkName targetFramework)\r\n\r\n```\r\n\r\nSo ```dnx websitefolder web``` fails but going into the websitefolder (c:\\projects\\test\\websitefolder) and running ```dnx . web``` works fine.\r\n\r\nI checked with clr and x86 runtimes but they fail also.\r\nIt worked correctly from outside the folder in the previous version 12264\r\n\r\nEDIT: also fails on Mac with same runtime"},"comment":{"url":"https://api.github.com/repos/aspnet/dnx/issues/comments/126442048","html_url":"https://github.com/aspnet/dnx/issues/2344#issuecomment-126442048","issue_url":"https://api.github.com/repos/aspnet/dnx/issues/2344","id":126442048,"user":{"login":"anurse","id":7574,"avatar_url":"https://avatars.githubusercontent.com/u/7574?v=3","gravatar_id":"","url":"https://api.github.com/users/anurse","html_url":"https://github.com/anurse","followers_url":"https://api.github.com/users/anurse/followers","following_url":"https://api.github.com/users/anurse/following{/other_user}","gists_url":"https://api.github.com/users/anurse/gists{/gist_id}","starred_url":"https://api.github.com/users/anurse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anurse/subscriptions","organizations_url":"https://api.github.com/users/anurse/orgs","repos_url":"https://api.github.com/users/anurse/repos","events_url":"https://api.github.com/users/anurse/events{/privacy}","received_events_url":"https://api.github.com/users/anurse/received_events","type":"User","site_admin":false},"created_at":"2015-07-30T19:09:10Z","updated_at":"2015-07-30T19:09:10Z","body":"The current syntax for running in a different folder is `dnx --appbase [path\\to\\other\\folder] Microsoft.Dnx.ApplicationHost run ...`.\r\n\r\nWe are **totally** aware that this suck and is bad and terrible and no-good :). See #2316 :)"}}