{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/cli/issues/550","repository_url":"https://api.github.com/repos/dotnet/cli","labels_url":"https://api.github.com/repos/dotnet/cli/issues/550/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/cli/issues/550/comments","events_url":"https://api.github.com/repos/dotnet/cli/issues/550/events","html_url":"https://github.com/dotnet/cli/issues/550","id":122973002,"number":550,"title":"Localized resources from CSProj PCL P2P ref not resolved from XPROJ","user":{"login":"muratg","id":1808428,"avatar_url":"https://avatars.githubusercontent.com/u/1808428?v=3","gravatar_id":"","url":"https://api.github.com/users/muratg","html_url":"https://github.com/muratg","followers_url":"https://api.github.com/users/muratg/followers","following_url":"https://api.github.com/users/muratg/following{/other_user}","gists_url":"https://api.github.com/users/muratg/gists{/gist_id}","starred_url":"https://api.github.com/users/muratg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muratg/subscriptions","organizations_url":"https://api.github.com/users/muratg/orgs","repos_url":"https://api.github.com/users/muratg/repos","events_url":"https://api.github.com/users/muratg/events{/privacy}","received_events_url":"https://api.github.com/users/muratg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/dotnet/cli/milestones/7","html_url":"https://github.com/dotnet/cli/milestones/Backlog","labels_url":"https://api.github.com/repos/dotnet/cli/milestones/7/labels","id":1426021,"number":7,"title":"Backlog","description":null,"creator":{"login":"piotrpMSFT","id":2379589,"avatar_url":"https://avatars.githubusercontent.com/u/2379589?v=3","gravatar_id":"","url":"https://api.github.com/users/piotrpMSFT","html_url":"https://github.com/piotrpMSFT","followers_url":"https://api.github.com/users/piotrpMSFT/followers","following_url":"https://api.github.com/users/piotrpMSFT/following{/other_user}","gists_url":"https://api.github.com/users/piotrpMSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/piotrpMSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piotrpMSFT/subscriptions","organizations_url":"https://api.github.com/users/piotrpMSFT/orgs","repos_url":"https://api.github.com/users/piotrpMSFT/repos","events_url":"https://api.github.com/users/piotrpMSFT/events{/privacy}","received_events_url":"https://api.github.com/users/piotrpMSFT/received_events","type":"User","site_admin":false},"open_issues":161,"closed_issues":132,"state":"open","created_at":"2015-11-23T20:29:29Z","updated_at":"2016-05-20T22:22:00Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2015-12-18T15:54:40Z","updated_at":"2016-05-20T22:48:59Z","closed_at":null,"body":"_From @onovotny on November 22, 2015 19:10_\n\nI am in the middle of trying to get Humanizer tested under DNX. Humanizer is a regular PCL/Profile 259 as a CSPROJ. It has a ResX file with about 39 localized versions, so it generates about 39 `<locale>\\Humanizer.resources.dll` files alongside its main library dll.\r\n\r\nIn the process, I created a DNX test library for Humanizer and added a reference to Humanizer. VS created a `wrap/Humanizer/project.json` file for it and am able to compile all of the tests. However, when I try to run them, I get tons of errors about `Humanizer.resources` not being found. This happens both in Test Explorer and the command line via `dnx test`.\r\n\r\nYou can repro this in the `device-runner` branch of Humanizer: https://github.com/Humanizr/Humanizer/tree/features/device-runner/src/Humanizer.Tests.Dnx\r\n\r\n\r\n```\r\n   YearsAgo(years: 2, expected: \"för 2 år sedan\") [FAIL]\r\n      System.IO.FileNotFoundException : Could not find file 'Humanizer.resources'.\r\n      Stack Trace:\r\n           at System.Reflection.RuntimeAssembly.InternalGetSatelliteAssembly(String name, CultureInfo culture, Version version, Boolean throwOnFileNotFound, StackCrawlMark& stackMark)\r\n           at System.Resources.ManifestBasedResourceGroveler.GetSatelliteAssembly(CultureInfo lookForCulture, StackCrawlMark& stackMark)\r\n           at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark)\r\n           at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark)\r\n           at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)\r\n           at System.Resources.ResourceManager.GetString(String name, CultureInfo culture)\r\n        C:\\Users\\oren\\Source\\Git\\Humanizer\\src\\Humanizer\\Localisation\\Resources.cs(22,0): at Humanizer.Localisation.Resources.GetResource(String resourceKey, CultureInfo culture)\r\n        C:\\Users\\oren\\Source\\Git\\Humanizer\\src\\Humanizer\\Localisation\\Formatters\\DefaultFormatter.cs(97,0): at Humanizer.Localisation.Formatters.DefaultFormatter.Format(String resourceKey, Int32 number)\r\n        C:\\Users\\oren\\Source\\Git\\Humanizer\\src\\Humanizer\\Localisation\\Formatters\\DefaultFormatter.cs(70,0): at Humanizer.Localisation.Formatters.DefaultFormatter.GetResourceForDate(TimeUnit unit, Tense timeUnitTense, Int32 count)\r\n        C:\\Users\\oren\\Source\\Git\\Humanizer\\src\\Humanizer\\Localisation\\Formatters\\DefaultFormatter.cs(40,0): at Humanizer.Localisation.Formatters.DefaultFormatter.DateHumanize(TimeUnit timeUnit, Tense timeUnitTense, Int32 unit)\r\n        C:\\Users\\oren\\Source\\Git\\Humanizer\\src\\Humanizer\\DateTimeHumanizeStrategy\\DateTimeHumanizeAlgorithms.cs(113,0): at Humanizer.DateTimeHumanizeStrategy.DateTimeHumanizeAlgorithms.DefaultHumanize(DateTime input, DateTime comparisonBase, CultureInfo culture)\r\n        C:\\Users\\oren\\Source\\Git\\Humanizer\\src\\Humanizer\\DateTimeHumanizeStrategy\\DefaultDateTimeHumanizeStrategy.cs(16,0): at Humanizer.DateTimeHumanizeStrategy.DefaultDateTimeHumanizeStrategy.Humanize(DateTime input, DateTime comparisonBase, CultureInfo culture)\r\n        C:\\Users\\oren\\Source\\Git\\Humanizer\\src\\Humanizer\\DateHumanizeExtensions.cs(27,0): at Humanizer.DateHumanizeExtensions.Humanize(DateTime input, Boolean utcDate, Nullable`1 dateToCompareAgainst, CultureInfo culture)\r\n        C:\\Users\\oren\\source\\git\\Humanizer\\src\\Humanizer.Tests.Shared\\DateHumanize.cs(32,0): at Humanizer.Tests.DateHumanize.VerifyWithDate(String expectedString, TimeSpan deltaFromBase, CultureInfo culture, DateTime baseDate, DateTime baseDateUtc)\r\n        C:\\Users\\oren\\source\\git\\Humanizer\\src\\Humanizer.Tests.Shared\\DateHumanize.cs(19,0): at Humanizer.Tests.DateHumanize.VerifyWithCurrentDate(String expectedString, TimeSpan deltaFromNow, CultureInfo culture)\r\n        C:\\Users\\oren\\source\\git\\Humanizer\\src\\Humanizer.Tests.Shared\\DateHumanize.cs(79,0): at Humanizer.Tests.DateHumanize.Verify(String expectedString, Int32 unit, TimeUnit timeUnit, Tense tense, Nullable`1 precision, CultureInfo culture, Nullable`1 baseDate, Nullable`1 baseDateUtc)\r\n        C:\\Users\\oren\\source\\git\\Humanizer\\src\\Humanizer.Tests.Shared\\Localisation\\sv\\DateHumanizeTests.cs(104,0): at Humanizer.Tests.Localisation.sv.DateHumanizeTests.YearsAgo(Int32 years, String expected)\r\n```\n\n_Copied from original issue: aspnet/dnx#3190_"},"comment":{"url":"https://api.github.com/repos/dotnet/cli/issues/comments/220736403","html_url":"https://github.com/dotnet/cli/issues/550#issuecomment-220736403","issue_url":"https://api.github.com/repos/dotnet/cli/issues/550","id":220736403,"user":{"login":"onovotny","id":1427284,"avatar_url":"https://avatars.githubusercontent.com/u/1427284?v=3","gravatar_id":"","url":"https://api.github.com/users/onovotny","html_url":"https://github.com/onovotny","followers_url":"https://api.github.com/users/onovotny/followers","following_url":"https://api.github.com/users/onovotny/following{/other_user}","gists_url":"https://api.github.com/users/onovotny/gists{/gist_id}","starred_url":"https://api.github.com/users/onovotny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onovotny/subscriptions","organizations_url":"https://api.github.com/users/onovotny/orgs","repos_url":"https://api.github.com/users/onovotny/repos","events_url":"https://api.github.com/users/onovotny/events{/privacy}","received_events_url":"https://api.github.com/users/onovotny/received_events","type":"User","site_admin":false},"created_at":"2016-05-20T22:48:59Z","updated_at":"2016-05-20T22:48:59Z","body":"I don't think so since I can run Humanizer tests with netcoreapp1.0"}}
{"actor":{"display_login":"onovotny"}}