{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/cli/issues/2250","repository_url":"https://api.github.com/repos/dotnet/cli","labels_url":"https://api.github.com/repos/dotnet/cli/issues/2250/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/cli/issues/2250/comments","events_url":"https://api.github.com/repos/dotnet/cli/issues/2250/events","html_url":"https://github.com/dotnet/cli/issues/2250","id":145653007,"number":2250,"title":"Could not find file _._ while trying to dotnet publish","user":{"login":"mmalolepszy","id":9466870,"avatar_url":"https://avatars.githubusercontent.com/u/9466870?v=3","gravatar_id":"","url":"https://api.github.com/users/mmalolepszy","html_url":"https://github.com/mmalolepszy","followers_url":"https://api.github.com/users/mmalolepszy/followers","following_url":"https://api.github.com/users/mmalolepszy/following{/other_user}","gists_url":"https://api.github.com/users/mmalolepszy/gists{/gist_id}","starred_url":"https://api.github.com/users/mmalolepszy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmalolepszy/subscriptions","organizations_url":"https://api.github.com/users/mmalolepszy/orgs","repos_url":"https://api.github.com/users/mmalolepszy/repos","events_url":"https://api.github.com/users/mmalolepszy/events{/privacy}","received_events_url":"https://api.github.com/users/mmalolepszy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/cli/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"Sridhar-MS","id":9423246,"avatar_url":"https://avatars.githubusercontent.com/u/9423246?v=3","gravatar_id":"","url":"https://api.github.com/users/Sridhar-MS","html_url":"https://github.com/Sridhar-MS","followers_url":"https://api.github.com/users/Sridhar-MS/followers","following_url":"https://api.github.com/users/Sridhar-MS/following{/other_user}","gists_url":"https://api.github.com/users/Sridhar-MS/gists{/gist_id}","starred_url":"https://api.github.com/users/Sridhar-MS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sridhar-MS/subscriptions","organizations_url":"https://api.github.com/users/Sridhar-MS/orgs","repos_url":"https://api.github.com/users/Sridhar-MS/repos","events_url":"https://api.github.com/users/Sridhar-MS/events{/privacy}","received_events_url":"https://api.github.com/users/Sridhar-MS/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/dotnet/cli/milestones/3","html_url":"https://github.com/dotnet/cli/milestones/1.0.0-rc2","labels_url":"https://api.github.com/repos/dotnet/cli/milestones/3/labels","id":1343748,"number":3,"title":"1.0.0-rc2","description":"","creator":{"login":"Sridhar-MS","id":9423246,"avatar_url":"https://avatars.githubusercontent.com/u/9423246?v=3","gravatar_id":"","url":"https://api.github.com/users/Sridhar-MS","html_url":"https://github.com/Sridhar-MS","followers_url":"https://api.github.com/users/Sridhar-MS/followers","following_url":"https://api.github.com/users/Sridhar-MS/following{/other_user}","gists_url":"https://api.github.com/users/Sridhar-MS/gists{/gist_id}","starred_url":"https://api.github.com/users/Sridhar-MS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sridhar-MS/subscriptions","organizations_url":"https://api.github.com/users/Sridhar-MS/orgs","repos_url":"https://api.github.com/users/Sridhar-MS/repos","events_url":"https://api.github.com/users/Sridhar-MS/events{/privacy}","received_events_url":"https://api.github.com/users/Sridhar-MS/received_events","type":"User","site_admin":false},"open_issues":72,"closed_issues":156,"state":"open","created_at":"2015-10-08T01:23:25Z","updated_at":"2016-04-06T20:26:12Z","due_on":"2016-04-22T07:00:00Z","closed_at":null},"comments":9,"created_at":"2016-04-04T11:09:04Z","updated_at":"2016-04-06T20:29:57Z","closed_at":null,"body":"## Steps to reproduce\r\n\r\n- `dotnet new`\r\n- Edit `project.json`:\r\n```\r\n{\r\n  \"version\": \"1.0.0-*\",\r\n  \"compilationOptions\": {\r\n    \"emitEntryPoint\": true\r\n  },\r\n  \"dependencies\": {\r\n    \"Microsoft.NETCore.App\": {\r\n      \"type\": \"platform\",\r\n      \"version\": \"1.0.0-rc2-23931\"\r\n    }\r\n  },\r\n  \"frameworks\": {\r\n    \"netstandardapp1.5\": {}\r\n  },\r\n  \"runtimes\": {\r\n    \"win7-x64\": {},\r\n    \"ubuntu.14.04-x64\": {}\r\n  }\r\n}\r\n```\r\n- `dotnet restore`\r\n- `dotnet publish`\r\n\r\n## Expected  behavior\r\n\r\n```\r\nPublished to C:\\project\\bin\\Debug\\netstandardapp1.5\\win7-x64\\publish\r\nPublished 1/1 projects successfully\r\n```\r\n\r\n## Actual behavior\r\n\r\n`Could not find file 'C:\\Users\\<my-user>\\.nuget\\packages\\runtime.win7-x64.Microsoft.NETCore.DotNetHost\\1.0.0-rc2-00001\\runtimes\\win7-x64\\native\\_._'.`\r\n\r\n## Environment data\r\n`dotnet --info` output:\r\n\r\n```\r\n.NET Command Line Tools (1.0.0-beta-002202)\r\n\r\nProduct Information:\r\n Version:     1.0.0-beta-002202\r\n Commit Sha:  60b23d5115\r\n\r\nRuntime Environment:\r\n OS Name:     Windows\r\n OS Version:  10.0.10586\r\n OS Platform: Windows\r\n RID:         win10-x64\r\n```\r\n\r\n## Additional info\r\n- Publish succeedes after creating `_._` files in \r\n```\r\nC:\\Users\\<my-user>\\.nuget\\packages\\runtime.win7-x64.Microsoft.NETCore.DotNetHost\\1.0.0-rc2-00001\\runtimes\\win7-x64\\native\r\nC:\\Users\\<my-user>\\.nuget\\packages\\runtime.win7-x64.Microsoft.NETCore.DotNetHostPolicy\\1.0.0-rc2-00001\\runtimes\\win7-x64\\native\r\nC:\\Users\\<my-user>\\.nuget\\packages\\runtime.win7-x64.Microsoft.NETCore.DotNetHostResolver\\1.0.0-rc2-00001\\runtimes\\win7-x64\\native\r\nC:\\Users\\<my-user>\\.nuget\\packages\\runtime.win7-x64.Microsoft.NETCore.Runtime.CoreCLR\\1.0.2-rc2-23931\\runtimes\\win7-x64\\native\r\nC:\\Users\\<my-user>\\.nuget\\packages\\runtime.win7-x64.Microsoft.NETCore.Windows.ApiSets\\1.0.1-rc2-23931\\runtimes\\win7-x64\\native\r\nC:\\Users\\<my-user>\\.nuget\\packages\\runtime.win7-x64.runtime.native.System.IO.Compression\\4.0.1-rc2-23931\\runtimes\\win7-x64\\native\r\n```\r\n- Similar behavior can be observed on Ubuntu 14.04. `dotnet --info`:\r\n```\r\n.NET Command Line Tools (1.0.0-beta-002202)\r\n\r\nProduct Information:\r\n Version:     1.0.0-beta-002202\r\n Commit Sha:  60b23d5115\r\n\r\nRuntime Environment:\r\n OS Name:     ubuntu\r\n OS Version:  14.04\r\n OS Platform: Linux\r\n RID:         ubuntu.14.04-x64\r\n```\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dotnet/cli/issues/comments/206547668","html_url":"https://github.com/dotnet/cli/issues/2250#issuecomment-206547668","issue_url":"https://api.github.com/repos/dotnet/cli/issues/2250","id":206547668,"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":"2016-04-06T20:29:57Z","updated_at":"2016-04-06T20:29:57Z","body":"Ah, I've seen this before. The file exists, but NuGet is dropping a placeholder in the lock file. This may be a NuGet bug."}}