add trimming of published output based on sharedfx

Any dependencies which **exactly** match the version requested in the
graph originating at the `type: platform` dependency (if any) are
trimmed from the publish output
This commit is contained in:
Andrew Stanton-Nurse 2016-03-25 15:40:16 -07:00
parent 8df6f5405d
commit 62b7740c95
5 changed files with 101 additions and 1 deletions

View file

@ -0,0 +1,12 @@
using System;
namespace PortableApp
{
public static class Program
{
public static void Main(string[] args)
{
Console.WriteLine("Hello, World!");
}
}
}

View file

@ -0,0 +1,21 @@
{
"compilationOptions": {
"emitEntryPoint": true
},
"dependencies": {},
"frameworks": {
"netstandard1.5": {
"imports": [
"dnxcore50",
"portable-net45+win8"
],
"dependencies": {
"Microsoft.NETCore.App": {
"type": "platform",
"version": "1.0.0-rc2-23925"
},
"System.Linq": "4.0.0"
}
}
}
}