Fixing PortableAppWithRuntimeTargetsIsPublishedCorrectly now that libuv is contained in the Shared Framework.

This commit is contained in:
Eric Erhardt 2016-06-03 09:14:05 -05:00
parent f16f2e64eb
commit 8162f89996
2 changed files with 4 additions and 1 deletions

View file

@ -9,7 +9,8 @@
"type": "platform",
"version": "1.0.0-rc3-004391"
},
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*"
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*",
"Libuv": "1.9.0-rc2-20896"
},
"imports": "dnxcore50"
}

View file

@ -36,6 +36,8 @@ namespace Microsoft.DotNet.Tools.Publish.Tests
// Prior to `type:platform` trimming, this would have been published.
publishDir.Should().NotHaveFile("System.Linq.dll");
// PortableAppWithNative references a Libuv version that is explicitly
// not what is in Microsoft.NETCore.App.
var runtimesOutput = publishDir.Sub("runtimes");
runtimesOutput.Should().Exist();