From 0bc7380bdb5491433015a3dc1dd17756d750900a Mon Sep 17 00:00:00 2001 From: Pavel Krymets Date: Thu, 7 Apr 2016 11:51:41 -0700 Subject: [PATCH] Add netcoreapp as default tfm to run --- .../RunTestsApps/TestAppMultiTarget/project.json | 7 +++++-- src/dotnet/commands/dotnet-run/RunCommand.cs | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/TestAssets/TestProjects/RunTestsApps/TestAppMultiTarget/project.json b/TestAssets/TestProjects/RunTestsApps/TestAppMultiTarget/project.json index 3819cf2cb..8649d5e6f 100644 --- a/TestAssets/TestProjects/RunTestsApps/TestAppMultiTarget/project.json +++ b/TestAssets/TestProjects/RunTestsApps/TestAppMultiTarget/project.json @@ -4,10 +4,13 @@ "emitEntryPoint": true }, "frameworks": { - "netstandardapp1.5": { + "netcoreapp1.0": { "imports": "dnxcore50", "dependencies": { - "NETStandard.Library": "1.5.0-rc2-23931" + "Microsoft.NETCore.App": { + "version":"1.0.0-rc2-23931", + "type": "platform" + } } }, "net451": {} diff --git a/src/dotnet/commands/dotnet-run/RunCommand.cs b/src/dotnet/commands/dotnet-run/RunCommand.cs index f8f051da5..2b5f9efd0 100644 --- a/src/dotnet/commands/dotnet-run/RunCommand.cs +++ b/src/dotnet/commands/dotnet-run/RunCommand.cs @@ -66,7 +66,7 @@ namespace Microsoft.DotNet.Tools.Run { var defaultFrameworks = new[] { - FrameworkConstants.FrameworkIdentifiers.DnxCore, + FrameworkConstants.FrameworkIdentifiers.NetCoreApp, FrameworkConstants.FrameworkIdentifiers.NetStandardApp, };