{"action":"created","issue":{"url":"https://api.github.com/repos/xunit/xunit/issues/925","repository_url":"https://api.github.com/repos/xunit/xunit","labels_url":"https://api.github.com/repos/xunit/xunit/issues/925/labels{/name}","comments_url":"https://api.github.com/repos/xunit/xunit/issues/925/comments","events_url":"https://api.github.com/repos/xunit/xunit/issues/925/events","html_url":"https://github.com/xunit/xunit/issues/925","id":167830443,"number":925,"title":"Cannot resolve dependencies (.NET Core)","user":{"login":"dknaack","id":880759,"avatar_url":"https://avatars.githubusercontent.com/u/880759?v=3","gravatar_id":"","url":"https://api.github.com/users/dknaack","html_url":"https://github.com/dknaack","followers_url":"https://api.github.com/users/dknaack/followers","following_url":"https://api.github.com/users/dknaack/following{/other_user}","gists_url":"https://api.github.com/users/dknaack/gists{/gist_id}","starred_url":"https://api.github.com/users/dknaack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dknaack/subscriptions","organizations_url":"https://api.github.com/users/dknaack/orgs","repos_url":"https://api.github.com/users/dknaack/repos","events_url":"https://api.github.com/users/dknaack/events{/privacy}","received_events_url":"https://api.github.com/users/dknaack/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-27T11:19:26Z","updated_at":"2016-07-29T15:28:05Z","closed_at":null,"body":"Ive followed the simple steps from: https://xunit.github.io/docs/getting-started-dotnet-core.html.\r\n\r\nSo i have a empty .NET Core Class library with the following project.json.\r\n\r\n```\r\n{\r\n    \"version\": \"1.0.0-*\",\r\n    \"testRunner\": \"xunit\",\r\n  \"dependencies\": {\r\n    \"xunit\": \"2.2.0-beta2-build3300\",\r\n    \"dotnet-test-xunit\": \"2.2.0-preview2-build1029\"\r\n  },\r\n    \"frameworks\": {\r\n        \"netcoreapp1.0\": {\r\n            \"dependencies\": {\r\n                \"Microsoft.NETCore.App\": {\r\n                    \"type\": \"platform\",\r\n                    \"version\": \"1.0.0\"\r\n                }\r\n            }\r\n        }\r\n    }\r\n}\r\n```\r\n\r\nbut getting \r\n```\r\n\r\ndotnet restore\r\nlog  : Restoring packages for Y:\\Development\\ClassLibrary1\\project.json...\r\nerror: Unable to resolve 'xunit.core (= 2.2.0-beta2-build3300)' for '.NETCoreApp,Version=v1.0'.\r\nerror: Unable to resolve 'xunit.assert (= 2.2.0-beta2-build3300)' for '.NETCoreApp,Version=v1.0'.\r\nerror: Unable to resolve 'xunit.runner.reporters (>= 2.2.0-beta2-build3300)' for '.NETCoreApp,Version=v1.0'.\r\nerror: Unable to resolve 'Microsoft.DiaSymReader (>= 1.0.8)' for '.NETCoreApp,Version=v1.0'.\r\nerror: Unable to resolve 'Microsoft.DiaSymReader.Native (>= 1.4.0-rc2)' for '.NETCoreApp,Version=v1.0'.\r\nlog  : Lock file has not changed. Skipping lock file write. Path: Y:\\Development\\Blazingo\\project.lock.json\r\nlog  : Y:\\Development\\ClassLibrary1\\project.json\r\nlog  : Restore failed in 2056ms.\r\n\r\nErrors in Y:\\Development\\ClassLibrary1\\project.json\r\n    Unable to resolve 'xunit.core (= 2.2.0-beta2-build3300)' for '.NETCoreApp,Version=v1.0'.\r\n    Unable to resolve 'xunit.assert (= 2.2.0-beta2-build3300)' for '.NETCoreApp,Version=v1.0'.\r\n    Unable to resolve 'xunit.runner.reporters (>= 2.2.0-beta2-build3300)' for '.NETCoreApp,Version=v1.0'.\r\n    Unable to resolve 'Microsoft.DiaSymReader (>= 1.0.8)' for '.NETCoreApp,Version=v1.0'.\r\n    Unable to resolve 'Microsoft.DiaSymReader.Native (>= 1.4.0-rc2)' for '.NETCoreApp,Version=v1.0'.\r\n\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/xunit/xunit/issues/comments/236211602","html_url":"https://github.com/xunit/xunit/issues/925#issuecomment-236211602","issue_url":"https://api.github.com/repos/xunit/xunit/issues/925","id":236211602,"user":{"login":"nickfeng1982","id":20727095,"avatar_url":"https://avatars.githubusercontent.com/u/20727095?v=3","gravatar_id":"","url":"https://api.github.com/users/nickfeng1982","html_url":"https://github.com/nickfeng1982","followers_url":"https://api.github.com/users/nickfeng1982/followers","following_url":"https://api.github.com/users/nickfeng1982/following{/other_user}","gists_url":"https://api.github.com/users/nickfeng1982/gists{/gist_id}","starred_url":"https://api.github.com/users/nickfeng1982/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickfeng1982/subscriptions","organizations_url":"https://api.github.com/users/nickfeng1982/orgs","repos_url":"https://api.github.com/users/nickfeng1982/repos","events_url":"https://api.github.com/users/nickfeng1982/events{/privacy}","received_events_url":"https://api.github.com/users/nickfeng1982/received_events","type":"User","site_admin":false},"created_at":"2016-07-29T15:28:05Z","updated_at":"2016-07-29T15:28:05Z","body":"I had the same issue but only on the server build machine. I had a clean build in my own PC though.  I don't whether I should do sth special like manually download the xunit packpage in the server. Please advise. Here is the error message:\r\n\r\n`Gms.Six.Database.Batch.Test\\project.json (6, 51)\r\n**The dependency dotnet-test-xunit >= 2.2.0-preview2-build1029 could not be resolved.**\r\nGms.Six.Database.Batch.Test\\project.json (6, 51)\r\n**The dependency Microsoft.DiaSymReader >= 1.0.8 could not be resolved.**\r\nGms.Six.Database.Batch.Test\\project.json (6, 51)\r\n**The dependency Microsoft.DiaSymReader.Native >= 1.4.0-rc2 could not be resolved.**\r\nGms.Six.Database.Batch.Test\\project.json (6, 51)\r\n**The dependency Microsoft.Extensions.Testing.Abstractions >= 1.0.0-preview2-003121 could not be resolved.**\r\nGms.Six.Database.Batch.Test\\project.json (5, 36)\r\nThe dependency xunit >= 2.2.0-beta2-build3300 could not be resolved.\r\nGms.Six.Database.Batch.Test\\project.json (5, 36)\r\nThe dependency xunit.abstractions >= 2.0.1-rc2 could not be resolved.\r\nGms.Six.Database.Batch.Test\\project.json (6, 51)\r\nThe dependency xunit.abstractions >= 2.0.1-rc2 could not be resolved.\r\nGms.Six.Database.Batch.Test\\project.json (5, 36)\r\nThe dependency xunit.assert 2.2.0-beta2-build3300 could not be resolved.\r\nGms.Six.Database.Batch.Test\\project.json (5, 36)\r\nThe dependency xunit.core 2.2.0-beta2-build3300 could not be resolved.\r\nGms.Six.Database.Batch.Test\\project.json (5, 36)\r\nThe dependency xunit.extensibility.core 2.2.0-beta2-build3300 could not be resolved.`"}}
{"actor":{"display_login":"nickfeng1982"}}