Merge pull request #1645 from eerhardt/NewCorefx

Move to CoreFX build rc2-23901
This commit is contained in:
Eric Erhardt 2016-03-03 23:21:52 -06:00
commit a709f772f1
105 changed files with 460 additions and 295 deletions

View file

@ -9,12 +9,12 @@
], ],
"dependencies": { "dependencies": {
"Microsoft.FSharp.Core.netcore": "1.0.0-alpha-151221", "Microsoft.FSharp.Core.netcore": "1.0.0-alpha-151221",
"NETStandard.Library": "1.0.0-rc2-23811" "NETStandard.Library": "1.0.0-rc2-23901"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { "netstandardapp1.5": {
"imports": "portable-net45+win8" "imports": "dnxcore50"
} }
} }
} }

View file

@ -9,13 +9,13 @@
], ],
"dependencies": { "dependencies": {
"TestLibrary": "1.0.0-*", "TestLibrary": "1.0.0-*",
"NETStandard.Library": "1.0.0-rc2-23811", "NETStandard.Library": "1.0.0-rc2-23901",
"Microsoft.FSharp.Core.netcore": "1.0.0-alpha-151221", "Microsoft.FSharp.Core.netcore": "1.0.0-alpha-151221"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { "netstandardapp1.5": {
"imports": "portable-net45+win8" "imports": "dnxcore50"
} }
} }
} }

View file

@ -9,12 +9,12 @@
], ],
"dependencies": { "dependencies": {
"Microsoft.FSharp.Core.netcore": "1.0.0-alpha-151221", "Microsoft.FSharp.Core.netcore": "1.0.0-alpha-151221",
"NETStandard.Library": "1.0.0-rc2-23811" "NETStandard.Library": "1.0.0-rc2-23901"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { "netstandardapp1.5": {
"imports": "portable-net45+win8" "imports": "dnxcore50"
} }
} }
} }

View file

@ -2,7 +2,7 @@
"version": "1.0.0-*", "version": "1.0.0-*",
"dependencies": { "dependencies": {
"Microsoft.FSharp.Core.netcore": "1.0.0-alpha-151221", "Microsoft.FSharp.Core.netcore": "1.0.0-alpha-151221",
"NETStandard.Library": "1.0.0-rc2-23811" "NETStandard.Library": "1.0.0-rc2-23901"
}, },
"compilerName": "fsc", "compilerName": "fsc",
"compileFiles": [ "compileFiles": [
@ -10,8 +10,8 @@
"Helper.fs" "Helper.fs"
], ],
"frameworks": { "frameworks": {
"dnxcore50": { "netstandardapp1.5": {
"imports": "portable-net45+win8" "imports": "dnxcore50"
} }
} }
} }

View file

@ -1,9 +1,11 @@
{ {
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811", "NETStandard.Library": "1.0.0-rc2-23901",
"EmptyLibrary": "1.0.0-*" "EmptyLibrary": "1.0.0-*"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { } "netstandardapp1.5": {
"imports": "dnxcore50"
}
} }
} }

View file

@ -1,9 +1,10 @@
{ {
"dependencies": { }, "dependencies": { },
"frameworks": { "frameworks": {
"dnxcore50": { "netstandardapp1.5": {
"imports": "dnxcore50",
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811" "NETStandard.Library": "1.0.0-rc2-23901"
} }
}, },
"dnx451": { } "dnx451": { }

View file

@ -2,9 +2,10 @@
"version": "1.0.0-*", "version": "1.0.0-*",
"dependencies": { }, "dependencies": { },
"frameworks": { "frameworks": {
"dnxcore50": { "netstandard1.3": {
"dependencies":{ "imports": "dnxcore50",
"NETStandard.Library": "1.0.0-rc2-23811" "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23901"
} }
} }
} }

View file

@ -1,8 +1,9 @@
{ {
"frameworks": { "frameworks": {
"dnxcore50": { "netstandardapp1.5": {
"imports": "dnxcore50",
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811" "NETStandard.Library": "1.0.0-rc2-23901"
} }
} }
}, },

View file

@ -1,11 +1,11 @@
{ {
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811", "NETStandard.Library": "1.0.0-rc2-23901",
"Microsoft.Web.Administration": "7.0.0" "Microsoft.Web.Administration": "7.0.0"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { "netstandardapp1.5": {
"imports": "portable-net45+win8" "imports": "dnxcore50"
} }
} }
} }

View file

@ -5,10 +5,12 @@
}, },
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811" "NETStandard.Library": "1.0.0-rc2-23901"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { } "netstandardapp1.5": {
"imports": "dnxcore50"
}
} }
} }

View file

@ -5,10 +5,12 @@
}, },
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811" "NETStandard.Library": "1.0.0-rc2-23901"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { } "netstandardapp1.5": {
"imports": "dnxcore50"
}
} }
} }

View file

@ -5,12 +5,14 @@
}, },
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811", "NETStandard.Library": "1.0.0-rc2-23901",
"dotnet-hello": { "version": "1.0.0", "target": "package" } "dotnet-hello": { "version": "1.0.0", "target": "package" }
}, },
"frameworks": { "frameworks": {
"dnxcore50": { } "netstandardapp1.5": {
"imports": "dnxcore50"
}
}, },
"testRunner": "must-be-specified-to-generate-deps", "testRunner": "must-be-specified-to-generate-deps",

View file

@ -7,11 +7,13 @@
"testRunner": "must-be-specified-to-generate-deps", "testRunner": "must-be-specified-to-generate-deps",
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811", "NETStandard.Library": "1.0.0-rc2-23901",
"dotnet-hello": {"version": "1.0.0", "target": "package"} "dotnet-hello": {"version": "1.0.0", "target": "package"}
}, },
"frameworks": { "frameworks": {
"dnxcore50": { } "netstandardapp1.5": {
"imports": "dnxcore50"
}
} }
} }

View file

@ -5,11 +5,13 @@
}, },
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811" "NETStandard.Library": "1.0.0-rc2-23901"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { } "netstandardapp1.5": {
"imports": "dnxcore50"
}
}, },
"tools": { "tools": {

View file

@ -5,10 +5,12 @@
}, },
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811" "NETStandard.Library": "1.0.0-rc2-23901"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { } "netstandardapp1.5": {
"imports": "dnxcore50"
}
} }
} }

View file

@ -1,7 +1,7 @@
{ {
"version": "1.0.0-*", "version": "1.0.0-*",
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811", "NETStandard.Library": "1.0.0-rc2-23901",
"Microsoft.Extensions.DependencyModel": { "Microsoft.Extensions.DependencyModel": {
"target": "project", "target": "project",
"version": "1.0.0-*" "version": "1.0.0-*"
@ -9,6 +9,8 @@
}, },
"frameworks": { "frameworks": {
"dnxcore50": { } "netstandardapp1.5": {
"imports": "dnxcore50"
}
} }
} }

View file

@ -6,11 +6,13 @@
}, },
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811", "NETStandard.Library": "1.0.0-rc2-23901",
"DependencyContextValidator": "1.0.0-*" "DependencyContextValidator": "1.0.0-*"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { } "netstandardapp1.5": {
"imports": "dnxcore50"
}
} }
} }

View file

@ -1,15 +1,17 @@
{ {
"version": "1.0.0-*", "version": "1.0.0-*",
"compilationOptions": { "compilationOptions": {
"emitEntryPoint": true, "emitEntryPoint": true
}, },
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811", "NETStandard.Library": "1.0.0-rc2-23901",
"DependencyContextValidator": "1.0.0-*" "DependencyContextValidator": "1.0.0-*"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { } "netstandardapp1.5": {
"imports": "dnxcore50"
}
} }
} }

View file

@ -5,10 +5,12 @@
}, },
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23728" "NETStandard.Library": "1.0.0-rc2-23901"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { } "netstandardapp1.5": {
"imports": "dnxcore50"
}
} }
} }

View file

@ -5,10 +5,11 @@
}, },
"frameworks": { "frameworks": {
"dnxcore50": { "netstandardapp1.5": {
"imports": "dnxcore50",
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811" "NETStandard.Library": "1.0.0-rc2-23901"
}, }
}, },
"net451": { } "net451": { }
} }

View file

@ -8,10 +8,12 @@
"dependencies": { "dependencies": {
"TestLibrary": "1.0.0-*", "TestLibrary": "1.0.0-*",
"NETStandard.Library": "1.0.0-rc2-23811" "NETStandard.Library": "1.0.0-rc2-23901"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { } "netstandardapp1.5": {
"imports": "dnxcore50"
}
} }
} }

View file

@ -6,10 +6,12 @@
"additionalArguments": [ "-highentropyva+" ] "additionalArguments": [ "-highentropyva+" ]
}, },
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811" "NETStandard.Library": "1.0.0-rc2-23901"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { } "netstandardapp1.5": {
"imports": "dnxcore50"
}
} }
} }

View file

@ -5,10 +5,12 @@
}, },
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811" "NETStandard.Library": "1.0.0-rc2-23901"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { } "netstandardapp1.5": {
"imports": "dnxcore50"
}
} }
} }

View file

@ -5,10 +5,12 @@
}, },
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811", "NETStandard.Library": "1.0.0-rc2-23901",
"SharedContentA": "1.0.0-*" "SharedContentA": "1.0.0-*"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { } "netstandardapp1.5": {
"imports": "dnxcore50"
}
} }
} }

View file

@ -5,12 +5,14 @@
}, },
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811" "NETStandard.Library": "1.0.0-rc2-23901"
}, },
"content": "testcontentfile.txt", "content": "testcontentfile.txt",
"frameworks": { "frameworks": {
"dnxcore50": { } "netstandardapp1.5": {
"imports": "dnxcore50"
}
} }
} }

View file

@ -8,10 +8,12 @@
"dependencies": { "dependencies": {
"TestLibrary": { "target":"project", "version":"1.0.0-*" }, "TestLibrary": { "target":"project", "version":"1.0.0-*" },
"NETStandard.Library": "1.0.0-rc2-23811" "NETStandard.Library": "1.0.0-rc2-23901"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { } "netstandardapp1.5": {
"imports": "dnxcore50"
}
} }
} }

View file

@ -10,6 +10,8 @@
}, },
"frameworks": { "frameworks": {
"dnxcore50": { } "netstandardapp1.5": {
"imports": "dnxcore50"
}
} }
} }

View file

@ -5,11 +5,13 @@
}, },
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811" "NETStandard.Library": "1.0.0-rc2-23901"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { } "netstandardapp1.5": {
"imports": "dnxcore50"
}
}, },
"scripts": { "scripts": {

View file

@ -8,11 +8,13 @@
"dependencies": { "dependencies": {
"TestLibrary": { "target":"project", "version":"1.0.0-*" }, "TestLibrary": { "target":"project", "version":"1.0.0-*" },
"NETStandard.Library": "1.0.0-rc2-23811" "NETStandard.Library": "1.0.0-rc2-23901"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { } "netstandardapp1.5": {
"imports": "dnxcore50"
}
}, },
"scripts": { "scripts": {

View file

@ -6,10 +6,12 @@
"additionalArguments": [ "-highentropyva+" ] "additionalArguments": [ "-highentropyva+" ]
}, },
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811" "NETStandard.Library": "1.0.0-rc2-23901"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { } "netstandardapp1.5": {
"imports": "dnxcore50"
}
} }
} }

View file

@ -7,10 +7,12 @@
"dependencies": { "dependencies": {
"TestLibraryWithAppDependency": { "target":"project", "version":"1.0.0-*" }, "TestLibraryWithAppDependency": { "target":"project", "version":"1.0.0-*" },
"NETStandard.Library": "1.0.0-rc2-23811" "NETStandard.Library": "1.0.0-rc2-23901"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { } "netstandardapp1.5": {
}, "imports": "dnxcore50"
}
}
} }

View file

@ -3,10 +3,12 @@
"dependencies": { "dependencies": {
"TestApp": { "target":"project", "version":"1.0.0-*" }, "TestApp": { "target":"project", "version":"1.0.0-*" },
"NETStandard.Library": "1.0.0-rc2-23811", "NETStandard.Library": "1.0.0-rc2-23901"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { } "netstandardapp1.5": {
"imports": "dnxcore50"
}
} }
} }

View file

@ -8,10 +8,12 @@
"dependencies": { "dependencies": {
"TestLibrary": { "target":"project", "version":"1.0.0-*" }, "TestLibrary": { "target":"project", "version":"1.0.0-*" },
"NETStandard.Library": "1.0.0-rc2-23811" "NETStandard.Library": "1.0.0-rc2-23901"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { } "netstandardapp1.5": {
"imports": "dnxcore50"
}
} }
} }

View file

@ -1,6 +1,7 @@
{ {
"frameworks": { "frameworks": {
"dnxcore50": { "netstandardapp1.5": {
"imports": "dnxcore50",
"bin": { "bin": {
"assembly": "bin\\{configuration}\\dnxcore50\\TestLibrary.dll", "assembly": "bin\\{configuration}\\dnxcore50\\TestLibrary.dll",
"pdb": "bin\\{configuration}\\dnxcore50\\TestLibrary.pdb" "pdb": "bin\\{configuration}\\dnxcore50\\TestLibrary.pdb"

View file

@ -7,10 +7,13 @@
"frameworks": { "frameworks": {
"net451": { }, "net451": { },
"dnxcore50": { "netstandardapp1.5": {
"imports" : "portable-net45+wp80+win8", "imports": [
"dependencies": { "dnxcore50",
"NETStandard.Library": "1.0.0-rc2-23811" "portable-net45+wp80+win8"
],
"dependencies": {
"NETStandard.Library": "1.0.0-rc2-23901"
} }
} }
} }

View file

@ -8,10 +8,13 @@
"frameworks": { "frameworks": {
"net451": { }, "net451": { },
"dnxcore50": { "netstandardapp1.5": {
"imports" : "portable-net45+wp80+win8", "imports": [
"dependencies": { "dnxcore50",
"NETStandard.Library": "1.0.0-rc2-23811" "portable-net45+wp80+win8"
],
"dependencies": {
"NETStandard.Library": "1.0.0-rc2-23901"
} }
} }
} }

View file

@ -5,11 +5,13 @@
}, },
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811", "NETStandard.Library": "1.0.0-rc2-23901",
"System.Runtime.Analyzers": { "version": "1.1.0", "type": "build" } "System.Runtime.Analyzers": { "version": "1.1.0", "type": "build" }
}, },
"frameworks": { "frameworks": {
"dnxcore50": { } "netstandardapp1.5": {
"imports": "dnxcore50"
}
} }
} }

View file

@ -6,7 +6,7 @@
"additionalArguments": [ "-highentropyva+" ] "additionalArguments": [ "-highentropyva+" ]
}, },
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811" "NETStandard.Library": "1.0.0-rc2-23901"
}, },
"configurations": { "configurations": {
"Test": { "Test": {
@ -14,6 +14,8 @@
} }
}, },
"frameworks": { "frameworks": {
"dnxcore50": { } "netstandardapp1.5": {
"imports": "dnxcore50"
}
} }
} }

View file

@ -11,9 +11,10 @@
"net35": { }, "net35": { },
"net40": { }, "net40": { },
"net461": { }, "net461": { },
"dnxcore50": { "netstandardapp1.5": {
"imports": "dnxcore50",
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811" "NETStandard.Library": "1.0.0-rc2-23901"
} }
} }
} }

View file

@ -2,9 +2,10 @@
"version": "1.0.0", "version": "1.0.0",
"dependencies": { }, "dependencies": { },
"frameworks": { "frameworks": {
"dnxcore50": { "netstandardapp1.5": {
"imports": "dnxcore50",
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811" "NETStandard.Library": "1.0.0-rc2-23901"
} }
}, },
"dnx451": { "dnx451": {

View file

@ -7,11 +7,13 @@
"dependencies": { "dependencies": {
"L11": "1.0.0-*", "L11": "1.0.0-*",
"L12": "1.0.0-*", "L12": "1.0.0-*",
"NETStandard.Library": "1.0.0-rc2-23811" "NETStandard.Library": "1.0.0-rc2-23901"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { } "netstandardapp1.5": {
"imports": "dnxcore50"
}
} }
} }

View file

@ -2,13 +2,15 @@
"version": "1.0.0-*", "version": "1.0.0-*",
"dependencies": { "dependencies": {
"L12": "1.0.0-*", "L12": "1.0.0-*",
"L21": "1.0.0-*", "L21": "1.0.0-*",
"NETStandard.Library": "1.0.0-rc2-23811" "NETStandard.Library": "1.0.0-rc2-23901"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { } "netstandardapp1.5": {
"imports": "dnxcore50"
}
} }
} }

View file

@ -4,10 +4,12 @@
"dependencies": { "dependencies": {
"L22": "1.0.0-*", "L22": "1.0.0-*",
"NETStandard.Library": "1.0.0-rc2-23811" "NETStandard.Library": "1.0.0-rc2-23901"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { } "netstandardapp1.5": {
"imports": "dnxcore50"
}
} }
} }

View file

@ -2,10 +2,12 @@
"version": "1.0.0-*", "version": "1.0.0-*",
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811" "NETStandard.Library": "1.0.0-rc2-23901"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { } "netstandardapp1.5": {
"imports": "dnxcore50"
}
} }
} }

View file

@ -2,10 +2,12 @@
"version": "1.0.0-*", "version": "1.0.0-*",
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811" "NETStandard.Library": "1.0.0-rc2-23901"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { } "netstandardapp1.5": {
"imports": "dnxcore50"
}
} }
} }

View file

@ -5,10 +5,12 @@
}, },
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811" "NETStandard.Library": "1.0.0-rc2-23901"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { } "netstandardapp1.5": {
"imports": "dnxcore50"
}
} }
} }

View file

@ -5,10 +5,12 @@
}, },
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811" "NETStandard.Library": "1.0.0-rc2-23901"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { } "netstandardapp1.5": {
"imports": "dnxcore50"
}
} }
} }

View file

@ -6,10 +6,12 @@
}, },
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811" "NETStandard.Library": "1.0.0-rc2-23901"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { } "netstandardapp1.5": {
"imports": "dnxcore50"
}
} }
} }

View file

@ -2,12 +2,14 @@
"version": "1.0.0-*", "version": "1.0.0-*",
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811", "NETStandard.Library": "1.0.0-rc2-23901",
"System.Diagnostics.Process": "4.1.0-rc2-23811", "System.Diagnostics.Process": "4.1.0-rc2-23901",
"Microsoft.Extensions.PlatformAbstractions": "1.0.0-rc2-16537" "Microsoft.Extensions.PlatformAbstractions": "1.0.0-rc2-16537"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { } "netstandard1.3": {
"imports": "dnxcore50"
}
} }
} }

View file

@ -12,7 +12,7 @@ namespace Microsoft.DotNet.Cli.Build
{ {
public class CompileTargets public class CompileTargets
{ {
public static readonly string CoreCLRVersion = "1.0.1-rc2-23811"; public static readonly string CoreCLRVersion = "1.0.2-rc2-23901";
public static readonly string AppDepSdkVersion = "1.0.6-prerelease-00003"; public static readonly string AppDepSdkVersion = "1.0.6-prerelease-00003";
public static readonly bool IsWinx86 = CurrentPlatform.IsWindows && CurrentArchitecture.Isx86; public static readonly bool IsWinx86 = CurrentPlatform.IsWindows && CurrentArchitecture.Isx86;

View file

@ -32,7 +32,7 @@ namespace Microsoft.DotNet.Cli.Build
{ {
{ "RID", PlatformServices.Default.Runtime.GetRuntimeIdentifier() }, { "RID", PlatformServices.Default.Runtime.GetRuntimeIdentifier() },
{ "OSNAME", PlatformServices.Default.Runtime.OperatingSystem }, { "OSNAME", PlatformServices.Default.Runtime.OperatingSystem },
{ "TFM", "dnxcore50" }, { "TFM", "netstandardapp1.5" },
{ "OutputDir", Dirs.Output }, { "OutputDir", Dirs.Output },
{ "Stage1Dir", Dirs.Stage1 }, { "Stage1Dir", Dirs.Stage1 },
{ "Stage1CompilationDir", Dirs.Stage1Compilation }, { "Stage1CompilationDir", Dirs.Stage1Compilation },

View file

@ -132,7 +132,7 @@ namespace Microsoft.DotNet.Cli.Build
foreach (var project in projects) foreach (var project in projects)
{ {
c.Info($"Building: {project}"); c.Info($"Building: {project}");
dotnet.Build("--framework", "dnxcore50") dotnet.Build("--framework", "netstandardapp1.5")
.WorkingDirectory(Path.GetDirectoryName(project)) .WorkingDirectory(Path.GetDirectoryName(project))
.Execute() .Execute()
.EnsureSuccessful(); .EnsureSuccessful();

View file

@ -6,13 +6,15 @@
}, },
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811", "NETStandard.Library": "1.0.0-rc2-23901",
"System.IO.Compression.ZipFile": "4.0.1-rc2-23811", "System.IO.Compression.ZipFile": "4.0.1-rc2-23901",
"Microsoft.Extensions.PlatformAbstractions": "1.0.0-rc2-16537", "Microsoft.Extensions.PlatformAbstractions": "1.0.0-rc2-16537",
"Microsoft.DotNet.Cli.Build.Framework": "1.0.0-*" "Microsoft.DotNet.Cli.Build.Framework": "1.0.0-*"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { } "netstandardapp1.5": {
"imports": "dnxcore50"
}
} }
} }

View file

@ -78,7 +78,7 @@ popd
# Publish the builder # Publish the builder
Write-Host "Compiling Build Scripts..." Write-Host "Compiling Build Scripts..."
dotnet publish "$PSScriptRoot\dotnet-cli-build" -o "$PSScriptRoot/dotnet-cli-build/bin" --framework dnxcore50 dotnet publish "$PSScriptRoot\dotnet-cli-build" -o "$PSScriptRoot/dotnet-cli-build/bin" --framework netstandardapp1.5
if($LASTEXITCODE -ne 0) { throw "Failed to compile build scripts" } if($LASTEXITCODE -ne 0) { throw "Failed to compile build scripts" }
# Run the builder # Run the builder

View file

@ -104,7 +104,7 @@ echo "Restoring Build Script projects..."
# Build the builder # Build the builder
echo "Compiling Build Scripts..." echo "Compiling Build Scripts..."
dotnet publish "$DIR/dotnet-cli-build" -o "$DIR/dotnet-cli-build/bin" --framework dnxcore50 dotnet publish "$DIR/dotnet-cli-build" -o "$DIR/dotnet-cli-build/bin" --framework netstandardapp1.5
# Run the builder # Run the builder
echo "Invoking Build Scripts..." echo "Invoking Build Scripts..."

View file

@ -121,7 +121,7 @@ namespace Microsoft.DotNet.Cli.Utils
public static CommandSpec ResolveFromProjectTools(string commandName, IEnumerable<string> args) public static CommandSpec ResolveFromProjectTools(string commandName, IEnumerable<string> args)
{ {
var context = GetProjectContext(FrameworkConstants.CommonFrameworks.DnxCore50); var context = GetProjectContext(FrameworkConstants.CommonFrameworks.NetStandardApp15);
if (context == null) if (context == null)
{ {

View file

@ -16,10 +16,10 @@
} }
} }
}, },
"dnxcore50": { "netstandard1.3": {
"imports": "portable-net45+win8", "imports": "dnxcore50",
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811" "NETStandard.Library": "1.0.0-rc2-23901"
} }
} }
} }

View file

@ -4,7 +4,7 @@
"keyFile": "../../tools/Key.snk" "keyFile": "../../tools/Key.snk"
}, },
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811", "NETStandard.Library": "1.0.0-rc2-23901",
"System.CommandLine": "0.1.0-e160119-1", "System.CommandLine": "0.1.0-e160119-1",
"Microsoft.CodeAnalysis.CSharp": "1.2.0-beta1-20160202-02", "Microsoft.CodeAnalysis.CSharp": "1.2.0-beta1-20160202-02",
"Microsoft.DotNet.ProjectModel": "1.0.0-*", "Microsoft.DotNet.ProjectModel": "1.0.0-*",
@ -12,8 +12,11 @@
"Microsoft.DotNet.Files": "1.0.0-*" "Microsoft.DotNet.Files": "1.0.0-*"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { "netstandard1.3": {
"imports": "portable-net45+win8" "imports": [
"dnxcore50",
"portable-net45+win8"
]
} }
}, },
"scripts": {} "scripts": {}

View file

@ -5,15 +5,15 @@
}, },
"description": "Abstraction to interact with the file system and file paths.", "description": "Abstraction to interact with the file system and file paths.",
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811", "NETStandard.Library": "1.0.0-rc2-23901",
"System.Linq.Expressions": "4.0.11-rc2-23811", "System.Linq.Expressions": "4.0.11-rc2-23901",
"Microsoft.Extensions.FileSystemGlobbing": "1.0.0-rc2-15996", "Microsoft.Extensions.FileSystemGlobbing": "1.0.0-rc2-15996",
"Microsoft.DotNet.Cli.Utils": "1.0.0-*", "Microsoft.DotNet.Cli.Utils": "1.0.0-*",
"Microsoft.DotNet.ProjectModel": "1.0.0-*" "Microsoft.DotNet.ProjectModel": "1.0.0-*"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { "netstandard1.3": {
"imports": "portable-net45+win8" "imports": "dnxcore50"
} }
}, },
"scripts": {} "scripts": {}

View file

@ -14,11 +14,12 @@
}, },
"frameworks": { "frameworks": {
"net451": { }, "net451": { },
"dotnet5.4": { "netstandard1.3": {
"imports": "dnxcore50",
"dependencies": { "dependencies": {
"System.Runtime": "4.0.21-rc2-23811" "NETStandard.Library": "1.0.0-rc2-23901"
} }
}, }
}, },
"scripts": { "scripts": {
} }

View file

@ -4,13 +4,13 @@
"keyFile": "../../tools/Key.snk" "keyFile": "../../tools/Key.snk"
}, },
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811", "NETStandard.Library": "1.0.0-rc2-23901",
"Microsoft.DotNet.ProjectModel": "1.0.0-*", "Microsoft.DotNet.ProjectModel": "1.0.0-*",
"System.Runtime.Loader": "4.0.0-rc2-23811" "System.Runtime.Loader": "4.0.0-rc2-23901"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { "netstandard1.3": {
"imports": "portable-net45+win8" "imports": "dnxcore50"
} }
} }
} }

View file

@ -4,14 +4,17 @@
"keyFile": "../../tools/Key.snk" "keyFile": "../../tools/Key.snk"
}, },
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811", "NETStandard.Library": "1.0.0-rc2-23901",
"Microsoft.DotNet.ProjectModel": "1.0.0-*", "Microsoft.DotNet.ProjectModel": "1.0.0-*",
"Microsoft.DotNet.Compiler.Common": "1.0.0-*", "Microsoft.DotNet.Compiler.Common": "1.0.0-*",
"Microsoft.CodeAnalysis.CSharp.Workspaces": "1.2.0-beta1-20160202-02" "Microsoft.CodeAnalysis.CSharp.Workspaces": "1.2.0-beta1-20160202-02"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { "netstandard1.3": {
"imports": "portable-net45+win8" "imports": [
"dnxcore50",
"portable-net45+win8"
]
} }
} }
} }

View file

@ -5,7 +5,7 @@
}, },
"description": "Types to model a .NET Project", "description": "Types to model a .NET Project",
"dependencies": { "dependencies": {
"System.Reflection.Metadata": "1.2.0-rc2-23811", "System.Reflection.Metadata": "1.2.0-rc2-23901",
"NuGet.Packaging": "3.4.0-beta-632", "NuGet.Packaging": "3.4.0-beta-632",
"Microsoft.Extensions.FileSystemGlobbing": "1.0.0-rc2-15996", "Microsoft.Extensions.FileSystemGlobbing": "1.0.0-rc2-15996",
"Microsoft.Extensions.JsonParser.Sources": { "Microsoft.Extensions.JsonParser.Sources": {
@ -32,15 +32,15 @@
} }
} }
}, },
"dnxcore50": { "netstandard1.3": {
"imports": "portable-net45+win8", "imports": "dnxcore50",
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811", "NETStandard.Library": "1.0.0-rc2-23901",
"System.Dynamic.Runtime": "4.0.11-rc2-23811", "System.Dynamic.Runtime": "4.0.11-rc2-23901",
"System.Runtime.Loader": "4.0.0-rc2-23811", "System.Runtime.Loader": "4.0.0-rc2-23901",
"System.Security.Cryptography.Algorithms": "4.0.0-rc2-23811", "System.Security.Cryptography.Algorithms": "4.0.0-rc2-23901",
"Microsoft.CSharp": "4.0.1-rc2-23811", "Microsoft.CSharp": "4.0.1-rc2-23901",
"System.Xml.XDocument": "4.0.11-rc2-23811" "System.Xml.XDocument": "4.0.11-rc2-23901"
} }
} }
} }

View file

@ -11,11 +11,11 @@
"licenseUrl": "", "licenseUrl": "",
"dependencies": { "dependencies": {
"Microsoft.DotNet.Cli.Utils": "1.0.0-*", "Microsoft.DotNet.Cli.Utils": "1.0.0-*",
"NETStandard.Library": "1.0.0-rc2-23811" "NETStandard.Library": "1.0.0-rc2-23901"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { "netstandard1.3": {
"imports": "portable-net45+win8" "imports": "dnxcore50"
} }
} }
} }

View file

@ -20,25 +20,14 @@
}, },
"frameworks": { "frameworks": {
"net451": {}, "net451": {},
"dotnet5.4": { "netstandard1.3": {
"imports": "portable-net451+win8", "imports": "dnxcore50",
"dependencies": { "dependencies": {
"System.IO.FileSystem": "4.0.1-rc2-23811", "System.IO.FileSystem": "4.0.1-rc2-23901",
"System.Linq": "4.0.1-rc2-23811", "System.Linq": "4.0.1-rc2-23901",
"System.Runtime": "4.0.21-rc2-23811", "System.Runtime": "4.0.21-rc2-23901",
"System.Reflection": "4.1.0-rc2-23811", "System.Reflection": "4.1.0-rc2-23901",
"System.Dynamic.Runtime": "4.0.11-rc2-23811" "System.Dynamic.Runtime": "4.0.11-rc2-23901"
}
},
"dnxcore50": {
"imports": "portable-net45+win8",
"dependencies": {
"Microsoft.NETCore.Platforms": "1.0.1-rc2-23811",
"System.IO.FileSystem": "4.0.1-rc2-23811",
"System.Linq": "4.0.1-rc2-23811",
"System.Runtime": "4.0.21-rc2-23811",
"System.Reflection": "4.1.0-rc2-23811",
"System.Dynamic.Runtime": "4.0.11-rc2-23811"
} }
} }
}, },

View file

@ -16,12 +16,12 @@
}, },
"frameworks": { "frameworks": {
"net451": {}, "net451": {},
"dnxcore50": { "netstandard1.3": {
"imports": "portable-net45+win8", "imports": "dnxcore50",
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811", "NETStandard.Library": "1.0.0-rc2-23901",
"System.Resources.ResourceManager": "4.0.1-rc2-23811", "System.Resources.ResourceManager": "4.0.1-rc2-23901",
"System.Runtime.Serialization.Primitives": "4.1.0-rc2-23811" "System.Runtime.Serialization.Primitives": "4.1.0-rc2-23901"
} }
} }
}, },

View file

@ -123,7 +123,7 @@ namespace Microsoft.DotNet.Cli
return builtIn(appArgs.ToArray()); return builtIn(appArgs.ToArray());
} }
return Command.Create("dotnet-" + command, appArgs, FrameworkConstants.CommonFrameworks.DnxCore50) return Command.Create("dotnet-" + command, appArgs, FrameworkConstants.CommonFrameworks.NetStandardApp15)
.ForwardStdErr() .ForwardStdErr()
.ForwardStdOut() .ForwardStdOut()
.Execute() .Execute()

View file

@ -4,10 +4,12 @@
"emitEntryPoint": true "emitEntryPoint": true
}, },
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811", "NETStandard.Library": "1.0.0-rc2-23901",
"Microsoft.DotNet.AppDep":"1.0.6-prerelease-00003" "Microsoft.DotNet.AppDep":"1.0.6-prerelease-00003"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { } "netstandardapp1.5": {
"imports": "dnxcore50"
}
} }
} }

View file

@ -5,10 +5,12 @@
}, },
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811" "NETStandard.Library": "1.0.0-rc2-23901"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { } "netstandardapp1.5": {
"imports": "dnxcore50"
}
} }
} }

View file

@ -11,10 +11,12 @@
"dependencies": { "dependencies": {
"Microsoft.FSharp.Core.netcore": "1.0.0-alpha-151221", "Microsoft.FSharp.Core.netcore": "1.0.0-alpha-151221",
"NETStandard.Library": "1.0.0-rc2-23811" "NETStandard.Library": "1.0.0-rc2-23901"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { } "netstandardapp1.5": {
"imports": "dnxcore50"
}
} }
} }

View file

@ -75,7 +75,7 @@ namespace Microsoft.DotNet.Tools.Publish
} }
/// <summary> /// <summary>
/// Publish the project for given 'framework (ex - dnxcore50)' and 'runtimeID (ex - win7-x64)' /// Publish the project for given 'framework (ex - netstandardapp1.5)' and 'runtimeID (ex - win7-x64)'
/// </summary> /// </summary>
/// <param name="context">project that is to be published</param> /// <param name="context">project that is to be published</param>
/// <param name="baseOutputPath">Location of published files</param> /// <param name="baseOutputPath">Location of published files</param>

View file

@ -150,7 +150,7 @@ namespace Microsoft.DotNet.Tools.Restore
private static void CreateDepsInPackageCache(LibraryRange toolLibrary, string projectPath) private static void CreateDepsInPackageCache(LibraryRange toolLibrary, string projectPath)
{ {
var context = ProjectContext.Create(projectPath, var context = ProjectContext.Create(projectPath,
FrameworkConstants.CommonFrameworks.DnxCore50, new[] { DefaultRid }); FrameworkConstants.CommonFrameworks.NetStandardApp15, new[] { DefaultRid });
var toolDescription = context.LibraryManager.GetLibraries() var toolDescription = context.LibraryManager.GetLibraries()
.Select(l => l as PackageDescription) .Select(l => l as PackageDescription)
@ -179,7 +179,7 @@ namespace Microsoft.DotNet.Tools.Restore
Console.WriteLine($"Restoring Tool '{tooldep.Name}' for '{projectPath}' in '{tempPath}'"); Console.WriteLine($"Restoring Tool '{tooldep.Name}' for '{projectPath}' in '{tempPath}'");
File.WriteAllText(projectPath, GenerateProjectJsonContents(new[] {"dnxcore50"}, tooldep)); File.WriteAllText(projectPath, GenerateProjectJsonContents(new[] {"netstandardapp1.5"}, tooldep));
return NuGet3.Restore(new [] { $"{projectPath}", "--runtime", $"{DefaultRid}"}.Concat(args), quiet) == 0; return NuGet3.Restore(new [] { $"{projectPath}", "--runtime", $"{DefaultRid}"}.Concat(args), quiet) == 0;
} }
@ -193,7 +193,7 @@ namespace Microsoft.DotNet.Tools.Restore
sb.AppendLine(" \"frameworks\": {"); sb.AppendLine(" \"frameworks\": {");
foreach (var framework in frameworks) foreach (var framework in frameworks)
{ {
var importsStatement = "\"imports\": \"portable-net452+win81\""; var importsStatement = "\"imports\": [ \"dnxcore50\", \"portable-net452+win81\" ]";
sb.AppendLine($" \"{framework}\": {{ {importsStatement} }}"); sb.AppendLine($" \"{framework}\": {{ {importsStatement} }}");
} }

View file

@ -21,7 +21,7 @@
"Microsoft.Net.Compilers.netcore": "1.3.0-beta1-20160225-02", "Microsoft.Net.Compilers.netcore": "1.3.0-beta1-20160225-02",
"Microsoft.FSharp.Compiler.netcore": "1.0.0-alpha-151218", "Microsoft.FSharp.Compiler.netcore": "1.0.0-alpha-151218",
"Microsoft.Net.CSharp.Interactive.netcore": "1.3.0-beta1-20160225-02", "Microsoft.Net.CSharp.Interactive.netcore": "1.3.0-beta1-20160225-02",
"Microsoft.CodeAnalysis.CSharp": "1.3.0-beta1-20160225-02", "Microsoft.CodeAnalysis.CSharp": "1.3.0-beta1-20160225-02",
"Microsoft.DiaSymReader.Native": "1.3.3", "Microsoft.DiaSymReader.Native": "1.3.3",
"NuGet.CommandLine.XPlat": "3.4.0-beta-632", "NuGet.CommandLine.XPlat": "3.4.0-beta-632",
@ -48,23 +48,28 @@
"type": "build" "type": "build"
}, },
"Microsoft.Extensions.Testing.Abstractions": "1.0.0-*", "Microsoft.Extensions.Testing.Abstractions": "1.0.0-*",
"Microsoft.NETCore.ConsoleHost": "1.0.0-rc2-23811", "Microsoft.NETCore.ConsoleHost": "1.0.0-rc2-23901",
"Microsoft.NETCore.TestHost": "1.0.0-rc2-23811", "Microsoft.NETCore.TestHost": "1.0.0-rc2-23901",
"NETStandard.Library": "1.0.0-rc2-23811", "NETStandard.Library": "1.0.0-rc2-23901",
"System.Reflection.Metadata": "1.3.0-beta-23811", "System.Reflection.Metadata": "1.3.0-beta-23901",
"System.Diagnostics.TextWriterTraceListener": "4.0.0-rc2-23811", "System.Diagnostics.TextWriterTraceListener": "4.0.0-rc2-23901",
"System.Diagnostics.TraceSource": "4.0.0-rc2-23811", "System.Diagnostics.TraceSource": "4.0.0-rc2-23901",
"System.Linq.Expressions": "4.0.11-rc2-23811", "System.Linq.Expressions": "4.0.11-rc2-23901",
"System.Xml.XDocument": "4.0.11-rc2-23811", "System.Xml.XDocument": "4.0.11-rc2-23901",
"System.Resources.ReaderWriter": "4.0.0-rc2-23811", "System.Resources.ReaderWriter": "4.0.0-rc2-23901",
"System.Net.Sockets": "4.1.0-rc2-23811", "System.Net.Sockets": "4.1.0-rc2-23901",
"System.IO.Compression.ZipFile": "4.0.1-rc2-23811", "System.IO.Compression.ZipFile": "4.0.1-rc2-23901",
"System.Threading.ThreadPool": "4.0.10-rc2-23811", "System.Threading.ThreadPool": "4.0.10-rc2-23901",
"System.Runtime.Serialization.Primitives": "4.1.0-rc2-23811" "System.Runtime.Serialization.Primitives": "4.1.0-rc2-23901",
"System.Private.DataContractSerialization": "4.1.0-rc2-23901"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { "netstandardapp1.5": {
"imports": "portable-net45+win8" "imports": [
"dnxcore50",
"portable-net45+win8"
]
} }
}, },
"scripts": { "scripts": {

View file

@ -5,7 +5,8 @@
}, },
"dependencies": { "dependencies": {
"NETStandard.Library" : "1.0.0-rc2-23811", "NETStandard.Library": "1.0.0-rc2-23901",
"System.IO.Compression": "4.1.0-rc2-23901",
"Microsoft.DotNet.ProjectModel": { "target": "project" }, "Microsoft.DotNet.ProjectModel": { "target": "project" },
"Microsoft.DotNet.Cli.Utils": { "target": "project" }, "Microsoft.DotNet.Cli.Utils": { "target": "project" },
@ -16,12 +17,15 @@
}, },
"frameworks": { "frameworks": {
"dnxcore50": { "netstandardapp1.5": {
"imports": "portable-net45+win8" "imports": [
"dnxcore50",
"portable-net45+win8"
]
} }
}, },
"testRunner": "xunit", "testRunner": "xunit",
"scripts": { "precompile": "dotnet build ../ArgumentsReflector/project.json --framework dnxcore50 --output %compile:RuntimeOutputDir%" } "scripts": { "precompile": "dotnet build ../ArgumentsReflector/project.json --framework netstandardapp1.5 --output %compile:RuntimeOutputDir%" }
} }

View file

@ -5,12 +5,12 @@
}, },
"dependencies": { "dependencies": {
"NETStandard.Library" : "1.0.0-rc2-23811" "NETStandard.Library" : "1.0.0-rc2-23901"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { "netstandardapp1.5": {
"imports": "portable-net45+win8" "imports": "dnxcore50"
} }
}, },

View file

@ -5,7 +5,8 @@
}, },
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811", "NETStandard.Library": "1.0.0-rc2-23901",
"System.IO.Compression": "4.1.0-rc2-23901",
"Microsoft.DotNet.ProjectModel": { "target": "project" }, "Microsoft.DotNet.ProjectModel": { "target": "project" },
"Microsoft.DotNet.Cli.Utils": { "target": "project" }, "Microsoft.DotNet.Cli.Utils": { "target": "project" },
@ -17,8 +18,11 @@
}, },
"frameworks": { "frameworks": {
"dnxcore50": { "netstandardapp1.5": {
"imports": "portable-net45+win8" "imports": [
"dnxcore50",
"portable-net45+win8"
]
} }
}, },

View file

@ -139,7 +139,7 @@ namespace StreamForwarderTests
buildCommand.Execute(); buildCommand.Execute();
var buildOutputExe = "OutputStandardOutputAndError" + Constants.ExeSuffix; var buildOutputExe = "OutputStandardOutputAndError" + Constants.ExeSuffix;
var buildOutputPath = Path.Combine(binTestProjectPath, "bin/Debug/dnxcore50", buildOutputExe); var buildOutputPath = Path.Combine(binTestProjectPath, "bin/Debug/netstandardapp1.5", buildOutputExe);
return buildOutputPath; return buildOutputPath;
} }

View file

@ -5,7 +5,8 @@
}, },
"dependencies": { "dependencies": {
"NETStandard.Library" : "1.0.0-rc2-23811", "NETStandard.Library" : "1.0.0-rc2-23901",
"System.IO.Compression": "4.1.0-rc2-23901",
"Microsoft.DotNet.ProjectModel": { "target": "project" }, "Microsoft.DotNet.ProjectModel": { "target": "project" },
"Microsoft.DotNet.Cli.Utils": { "target": "project" }, "Microsoft.DotNet.Cli.Utils": { "target": "project" },
@ -17,8 +18,11 @@
}, },
"frameworks": { "frameworks": {
"dnxcore50": { "netstandardapp1.5": {
"imports": "portable-net45+win8" "imports": [
"dnxcore50",
"portable-net45+win8"
]
} }
}, },

View file

@ -2,7 +2,8 @@
"version": "1.0.0-*", "version": "1.0.0-*",
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811", "NETStandard.Library": "1.0.0-rc2-23901",
"System.IO.Compression": "4.1.0-rc2-23901",
"Microsoft.DotNet.Tools.Tests.Utilities": { "target": "project" }, "Microsoft.DotNet.Tools.Tests.Utilities": { "target": "project" },
"Microsoft.DotNet.ProjectModel": { "target": "project" }, "Microsoft.DotNet.ProjectModel": { "target": "project" },
@ -13,8 +14,11 @@
}, },
"frameworks": { "frameworks": {
"dnxcore50": { "netstandardapp1.5": {
"imports": "portable-net45+win8" "imports": [
"dnxcore50",
"portable-net45+win8"
]
} }
}, },

View file

@ -29,8 +29,8 @@ namespace Microsoft.DotNet.ProjectModel.Tests
target.CompileTimeAssemblies.Add("lib/dotnet/_._"); target.CompileTimeAssemblies.Add("lib/dotnet/_._");
target.NativeLibraries.Add("runtimes/any/native/Microsoft.CSharp.CurrentVersion.targets"); target.NativeLibraries.Add("runtimes/any/native/Microsoft.CSharp.CurrentVersion.targets");
var p1 = provider.GetDescription(NuGetFramework.Parse("dnxcore50"), package, target); var p1 = provider.GetDescription(NuGetFramework.Parse("netstandardapp1.5"), package, target);
var p2 = provider.GetDescription(NuGetFramework.Parse("dnxcore50"), package, target); var p2 = provider.GetDescription(NuGetFramework.Parse("netstandardapp1.5"), package, target);
Assert.True(p1.Compatible); Assert.True(p1.Compatible);
Assert.True(p2.Compatible); Assert.True(p2.Compatible);

View file

@ -1,15 +1,19 @@
{ {
"version": "1.0.0-*", "version": "1.0.0-*",
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811", "NETStandard.Library": "1.0.0-rc2-23901",
"System.IO.Compression": "4.1.0-rc2-23901",
"Microsoft.DotNet.ProjectModel": { "target": "project" }, "Microsoft.DotNet.ProjectModel": { "target": "project" },
"Microsoft.DotNet.Tools.Tests.Utilities": { "target": "project" }, "Microsoft.DotNet.Tools.Tests.Utilities": { "target": "project" },
"xunit": "2.1.0", "xunit": "2.1.0",
"dotnet-test-xunit": "1.0.0-dev-79755-47" "dotnet-test-xunit": "1.0.0-dev-79755-47"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { "netstandardapp1.5": {
"imports": "portable-net45+win8" "imports": [
"dnxcore50",
"portable-net45+win8"
]
} }
}, },
"content": [ "content": [

View file

@ -93,14 +93,14 @@ namespace Microsoft.DotNet.Tools.Test.Utilities
public AndConstraint<CommandResultAssertions> HaveSkippedProjectCompilation(string skippedProject) public AndConstraint<CommandResultAssertions> HaveSkippedProjectCompilation(string skippedProject)
{ {
_commandResult.StdOut.Should().Contain($"Project {skippedProject} (DNXCore,Version=v5.0) was previously compiled. Skipping compilation."); _commandResult.StdOut.Should().Contain($"Project {skippedProject} (.NETStandardApp,Version=v1.5) was previously compiled. Skipping compilation.");
return new AndConstraint<CommandResultAssertions>(this); return new AndConstraint<CommandResultAssertions>(this);
} }
public AndConstraint<CommandResultAssertions> HaveCompiledProject(string compiledProject) public AndConstraint<CommandResultAssertions> HaveCompiledProject(string compiledProject)
{ {
_commandResult.StdOut.Should().Contain($"Project {compiledProject} (DNXCore,Version=v5.0) will be compiled"); _commandResult.StdOut.Should().Contain($"Project {compiledProject} (.NETStandardApp,Version=v1.5) will be compiled");
return new AndConstraint<CommandResultAssertions>(this); return new AndConstraint<CommandResultAssertions>(this);
} }

View file

@ -17,7 +17,7 @@ namespace Microsoft.DotNet.Tools.Test.Utilities
/// </summary> /// </summary>
public abstract class TestBase : IDisposable public abstract class TestBase : IDisposable
{ {
protected const string DefaultFramework = "dnxcore50"; protected const string DefaultFramework = "netstandardapp1.5";
private TempRoot _temp; private TempRoot _temp;
private static TestAssetsManager s_testsAssetsMgr; private static TestAssetsManager s_testsAssetsMgr;
private static string s_repoRoot; private static string s_repoRoot;

View file

@ -5,8 +5,9 @@
"keyFile": "../../tools/Key.snk" "keyFile": "../../tools/Key.snk"
}, },
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811", "NETStandard.Library": "1.0.0-rc2-23901",
"System.Collections.Immutable": "1.2.0-rc2-23811", "System.Collections.Immutable": "1.2.0-rc2-23901",
"System.IO.Compression": "4.1.0-rc2-23901",
"FluentAssertions": "4.0.0", "FluentAssertions": "4.0.0",
"xunit": "2.1.0", "xunit": "2.1.0",
"dotnet-test-xunit": "1.0.0-dev-79755-47", "dotnet-test-xunit": "1.0.0-dev-79755-47",
@ -21,9 +22,11 @@
}, },
"frameworks": { "frameworks": {
"dnxcore50": { "netstandardapp1.5": {
"imports": "portable-net45+win8" "imports": [
"dnxcore50",
"portable-net45+win8"
]
} }
} },
} }

View file

@ -5,7 +5,8 @@
"keyFile": "../../tools/Key.snk" "keyFile": "../../tools/Key.snk"
}, },
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811", "NETStandard.Library": "1.0.0-rc2-23901",
"System.IO.Compression": "4.1.0-rc2-23901",
"Microsoft.DotNet.Tools.Tests.Utilities": { "target": "project" }, "Microsoft.DotNet.Tools.Tests.Utilities": { "target": "project" },
"FluentAssertions": "4.0.0", "FluentAssertions": "4.0.0",
@ -15,8 +16,11 @@
}, },
"frameworks": { "frameworks": {
"dnxcore50": { "netstandardapp1.5": {
"imports": "portable-net45+win8" "imports": [
"dnxcore50",
"portable-net45+win8"
]
} }
}, },

View file

@ -25,7 +25,7 @@ namespace Microsoft.DotNet.Cli.Utils.ScriptExecutorTests
var sourceTestProjectPath = Path.Combine(s_testProjectRoot, "TestApp"); var sourceTestProjectPath = Path.Combine(s_testProjectRoot, "TestApp");
binTestProjectPath = _root.CopyDirectory(sourceTestProjectPath).Path; binTestProjectPath = _root.CopyDirectory(sourceTestProjectPath).Path;
project = ProjectContext.Create(binTestProjectPath, NuGetFramework.Parse("dnxcore50")).ProjectFile; project = ProjectContext.Create(binTestProjectPath, NuGetFramework.Parse("netstandardapp1.5")).ProjectFile;
} }
[Fact] [Fact]

View file

@ -2,7 +2,7 @@
"version": "1.0.0-*", "version": "1.0.0-*",
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811", "NETStandard.Library": "1.0.0-rc2-23901",
"Microsoft.DotNet.ProjectModel": { "target": "project" }, "Microsoft.DotNet.ProjectModel": { "target": "project" },
"Microsoft.DotNet.Cli.Utils": { "target": "project" }, "Microsoft.DotNet.Cli.Utils": { "target": "project" },
@ -13,8 +13,11 @@
}, },
"frameworks": { "frameworks": {
"dnxcore50": { "netstandardapp1.5": {
"imports": "portable-net45+win8" "imports": [
"dnxcore50",
"portable-net45+win8"
]
} }
}, },

View file

@ -134,7 +134,7 @@ namespace Microsoft.DotNet.Tools.Builder.Tests
// [InlineData("net20", false, true)] // [InlineData("net20", false, true)]
// [InlineData("net40", true, true)] // [InlineData("net40", true, true)]
// [InlineData("net461", true, true)] // [InlineData("net461", true, true)]
[InlineData("dnxcore50", true, false)] [InlineData("netstandardapp1.5", true, false)]
public void MultipleFrameworks_ShouldHaveValidTargetFrameworkAttribute(string frameworkName, bool shouldHaveTargetFrameworkAttribute, bool windowsOnly) public void MultipleFrameworks_ShouldHaveValidTargetFrameworkAttribute(string frameworkName, bool shouldHaveTargetFrameworkAttribute, bool windowsOnly)
{ {
var framework = NuGetFramework.Parse(frameworkName); var framework = NuGetFramework.Parse(frameworkName);

View file

@ -66,7 +66,7 @@ namespace Microsoft.DotNet.Tools.Builder.Tests
protected CommandResult BuildProject(string projectFile, bool noDependencies = false, bool noIncremental = false, bool expectBuildFailure = false) protected CommandResult BuildProject(string projectFile, bool noDependencies = false, bool noIncremental = false, bool expectBuildFailure = false)
{ {
var buildCommand = new BuildCommand(projectFile, output: GetOutputDir(), framework: "dnxcore50", noIncremental: noIncremental, noDependencies : noDependencies); var buildCommand = new BuildCommand(projectFile, output: GetOutputDir(), framework: "netstandardapp1.5", noIncremental: noIncremental, noDependencies : noDependencies);
var result = buildCommand.ExecuteWithCapturedOutput(); var result = buildCommand.ExecuteWithCapturedOutput();
if (!expectBuildFailure) if (!expectBuildFailure)
@ -120,7 +120,7 @@ namespace Microsoft.DotNet.Tools.Builder.Tests
protected string GetCompilationOutputPath() protected string GetCompilationOutputPath()
{ {
var executablePath = Path.Combine(GetBinRoot(), "Debug", "dnxcore50"); var executablePath = Path.Combine(GetBinRoot(), "Debug", "netstandardapp1.5");
return executablePath; return executablePath;
} }

View file

@ -1,8 +1,9 @@
{ {
"version": "1.0.0-*", "version": "1.0.0-*",
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811", "NETStandard.Library": "1.0.0-rc2-23901",
"System.IO.Compression": "4.1.0-rc2-23901",
"Microsoft.DotNet.Tools.Tests.Utilities": { "target": "project" }, "Microsoft.DotNet.Tools.Tests.Utilities": { "target": "project" },
"Microsoft.DotNet.Cli.Utils": { "Microsoft.DotNet.Cli.Utils": {
@ -14,8 +15,11 @@
}, },
"frameworks": { "frameworks": {
"dnxcore50": { "netstandardapp1.5": {
"imports": "portable-net45+win8" "imports": [
"dnxcore50",
"portable-net451+win8"
]
} }
}, },

View file

@ -2,7 +2,8 @@
"version": "1.0.0-*", "version": "1.0.0-*",
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811", "NETStandard.Library": "1.0.0-rc2-23901",
"System.IO.Compression": "4.1.0-rc2-23901",
"Microsoft.DotNet.Tools.Tests.Utilities": { "target": "project" }, "Microsoft.DotNet.Tools.Tests.Utilities": { "target": "project" },
"Microsoft.DotNet.Cli.Utils": { "Microsoft.DotNet.Cli.Utils": {
@ -14,8 +15,11 @@
}, },
"frameworks": { "frameworks": {
"dnxcore50": { "netstandardapp1.5": {
"imports": "portable-net451+win8" "imports": [
"dnxcore50",
"portable-net451+win8"
]
} }
}, },

View file

@ -36,7 +36,7 @@ namespace Microsoft.DotNet.Tools.Compiler.Tests
_contexts = new List<ProjectContext> _contexts = new List<ProjectContext>
{ {
ProjectContext.Create(_projectJson, NuGetFramework.Parse("dnxcore50")) ProjectContext.Create(_projectJson, NuGetFramework.Parse("netstandardapp1.5"))
}; };
_args = new CompilerCommandApp("dotnet compile", ".NET Compiler", "Compiler for the .NET Platform"); _args = new CompilerCommandApp("dotnet compile", ".NET Compiler", "Compiler for the .NET Platform");

View file

@ -28,14 +28,14 @@ namespace Microsoft.DotNet.Tools.Compiler.Tests
public void It_passes_a_FullTargetFramework_variable_to_the_pre_compile_scripts() public void It_passes_a_FullTargetFramework_variable_to_the_pre_compile_scripts()
{ {
_fixture.PreCompileScriptVariables.Should().ContainKey("compile:FullTargetFramework"); _fixture.PreCompileScriptVariables.Should().ContainKey("compile:FullTargetFramework");
_fixture.PreCompileScriptVariables["compile:FullTargetFramework"].Should().Be("dnxcore,Version=v5.0"); _fixture.PreCompileScriptVariables["compile:FullTargetFramework"].Should().Be(".NETStandardApp,Version=v1.5");
} }
[Fact] [Fact]
public void It_passes_a_TargetFramework_variable_to_the_pre_compile_scripts() public void It_passes_a_TargetFramework_variable_to_the_pre_compile_scripts()
{ {
_fixture.PreCompileScriptVariables.Should().ContainKey("compile:TargetFramework"); _fixture.PreCompileScriptVariables.Should().ContainKey("compile:TargetFramework");
_fixture.PreCompileScriptVariables["compile:TargetFramework"].Should().Be("dnxcore50"); _fixture.PreCompileScriptVariables["compile:TargetFramework"].Should().Be("netstandardapp1.5");
} }
[Fact] [Fact]
@ -80,14 +80,14 @@ namespace Microsoft.DotNet.Tools.Compiler.Tests
public void It_passes_a_FullTargetFramework_variable_to_the_post_compile_scripts() public void It_passes_a_FullTargetFramework_variable_to_the_post_compile_scripts()
{ {
_fixture.PostCompileScriptVariables.Should().ContainKey("compile:FullTargetFramework"); _fixture.PostCompileScriptVariables.Should().ContainKey("compile:FullTargetFramework");
_fixture.PostCompileScriptVariables["compile:FullTargetFramework"].Should().Be("dnxcore,Version=v5.0"); _fixture.PostCompileScriptVariables["compile:FullTargetFramework"].Should().Be(".NETStandardApp,Version=v1.5");
} }
[Fact] [Fact]
public void It_passes_a_TargetFramework_variable_to_the_post_compile_scripts() public void It_passes_a_TargetFramework_variable_to_the_post_compile_scripts()
{ {
_fixture.PostCompileScriptVariables.Should().ContainKey("compile:TargetFramework"); _fixture.PostCompileScriptVariables.Should().ContainKey("compile:TargetFramework");
_fixture.PostCompileScriptVariables["compile:TargetFramework"].Should().Be("dnxcore50"); _fixture.PostCompileScriptVariables["compile:TargetFramework"].Should().Be("netstandardapp1.5");
} }
[Fact] [Fact]
@ -151,7 +151,7 @@ namespace Microsoft.DotNet.Tools.Compiler.Tests
TestAssetPath, TestAssetPath,
"bin", "bin",
ConfigValue, ConfigValue,
"dnxcore50"); "netstandardapp1.5");
public string RuntimeOutputDir { get; private set; } public string RuntimeOutputDir { get; private set; }
@ -161,7 +161,7 @@ namespace Microsoft.DotNet.Tools.Compiler.Tests
TestAssetPath, TestAssetPath,
"obj", "obj",
ConfigValue, ConfigValue,
"dnxcore50", "netstandardapp1.5",
"dotnet-compile.rsp"); "dotnet-compile.rsp");
public Dictionary<string, string> PreCompileScriptVariables { get; private set; } public Dictionary<string, string> PreCompileScriptVariables { get; private set; }
@ -218,7 +218,7 @@ namespace Microsoft.DotNet.Tools.Compiler.Tests
rids.Add(rid); rids.Add(rid);
} }
var context = ProjectContext.Create(projectJson, new NuGetFramework("dnxcore", new Version(5, 0)), rids); var context = ProjectContext.Create(projectJson, new NuGetFramework(".NETStandardApp", new Version(1, 5)), rids);
managedCompiler.Compile(context, _args); managedCompiler.Compile(context, _args);
RuntimeOutputDir = Path.Combine(OutputPath, rid); RuntimeOutputDir = Path.Combine(OutputPath, rid);

View file

@ -2,7 +2,8 @@
"version": "1.0.0-*", "version": "1.0.0-*",
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811", "NETStandard.Library": "1.0.0-rc2-23901",
"System.IO.Compression": "4.1.0-rc2-23901",
"Microsoft.DotNet.Cli.Utils": { "Microsoft.DotNet.Cli.Utils": {
"target": "project" "target": "project"
@ -18,8 +19,11 @@
}, },
"frameworks": { "frameworks": {
"dnxcore50": { "netstandardapp1.5": {
"imports": "portable-net451+win8" "imports": [
"dnxcore50",
"portable-net451+win8"
]
} }
}, },

View file

@ -92,7 +92,7 @@ namespace Microsoft.DotNet.Tools.Compiler.Tests
File.Exists(outputPackage).Should().BeTrue(outputPackage); File.Exists(outputPackage).Should().BeTrue(outputPackage);
var zip = ZipFile.Open(outputPackage, ZipArchiveMode.Read); var zip = ZipFile.Open(outputPackage, ZipArchiveMode.Read);
zip.Entries.Should().Contain(e => e.FullName == "lib/dnxcore50/TestLibraryWithConfiguration.dll"); zip.Entries.Should().Contain(e => e.FullName == "lib/netstandardapp1.5/TestLibraryWithConfiguration.dll");
} }
private void CopyProjectToTempDir(string projectDir, TempDirectory tempDir) private void CopyProjectToTempDir(string projectDir, TempDirectory tempDir)

View file

@ -2,8 +2,8 @@
"version": "1.0.0-*", "version": "1.0.0-*",
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811", "NETStandard.Library": "1.0.0-rc2-23901",
"System.IO.Compression.ZipFile": "4.0.1-rc2-23811", "System.IO.Compression.ZipFile": "4.0.1-rc2-23901",
"Microsoft.DotNet.Tools.Tests.Utilities": { "target": "project" }, "Microsoft.DotNet.Tools.Tests.Utilities": { "target": "project" },
"Microsoft.DotNet.Cli.Utils": { "Microsoft.DotNet.Cli.Utils": {
@ -15,8 +15,11 @@
}, },
"frameworks": { "frameworks": {
"dnxcore50": { "netstandardapp1.5": {
"imports": "portable-net451+win8" "imports": [
"dnxcore50",
"portable-net451+win8"
]
} }
}, },

View file

@ -66,7 +66,7 @@ namespace Microsoft.DotNet.ProjectModel.Server.Tests
.AssertJArrayCount(2) .AssertJArrayCount(2)
.Select(f => f["ShortName"].Value<string>()); .Select(f => f["ShortName"].Value<string>());
Assert.Contains("dnxcore50", frameworkShortNames); Assert.Contains("netstandardapp1.5", frameworkShortNames);
Assert.Contains("dnx451", frameworkShortNames); Assert.Contains("dnx451", frameworkShortNames);
} }
} }

View file

@ -4,11 +4,16 @@
"Microsoft.DotNet.ProjectModel": { "target": "project" }, "Microsoft.DotNet.ProjectModel": { "target": "project" },
"Microsoft.DotNet.Tools.Tests.Utilities": { "target": "project" }, "Microsoft.DotNet.Tools.Tests.Utilities": { "target": "project" },
"xunit": "2.1.0", "xunit": "2.1.0",
"dotnet-test-xunit": "1.0.0-dev-79755-47" "dotnet-test-xunit": "1.0.0-dev-79755-47",
"System.Net.NameResolution": "4.0.0-rc2-23901"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { "netstandardapp1.5": {
"imports": "portable-net45+win8" "imports": [
"dnxcore50",
"portable-net45+win8"
]
} }
}, },
"testRunner": "xunit" "testRunner": "xunit"

View file

@ -30,12 +30,12 @@ namespace Microsoft.DotNet.Tools.Publish.Tests
return new[] return new[]
{ {
new object[] { "1", "", "", "", "" }, new object[] { "1", "", "", "", "" },
new object[] { "2", "dnxcore50", "", "", "" }, new object[] { "2", "netstandardapp1.5", "", "", "" },
new object[] { "3", "", PlatformServices.Default.Runtime.GetLegacyRestoreRuntimeIdentifier(), "", "" }, new object[] { "3", "", PlatformServices.Default.Runtime.GetLegacyRestoreRuntimeIdentifier(), "", "" },
new object[] { "4", "", "", "Release", "" }, new object[] { "4", "", "", "Release", "" },
new object[] { "5", "", "", "", "some/dir"}, new object[] { "5", "", "", "", "some/dir"},
new object[] { "6", "", "", "", "some/dir/with spaces" }, new object[] { "6", "", "", "", "some/dir/with spaces" },
new object[] { "7", "dnxcore50", PlatformServices.Default.Runtime.GetLegacyRestoreRuntimeIdentifier(), "Debug", "some/dir" }, new object[] { "7", "netstandardapp1.5", PlatformServices.Default.Runtime.GetLegacyRestoreRuntimeIdentifier(), "Debug", "some/dir" },
}; };
} }
} }
@ -131,7 +131,7 @@ namespace Microsoft.DotNet.Tools.Publish.Tests
publishCommand.GetOutputDirectory().Should().HaveFile("Newtonsoft.Json.dll"); publishCommand.GetOutputDirectory().Should().HaveFile("Newtonsoft.Json.dll");
publishCommand.GetOutputDirectory().Delete(true); publishCommand.GetOutputDirectory().Delete(true);
publishCommand = new PublishCommand(lesserTestProject, "dnxcore50", PlatformServices.Default.Runtime.GetLegacyRestoreRuntimeIdentifier()); publishCommand = new PublishCommand(lesserTestProject, "netstandardapp1.5", PlatformServices.Default.Runtime.GetLegacyRestoreRuntimeIdentifier());
publishCommand.Execute().Should().Pass(); publishCommand.Execute().Should().Pass();
publishCommand.GetOutputDirectory().Should().HaveFile("TestLibraryLesser.dll"); publishCommand.GetOutputDirectory().Should().HaveFile("TestLibraryLesser.dll");

View file

@ -2,7 +2,8 @@
"version": "1.0.0-*", "version": "1.0.0-*",
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811", "NETStandard.Library": "1.0.0-rc2-23901",
"System.IO.Compression": "4.1.0-rc2-23901",
"Microsoft.DotNet.TestFramework": "1.0.0-*", "Microsoft.DotNet.TestFramework": "1.0.0-*",
"Microsoft.DotNet.Tools.Tests.Utilities": { "target": "project" }, "Microsoft.DotNet.Tools.Tests.Utilities": { "target": "project" },
@ -16,8 +17,11 @@
}, },
"frameworks": { "frameworks": {
"dnxcore50": { "netstandardapp1.5": {
"imports": "portable-net45+win8" "imports": [
"dnxcore50",
"portable-net45+win8"
]
} }
}, },

Some files were not shown because too many files have changed in this diff Show more