public void RuntimeResolutionTest() { string[] items = { "runtimes/any/lib/netcore50/System.Xml.XmlSerializer.dll", "runtimes/aot/lib/netcore50/_._" }; NuGetAssetResolver resolver = new NuGetAssetResolver("runtime.json", items); var runtimeItems = resolver.GetRuntimeItems(NuGetFramework.Parse("netcore50"), "win10-x64-aot"); Assert.NotNull(runtimeItems); Assert.Equal(1, runtimeItems.Items.Count); // Fails due to https://github.com/NuGet/Home/issues/1676 // Assert.Equal(items[1], runtimeItems.Items.FirstOrDefault().Path); }