{"action":"opened","issue":{"url":"https://api.github.com/repos/NuGet/Home/issues/2639","repository_url":"https://api.github.com/repos/NuGet/Home","labels_url":"https://api.github.com/repos/NuGet/Home/issues/2639/labels{/name}","comments_url":"https://api.github.com/repos/NuGet/Home/issues/2639/comments","events_url":"https://api.github.com/repos/NuGet/Home/issues/2639/events","html_url":"https://github.com/NuGet/Home/issues/2639","id":150284890,"number":2639,"title":"[dotnet restore] --configfile is relative to project dir instead of the cmd dir","user":{"login":"phenixdotnet","id":2082554,"avatar_url":"https://avatars.githubusercontent.com/u/2082554?v=3","gravatar_id":"","url":"https://api.github.com/users/phenixdotnet","html_url":"https://github.com/phenixdotnet","followers_url":"https://api.github.com/users/phenixdotnet/followers","following_url":"https://api.github.com/users/phenixdotnet/following{/other_user}","gists_url":"https://api.github.com/users/phenixdotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/phenixdotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phenixdotnet/subscriptions","organizations_url":"https://api.github.com/users/phenixdotnet/orgs","repos_url":"https://api.github.com/users/phenixdotnet/repos","events_url":"https://api.github.com/users/phenixdotnet/events{/privacy}","received_events_url":"https://api.github.com/users/phenixdotnet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-22T06:48:01Z","updated_at":"2016-04-22T06:48:01Z","closed_at":null,"body":"Initially reported at https://github.com/dotnet/cli/issues/2599\r\n\r\n## Steps to reproduce\r\nAssume this solution structure:\r\n- MySol\r\n    - nuget.config\r\n    - src\r\n         - MyProject\r\n\r\nOpen a cmd prompt and move to MySol directory\r\n\r\n## Expected  behavior\r\nRelative path are evaluated from the current prompt directory and not from the project directory\r\n\r\n## Actual behavior\r\nWhen running ```dotnet restore --configfile .\\nuget.config``` from a cmd in ```MySol``` dir the command fail with this output:\r\n```error: File 'c:\\dev\\MySol\\src\\MyProject\\.\\nuget.config' does not exist.```\r\n\r\n## Environment data\r\n`dotnet --info` output:\r\n.NET Command Line Tools (1.0.0-rc2-002439)\r\n\r\nProduct Information:\r\n Version:     1.0.0-rc2-002439\r\n Commit Sha:  ef0c3b2cee\r\n\r\nRuntime Environment:\r\n OS Name:     Windows\r\n OS Version:  10.0.14316\r\n OS Platform: Windows\r\n RID:         win10-x64"}}