From cfd0874c962c0f09e404573e8f69c8dc173c24f1 Mon Sep 17 00:00:00 2001 From: Livar Cunha Date: Wed, 8 Mar 2017 20:03:46 -0800 Subject: [PATCH 1/5] Modified test assets and added the new rids back as badges and CI. Still need to update tests. --- .../AppWithProjTool2Fx/App.csproj | 3 ++- .../AppWithRedirectsAndConfig.csproj | 1 + .../AppWithRedirectsNoConfig.csproj | 1 + .../LibWithProjTool2Fx/Lib.csproj | 1 + .../AppDependingOnOtherAsTool.csproj | 1 + .../AppWithDepOnTool/AppWithDepOnTool.csproj | 1 + .../ToolWithRandomPackageName.csproj | 8 +++----- .../ToolWithOutputName/ToolWithOutputName.csproj | 9 ++++----- .../dotnet-dependency-tool-invoker.csproj | 6 +++--- .../dotnet-desktop-and-portable.csproj | 12 +++++++----- .../dotnet-portable/dotnet-portable.csproj | 6 ++++-- .../AppWithDepOnToolWithOutputName.csproj | 1 + .../AppWithDirectAndToolDep.csproj | 1 + .../AppWithDirectDepWithOutputName.csproj | 1 + .../MSBuildAppWithMultipleFrameworksAndTools.csproj | 1 + .../AppWithToolDependency.csproj | 1 + .../MSBuildAppWithMultipleFrameworksAndTools.csproj | 1 + .../MSBuildTestApp/MSBuildTestApp.csproj | 3 ++- .../TestAppWithProjDepTool.csproj | 1 + build/VersionBadge.props | 3 +++ .../CheckIfAllBuildsHavePublished.cs | 3 +++ netci.groovy | 2 +- run-build.ps1 | 4 ++-- run-build.sh | 4 ++-- src/redist/redist.csproj | 12 ++++++++++++ 25 files changed, 60 insertions(+), 27 deletions(-) diff --git a/TestAssets/DesktopTestProjects/AppWithProjTool2Fx/App.csproj b/TestAssets/DesktopTestProjects/AppWithProjTool2Fx/App.csproj index 3d0fbce93..c8b5d990f 100644 --- a/TestAssets/DesktopTestProjects/AppWithProjTool2Fx/App.csproj +++ b/TestAssets/DesktopTestProjects/AppWithProjTool2Fx/App.csproj @@ -5,8 +5,9 @@ netcoreapp2.0;net451 Exe $(PackageTargetFallback);portable-net45+win8;dnxcore50 - win7-x64;win7-x86;osx.10.10-x64;osx.10.11-x64;ubuntu.14.04-x64;ubuntu.16.04-x64;centos.7-x64;rhel.7.2-x64;debian.8-x64 + win7-x64;win7-x86;osx.10.10-x64;osx.10.11-x64;ubuntu.14.04-x64;ubuntu.16.04-x64;ubuntu.16.10-x64;centos.7-x64;rhel.7.2-x64;debian.8-x64;fedora.24-x64;opensuse.42.1-x64 $(CLI_SharedFrameworkVersion) + netcoreapp2.0 diff --git a/TestAssets/DesktopTestProjects/BindingRedirectSample/AppWithRedirectsAndConfig/AppWithRedirectsAndConfig.csproj b/TestAssets/DesktopTestProjects/BindingRedirectSample/AppWithRedirectsAndConfig/AppWithRedirectsAndConfig.csproj index 82a5ad25d..160921bae 100644 --- a/TestAssets/DesktopTestProjects/BindingRedirectSample/AppWithRedirectsAndConfig/AppWithRedirectsAndConfig.csproj +++ b/TestAssets/DesktopTestProjects/BindingRedirectSample/AppWithRedirectsAndConfig/AppWithRedirectsAndConfig.csproj @@ -4,6 +4,7 @@ AppWithRedirectsAndConfig Exe win7-x64;win7-x86 + netcoreapp2.0 diff --git a/TestAssets/DesktopTestProjects/BindingRedirectSample/AppWithRedirectsNoConfig/AppWithRedirectsNoConfig.csproj b/TestAssets/DesktopTestProjects/BindingRedirectSample/AppWithRedirectsNoConfig/AppWithRedirectsNoConfig.csproj index 94b99d56b..dd339afa3 100644 --- a/TestAssets/DesktopTestProjects/BindingRedirectSample/AppWithRedirectsNoConfig/AppWithRedirectsNoConfig.csproj +++ b/TestAssets/DesktopTestProjects/BindingRedirectSample/AppWithRedirectsNoConfig/AppWithRedirectsNoConfig.csproj @@ -4,6 +4,7 @@ AppWithRedirectsNoConfig Exe win7-x64;win7-x86 + netcoreapp2.0 diff --git a/TestAssets/DesktopTestProjects/LibWithProjTool2Fx/Lib.csproj b/TestAssets/DesktopTestProjects/LibWithProjTool2Fx/Lib.csproj index 78ddee6cb..b8d373889 100644 --- a/TestAssets/DesktopTestProjects/LibWithProjTool2Fx/Lib.csproj +++ b/TestAssets/DesktopTestProjects/LibWithProjTool2Fx/Lib.csproj @@ -3,6 +3,7 @@ netstandard1.6;net451 Library $(PackageTargetFallback);portable-net45+win8;dnxcore50;netcoreapp1.1 + netcoreapp2.0 diff --git a/TestAssets/NonRestoredTestProjects/AppThrowingException/AppDependingOnOtherAsTool/AppDependingOnOtherAsTool.csproj b/TestAssets/NonRestoredTestProjects/AppThrowingException/AppDependingOnOtherAsTool/AppDependingOnOtherAsTool.csproj index b6c5d14f1..7159443c2 100644 --- a/TestAssets/NonRestoredTestProjects/AppThrowingException/AppDependingOnOtherAsTool/AppDependingOnOtherAsTool.csproj +++ b/TestAssets/NonRestoredTestProjects/AppThrowingException/AppDependingOnOtherAsTool/AppDependingOnOtherAsTool.csproj @@ -5,6 +5,7 @@ Exe netcoreapp2.0 $(CLI_SharedFrameworkVersion) + netcoreapp2.0 diff --git a/TestAssets/NonRestoredTestProjects/ToolWithRandomPackageName/AppWithDepOnTool/AppWithDepOnTool.csproj b/TestAssets/NonRestoredTestProjects/ToolWithRandomPackageName/AppWithDepOnTool/AppWithDepOnTool.csproj index f8265b727..f62de8419 100644 --- a/TestAssets/NonRestoredTestProjects/ToolWithRandomPackageName/AppWithDepOnTool/AppWithDepOnTool.csproj +++ b/TestAssets/NonRestoredTestProjects/ToolWithRandomPackageName/AppWithDepOnTool/AppWithDepOnTool.csproj @@ -6,6 +6,7 @@ netcoreapp2.0 random-name $(CLI_SharedFrameworkVersion) + netcoreapp2.0 diff --git a/TestAssets/NonRestoredTestProjects/ToolWithRandomPackageName/ToolWithRandomPackageName/ToolWithRandomPackageName.csproj b/TestAssets/NonRestoredTestProjects/ToolWithRandomPackageName/ToolWithRandomPackageName/ToolWithRandomPackageName.csproj index 8c7d3963a..3cbeb2a34 100644 --- a/TestAssets/NonRestoredTestProjects/ToolWithRandomPackageName/ToolWithRandomPackageName/ToolWithRandomPackageName.csproj +++ b/TestAssets/NonRestoredTestProjects/ToolWithRandomPackageName/ToolWithRandomPackageName/ToolWithRandomPackageName.csproj @@ -1,11 +1,13 @@  + Exe - netcoreapp1.0 + netcoreapp2.0 random-name $(GeneratedPackageId) dotnet-randompackage + $(CLI_SharedFrameworkVersion) @@ -14,8 +16,4 @@ - - - - diff --git a/TestAssets/TestPackages/ToolWithOutputName/ToolWithOutputName.csproj b/TestAssets/TestPackages/ToolWithOutputName/ToolWithOutputName.csproj index 7ab96d6db..4844d4232 100644 --- a/TestAssets/TestPackages/ToolWithOutputName/ToolWithOutputName.csproj +++ b/TestAssets/TestPackages/ToolWithOutputName/ToolWithOutputName.csproj @@ -1,9 +1,12 @@  + + - netcoreapp1.0 + netcoreapp2.0 dotnet-tool-with-output-name ToolWithOutputName Exe + $(CLI_SharedFrameworkVersion) @@ -12,8 +15,4 @@ - - - - diff --git a/TestAssets/TestPackages/dotnet-dependency-tool-invoker/dotnet-dependency-tool-invoker.csproj b/TestAssets/TestPackages/dotnet-dependency-tool-invoker/dotnet-dependency-tool-invoker.csproj index 7222996bc..4e590ef5d 100644 --- a/TestAssets/TestPackages/dotnet-dependency-tool-invoker/dotnet-dependency-tool-invoker.csproj +++ b/TestAssets/TestPackages/dotnet-dependency-tool-invoker/dotnet-dependency-tool-invoker.csproj @@ -3,11 +3,12 @@ 1.0.0-rc - netcoreapp1.0 + netcoreapp2.0 dotnet-dependency-tool-invoker Exe - $(PackageTargetFallback);portable-net45+win8;dnxcore50 + $(PackageTargetFallback);portable-net45+win8;dnxcore50 + $(CLI_SharedFrameworkVersion) @@ -25,7 +26,6 @@ - diff --git a/TestAssets/TestPackages/dotnet-desktop-and-portable/dotnet-desktop-and-portable.csproj b/TestAssets/TestPackages/dotnet-desktop-and-portable/dotnet-desktop-and-portable.csproj index ab8932531..41585032e 100644 --- a/TestAssets/TestPackages/dotnet-desktop-and-portable/dotnet-desktop-and-portable.csproj +++ b/TestAssets/TestPackages/dotnet-desktop-and-portable/dotnet-desktop-and-portable.csproj @@ -1,21 +1,23 @@  + + 1.0.0-rc - netcoreapp1.0;net451 + netcoreapp2.0;net451 dotnet-desktop-and-portable Exe win7-x64;win7-x86 - + $(ProjectRuntimeConfigFilePath) - - - + + $(CLI_SharedFrameworkVersion) + diff --git a/TestAssets/TestPackages/dotnet-portable/dotnet-portable.csproj b/TestAssets/TestPackages/dotnet-portable/dotnet-portable.csproj index 31f549c06..6ec578ca4 100644 --- a/TestAssets/TestPackages/dotnet-portable/dotnet-portable.csproj +++ b/TestAssets/TestPackages/dotnet-portable/dotnet-portable.csproj @@ -1,10 +1,12 @@  + + - netcoreapp1.0 + netcoreapp2.0 dotnet-portable Exe - 1.0.4 + $(CLI_SharedFrameworkVersion) diff --git a/TestAssets/TestProjects/AppWithDepOnToolWithOutputName/AppWithDepOnToolWithOutputName.csproj b/TestAssets/TestProjects/AppWithDepOnToolWithOutputName/AppWithDepOnToolWithOutputName.csproj index ddaf88766..c1d0bb41a 100755 --- a/TestAssets/TestProjects/AppWithDepOnToolWithOutputName/AppWithDepOnToolWithOutputName.csproj +++ b/TestAssets/TestProjects/AppWithDepOnToolWithOutputName/AppWithDepOnToolWithOutputName.csproj @@ -5,6 +5,7 @@ netcoreapp2.0 Exe $(CLI_SharedFrameworkVersion) + netcoreapp2.0 diff --git a/TestAssets/TestProjects/AppWithDirectAndToolDep/AppWithDirectAndToolDep.csproj b/TestAssets/TestProjects/AppWithDirectAndToolDep/AppWithDirectAndToolDep.csproj index a37cf3c78..dd88a2bfc 100755 --- a/TestAssets/TestProjects/AppWithDirectAndToolDep/AppWithDirectAndToolDep.csproj +++ b/TestAssets/TestProjects/AppWithDirectAndToolDep/AppWithDirectAndToolDep.csproj @@ -2,6 +2,7 @@ netcoreapp2.0 Exe + netcoreapp2.0 diff --git a/TestAssets/TestProjects/AppWithDirectDepWithOutputName/AppWithDirectDepWithOutputName.csproj b/TestAssets/TestProjects/AppWithDirectDepWithOutputName/AppWithDirectDepWithOutputName.csproj index a74d7184d..9b8907373 100755 --- a/TestAssets/TestProjects/AppWithDirectDepWithOutputName/AppWithDirectDepWithOutputName.csproj +++ b/TestAssets/TestProjects/AppWithDirectDepWithOutputName/AppWithDirectDepWithOutputName.csproj @@ -5,6 +5,7 @@ netcoreapp2.0 Exe $(CLI_SharedFrameworkVersion) + netcoreapp2.0 diff --git a/TestAssets/TestProjects/AppWithMultipleFxAndTools/MSBuildAppWithMultipleFrameworksAndTools.csproj b/TestAssets/TestProjects/AppWithMultipleFxAndTools/MSBuildAppWithMultipleFrameworksAndTools.csproj index 33cb2b5a7..80d0ffd4b 100644 --- a/TestAssets/TestProjects/AppWithMultipleFxAndTools/MSBuildAppWithMultipleFrameworksAndTools.csproj +++ b/TestAssets/TestProjects/AppWithMultipleFxAndTools/MSBuildAppWithMultipleFrameworksAndTools.csproj @@ -4,6 +4,7 @@ Exe net451;netcoreapp2.0 + netcoreapp2.0 diff --git a/TestAssets/TestProjects/AppWithToolDependency/AppWithToolDependency.csproj b/TestAssets/TestProjects/AppWithToolDependency/AppWithToolDependency.csproj index a22545fdc..f3506fae4 100755 --- a/TestAssets/TestProjects/AppWithToolDependency/AppWithToolDependency.csproj +++ b/TestAssets/TestProjects/AppWithToolDependency/AppWithToolDependency.csproj @@ -5,6 +5,7 @@ netcoreapp2.0 Exe $(CLI_SharedFrameworkVersion) + netcoreapp2.0 diff --git a/TestAssets/TestProjects/MSBuildAppWithMultipleFrameworksAndTools/MSBuildAppWithMultipleFrameworksAndTools.csproj b/TestAssets/TestProjects/MSBuildAppWithMultipleFrameworksAndTools/MSBuildAppWithMultipleFrameworksAndTools.csproj index 766c1ae66..67092b919 100644 --- a/TestAssets/TestProjects/MSBuildAppWithMultipleFrameworksAndTools/MSBuildAppWithMultipleFrameworksAndTools.csproj +++ b/TestAssets/TestProjects/MSBuildAppWithMultipleFrameworksAndTools/MSBuildAppWithMultipleFrameworksAndTools.csproj @@ -4,6 +4,7 @@ Exe net451;netcoreapp2.0 + netcoreapp2.0 diff --git a/TestAssets/TestProjects/MSBuildTestApp/MSBuildTestApp.csproj b/TestAssets/TestProjects/MSBuildTestApp/MSBuildTestApp.csproj index ca4a8237d..67e9b56a0 100644 --- a/TestAssets/TestProjects/MSBuildTestApp/MSBuildTestApp.csproj +++ b/TestAssets/TestProjects/MSBuildTestApp/MSBuildTestApp.csproj @@ -4,8 +4,9 @@ Exe netcoreapp2.0 - win7-x64;win7-x86;osx.10.10-x64;osx.10.11-x64;ubuntu.14.04-x64;ubuntu.16.04-x64;centos.7-x64;rhel.7.2-x64;debian.8-x64 + win7-x64;win7-x86;osx.10.10-x64;osx.10.11-x64;ubuntu.14.04-x64;ubuntu.16.04-x64;ubuntu.16.10-x64;centos.7-x64;rhel.7.2-x64;debian.8-x64;fedora.24-x64;opensuse.42.1-x64 $(CLI_SharedFrameworkVersion) + netcoreapp2.0 diff --git a/TestAssets/TestProjects/TestAppWithProjDepTool/TestAppWithProjDepTool.csproj b/TestAssets/TestProjects/TestAppWithProjDepTool/TestAppWithProjDepTool.csproj index ba6ef78be..66c65a7ff 100644 --- a/TestAssets/TestProjects/TestAppWithProjDepTool/TestAppWithProjDepTool.csproj +++ b/TestAssets/TestProjects/TestAppWithProjDepTool/TestAppWithProjDepTool.csproj @@ -5,6 +5,7 @@ Exe netcoreapp2.0 $(CLI_SharedFrameworkVersion) + netcoreapp2.0 diff --git a/build/VersionBadge.props b/build/VersionBadge.props index cb2f3efde..42f210be0 100644 --- a/build/VersionBadge.props +++ b/build/VersionBadge.props @@ -2,6 +2,9 @@ $(OSName)_$(Architecture) ubuntu_16_04_x64 + ubuntu_16_10_x64 + fedora_24_x64 + opensuse_42_1_x64 $(BaseOutputDirectory)/$(VersionBadgeMoniker)_$(Configuration)_version_badge.svg diff --git a/build_projects/dotnet-cli-build/CheckIfAllBuildsHavePublished.cs b/build_projects/dotnet-cli-build/CheckIfAllBuildsHavePublished.cs index 8be9f8f4d..ddbe71ed2 100644 --- a/build_projects/dotnet-cli-build/CheckIfAllBuildsHavePublished.cs +++ b/build_projects/dotnet-cli-build/CheckIfAllBuildsHavePublished.cs @@ -53,11 +53,14 @@ namespace Microsoft.DotNet.Cli.Build { "win_x64", false }, { "ubuntu_x64", false }, { "ubuntu_16_04_x64", false }, + { "ubuntu_16_10_x64", false }, { "rhel_x64", false }, { "osx_x64", false }, { "debian_x64", false }, { "centos_x64", false }, { "linux_x64", false }, + { "fedora_24_x64", false }, + { "opensuse_42_1_x64", false } }; if (!badges.ContainsKey(VersionBadgeMoniker)) diff --git a/netci.groovy b/netci.groovy index b3b59263d..374eaa962 100644 --- a/netci.groovy +++ b/netci.groovy @@ -9,7 +9,7 @@ def project = GithubProject def branch = GithubBranchName def isPR = true -def platformList = ['Linux:x64:Release', 'Debian8.2:x64:Debug', 'Ubuntu:x64:Release', 'Ubuntu16.04:x64:Debug', 'OSX:x64:Release', 'Windows_NT:x64:Release', 'Windows_NT:x86:Debug', 'RHEL7.2:x64:Release', 'CentOS7.1:x64:Debug'] +def platformList = ['Linux:x64:Release', 'Debian8.2:x64:Debug', 'Ubuntu:x64:Release', 'Ubuntu16.04:x64:Debug', 'Ubuntu16.10:x64:Debug', 'OSX:x64:Release', 'Windows_NT:x64:Release', 'Windows_NT:x86:Debug', 'RHEL7.2:x64:Release', 'CentOS7.1:x64:Debug', 'Fedora24:x64:Release', 'OpenSUSE42.1:x64:Debug'] def static getBuildJobName(def configuration, def os, def architecture) { return configuration.toLowerCase() + '_' + os.toLowerCase() + '_' + architecture.toLowerCase() diff --git a/run-build.ps1 b/run-build.ps1 index ea77e8983..b939b605f 100644 --- a/run-build.ps1 +++ b/run-build.ps1 @@ -101,8 +101,8 @@ if ($LastExitCode -ne 0) # install the post-PJnistic stage0 $dotnetInstallPath = Join-Path $toolsLocalPath "dotnet-install.ps1" -Write-Host "$dotnetInstallPath -Channel ""master"" -InstallDir $env:DOTNET_INSTALL_DIR -Architecture ""$Architecture""" -Invoke-Expression "$dotnetInstallPath -Channel ""master"" -InstallDir $env:DOTNET_INSTALL_DIR -Architecture ""$Architecture""" +Write-Host "$dotnetInstallPath -Channel ""master"" -Version ""2.0.0-alpha-005390"" -InstallDir $env:DOTNET_INSTALL_DIR -Architecture ""$Architecture""" +Invoke-Expression "$dotnetInstallPath -Channel ""master"" -Version ""2.0.0-alpha-005390"" -InstallDir $env:DOTNET_INSTALL_DIR -Architecture ""$Architecture""" if ($LastExitCode -ne 0) { Write-Output "The .NET CLI installation failed with exit code $LastExitCode" diff --git a/run-build.sh b/run-build.sh index 9c5c2beb4..9c78a3827 100755 --- a/run-build.sh +++ b/run-build.sh @@ -168,8 +168,8 @@ if [ $? != 0 ]; then fi # now execute the script -echo "installing CLI: $dotnetInstallPath --channel \"master\" --install-dir $DOTNET_INSTALL_DIR --architecture \"$ARCHITECTURE\" $LINUX_PORTABLE_INSTALL_ARGS" -$dotnetInstallPath --channel "master" --install-dir $DOTNET_INSTALL_DIR --architecture "$ARCHITECTURE" $LINUX_PORTABLE_INSTALL_ARGS +echo "installing CLI: $dotnetInstallPath --channel \"master\" --version \"2.0.0-alpha-005165\" --install-dir $DOTNET_INSTALL_DIR --architecture \"$ARCHITECTURE\" $LINUX_PORTABLE_INSTALL_ARGS" +$dotnetInstallPath --channel "master" --version "2.0.0-alpha-005390" --install-dir $DOTNET_INSTALL_DIR --architecture "$ARCHITECTURE" $LINUX_PORTABLE_INSTALL_ARGS if [ $? != 0 ]; then echo "run-build: Error: Boot-strapping post-PJ stage0 with exit code $?." >&2 exit $? diff --git a/src/redist/redist.csproj b/src/redist/redist.csproj index 7c7ef6569..dde8ca364 100644 --- a/src/redist/redist.csproj +++ b/src/redist/redist.csproj @@ -150,6 +150,18 @@ AfterTargets="Publish"> + + + $(PublishDir)/vstest.console.runtimeconfig.json + + + + From bb178a5133202018ba1487b876629c604aca10ba Mon Sep 17 00:00:00 2001 From: Livar Cunha Date: Thu, 9 Mar 2017 21:17:10 -0800 Subject: [PATCH 2/5] Updated tests to the new appropriate TFM 1.1, since we need a shared runtime besides 2.0 in the new distros. Once we have vstest for 2.0 then we won't need it anymore. --- .../AppWithProjTool2Fx/App.csproj | 2 +- .../AppWithRedirectsAndConfig.csproj | 2 +- .../AppWithRedirectsNoConfig.csproj | 2 +- .../LibWithProjTool2Fx/Lib.csproj | 2 +- .../ProjectA/project.json | 4 ++-- .../App/AppThrowingException.csproj | 3 ++- .../AppWithNonExistingToolDependency.csproj | 5 +---- .../TestApp/project.json | 4 ++-- .../TestApp/project.json | 4 ++-- .../TestApp/project.json | 4 ++-- .../TestApp/TestAssets/TestAsset/project.json | 4 ++-- .../TestApp/project.json | 4 ++-- .../TestApp/project.json | 4 ++-- .../TestApp/project.json | 4 ++-- .../PJAppWithSlnVersion14/project.json | 4 ++-- .../PJAppWithSlnVersion15/project.json | 4 ++-- .../PJAppWithSlnVersionUnknown/project.json | 4 ++-- .../PJDeprecatedCompilation/project.json | 4 ++-- .../PJDeprecatedCompile/project/project.json | 4 ++-- .../project/project.json | 4 ++-- .../PJDeprecatedCompileExclude/project.json | 4 ++-- .../PJDeprecatedContent/project/project.json | 4 ++-- .../PJDeprecatedNamedResource/project.json | 4 ++-- .../PJDeprecatedPack/project.json | 4 ++-- .../PJDeprecatedResource/project/project.json | 4 ++-- .../project/project.json | 4 ++-- .../PJDeprecatedResourceExclude/project.json | 4 ++-- .../PJHalfMigrated/ProjectB/project.json | 4 ++-- .../TestApp/project.json | 4 ++-- .../project.json | 2 +- .../project.json | 4 ++-- .../dotnet-dependency-context-test.csproj | 7 ++++--- .../dotnet-dependency-tool-invoker.csproj | 6 ++++-- .../v1/dotnet-hello/dotnet-hello.csproj | 12 ++++-------- .../v2/dotnet-hello/dotnet-hello.csproj | 13 ++++--------- .../dotnet-prefercliruntime.csproj | 10 +++------- .../TestProjects/AppWith2Tfm0Rid/project.json | 4 ++-- .../AppWithAppDependency/TestApp1/project.json | 4 ++-- .../AppWithAppDependency/TestApp2/project.json | 4 ++-- .../AppWithAssemblyInfo/project.json | 4 ++-- .../AppWithDirectDepWithOutputName.csproj | 2 +- ...BuildAppWithMultipleFrameworksAndTools.csproj | 2 +- .../AppWithOutputAssemblyName/project.json | 4 ++-- .../TestAssets/TestAsset/project.json | 4 ++-- .../test/App.Tests/project.json | 4 ++-- .../DependencyContextFromTool.csproj | 8 +++----- .../FSharpTestProjects/TestApp/project.json | 4 ++-- ...BuildAppWithMultipleFrameworksAndTools.csproj | 2 +- .../PJAppWithMultipleFrameworks/project.json | 4 ++-- .../TestProjects/PJTestAppSimple/project.json | 4 ++-- .../ProjectJsonConsoleTemplate/project.json | 4 ++-- .../ProjectJsonWebTemplate/project.json | 4 ++-- .../src with spaces/ProjectJ/project.json | 4 ++-- .../src/ProjectH/project.json | 4 ++-- .../TestAppDependencyGraph/ProjectA/project.json | 4 ++-- .../TestAppDependencyGraph/ProjectF/project.json | 4 ++-- .../src with spaces/ProjectJ/project.json | 4 ++-- .../src/ProjectH/project.json | 4 ++-- .../TestAppWithContents/project.json | 4 ++-- .../TestAppWithEmbeddedResources/project.json | 4 ++-- .../TestAppWithExplicitInclude/project.json | 4 ++-- .../TestAppWithExplicitIncludeGlob/project.json | 4 ++-- .../TestAppWithLibrary/TestApp/project.json | 4 ++-- .../TestApp/project.json | 4 ++-- .../TestAppWithMigrateableScripts/project.json | 4 ++-- .../TestAppWithProjDepTool.csproj | 2 +- .../TestAppWithRuntimeOptions/project.json | 4 ++-- .../TestProjects/TestAppWithSigning/project.json | 4 ++-- .../ProjectA/project.json | 4 ++-- .../project.json | 4 ++-- build/BundledRuntimes.props | 8 ++++---- run-build.ps1 | 4 ++-- run-build.sh | 4 ++-- src/redist/redist.csproj | 2 +- .../GivenAProjectDependenciesCommandFactory.cs | 2 +- .../GivenAProjectToolsCommandResolver.cs | 2 +- ...GivenThatIWantToMigrateProjectDependencies.cs | 14 +++++++------- .../GivenThatIWantToMigrateDeprecatedProjects.cs | 16 ++++++++-------- .../GivenThatIWantANewAppWithSpecifiedType.cs | 10 +++++----- test/dotnet.Tests/PackagedCommandTests.cs | 2 +- 80 files changed, 172 insertions(+), 186 deletions(-) diff --git a/TestAssets/DesktopTestProjects/AppWithProjTool2Fx/App.csproj b/TestAssets/DesktopTestProjects/AppWithProjTool2Fx/App.csproj index c8b5d990f..ba40187cd 100644 --- a/TestAssets/DesktopTestProjects/AppWithProjTool2Fx/App.csproj +++ b/TestAssets/DesktopTestProjects/AppWithProjTool2Fx/App.csproj @@ -7,7 +7,7 @@ $(PackageTargetFallback);portable-net45+win8;dnxcore50 win7-x64;win7-x86;osx.10.10-x64;osx.10.11-x64;ubuntu.14.04-x64;ubuntu.16.04-x64;ubuntu.16.10-x64;centos.7-x64;rhel.7.2-x64;debian.8-x64;fedora.24-x64;opensuse.42.1-x64 $(CLI_SharedFrameworkVersion) - netcoreapp2.0 + netcoreapp1.1 diff --git a/TestAssets/DesktopTestProjects/BindingRedirectSample/AppWithRedirectsAndConfig/AppWithRedirectsAndConfig.csproj b/TestAssets/DesktopTestProjects/BindingRedirectSample/AppWithRedirectsAndConfig/AppWithRedirectsAndConfig.csproj index 160921bae..9ab6d1e5a 100644 --- a/TestAssets/DesktopTestProjects/BindingRedirectSample/AppWithRedirectsAndConfig/AppWithRedirectsAndConfig.csproj +++ b/TestAssets/DesktopTestProjects/BindingRedirectSample/AppWithRedirectsAndConfig/AppWithRedirectsAndConfig.csproj @@ -4,7 +4,7 @@ AppWithRedirectsAndConfig Exe win7-x64;win7-x86 - netcoreapp2.0 + netcoreapp1.1 diff --git a/TestAssets/DesktopTestProjects/BindingRedirectSample/AppWithRedirectsNoConfig/AppWithRedirectsNoConfig.csproj b/TestAssets/DesktopTestProjects/BindingRedirectSample/AppWithRedirectsNoConfig/AppWithRedirectsNoConfig.csproj index dd339afa3..aa1b27d15 100644 --- a/TestAssets/DesktopTestProjects/BindingRedirectSample/AppWithRedirectsNoConfig/AppWithRedirectsNoConfig.csproj +++ b/TestAssets/DesktopTestProjects/BindingRedirectSample/AppWithRedirectsNoConfig/AppWithRedirectsNoConfig.csproj @@ -4,7 +4,7 @@ AppWithRedirectsNoConfig Exe win7-x64;win7-x86 - netcoreapp2.0 + netcoreapp1.1 diff --git a/TestAssets/DesktopTestProjects/LibWithProjTool2Fx/Lib.csproj b/TestAssets/DesktopTestProjects/LibWithProjTool2Fx/Lib.csproj index b8d373889..aa1f26066 100644 --- a/TestAssets/DesktopTestProjects/LibWithProjTool2Fx/Lib.csproj +++ b/TestAssets/DesktopTestProjects/LibWithProjTool2Fx/Lib.csproj @@ -3,7 +3,7 @@ netstandard1.6;net451 Library $(PackageTargetFallback);portable-net45+win8;dnxcore50;netcoreapp1.1 - netcoreapp2.0 + netcoreapp1.1 diff --git a/TestAssets/DesktopTestProjects/TestAppWithFrameworkAssemblies/ProjectA/project.json b/TestAssets/DesktopTestProjects/TestAppWithFrameworkAssemblies/ProjectA/project.json index 1486a9d85..1fb29b170 100644 --- a/TestAssets/DesktopTestProjects/TestAppWithFrameworkAssemblies/ProjectA/project.json +++ b/TestAssets/DesktopTestProjects/TestAppWithFrameworkAssemblies/ProjectA/project.json @@ -11,9 +11,9 @@ } }, "frameworks": { - "netcoreapp1.0": { + "netcoreapp1.1": { "dependencies": { - "Microsoft.NETCore.App": "1.0.1" + "Microsoft.NETCore.App": "1.1.0" } }, "net451": {} diff --git a/TestAssets/NonRestoredTestProjects/AppThrowingException/App/AppThrowingException.csproj b/TestAssets/NonRestoredTestProjects/AppThrowingException/App/AppThrowingException.csproj index 94b94db79..d705ebd65 100644 --- a/TestAssets/NonRestoredTestProjects/AppThrowingException/App/AppThrowingException.csproj +++ b/TestAssets/NonRestoredTestProjects/AppThrowingException/App/AppThrowingException.csproj @@ -1,11 +1,12 @@  + Exe netcoreapp1.0 dotnet-throwingtool $(AssemblyName) - 1.0.4 + $(CLI_SharedFrameworkVersion) diff --git a/TestAssets/NonRestoredTestProjects/AppWithNonExistingToolDependency/AppWithNonExistingToolDependency.csproj b/TestAssets/NonRestoredTestProjects/AppWithNonExistingToolDependency/AppWithNonExistingToolDependency.csproj index 4029e9cbe..11553b268 100644 --- a/TestAssets/NonRestoredTestProjects/AppWithNonExistingToolDependency/AppWithNonExistingToolDependency.csproj +++ b/TestAssets/NonRestoredTestProjects/AppWithNonExistingToolDependency/AppWithNonExistingToolDependency.csproj @@ -4,12 +4,9 @@ Exe netcoreapp2.0 + $(CLI_SharedFrameworkVersion) - - - - diff --git a/TestAssets/NonRestoredTestProjects/AppWithProjectDependencyAsTarget/TestApp/project.json b/TestAssets/NonRestoredTestProjects/AppWithProjectDependencyAsTarget/TestApp/project.json index b748d3b9f..98e6c1f8f 100644 --- a/TestAssets/NonRestoredTestProjects/AppWithProjectDependencyAsTarget/TestApp/project.json +++ b/TestAssets/NonRestoredTestProjects/AppWithProjectDependencyAsTarget/TestApp/project.json @@ -4,14 +4,14 @@ "emitEntryPoint": true }, "dependencies": { - "Microsoft.NETCore.App": "1.0.1", + "Microsoft.NETCore.App": "1.1.1", "TestLibraryAsAPackage": { "version": "1.0.0", "target": "package" } }, "frameworks": { - "netcoreapp1.0": {} + "netcoreapp1.1": {} }, "runtimes": { "win7-x64": {}, diff --git a/TestAssets/NonRestoredTestProjects/PJAppWithSlnAndOneAlreadyMigratedCsproj/TestApp/project.json b/TestAssets/NonRestoredTestProjects/PJAppWithSlnAndOneAlreadyMigratedCsproj/TestApp/project.json index 666d644b9..060460e39 100644 --- a/TestAssets/NonRestoredTestProjects/PJAppWithSlnAndOneAlreadyMigratedCsproj/TestApp/project.json +++ b/TestAssets/NonRestoredTestProjects/PJAppWithSlnAndOneAlreadyMigratedCsproj/TestApp/project.json @@ -9,10 +9,10 @@ "target": "project", "version": "1.0.0-*" }, - "Microsoft.NETCore.App": "1.0.1" + "Microsoft.NETCore.App": "1.1.1" }, "frameworks": { - "netcoreapp1.0": {} + "netcoreapp1.1": {} }, "runtimes": { "win7-x64": {}, diff --git a/TestAssets/NonRestoredTestProjects/PJAppWithSlnAndSolutionItemsToMoveToBackup/TestApp/project.json b/TestAssets/NonRestoredTestProjects/PJAppWithSlnAndSolutionItemsToMoveToBackup/TestApp/project.json index 166d41c2b..a42ae0bb0 100644 --- a/TestAssets/NonRestoredTestProjects/PJAppWithSlnAndSolutionItemsToMoveToBackup/TestApp/project.json +++ b/TestAssets/NonRestoredTestProjects/PJAppWithSlnAndSolutionItemsToMoveToBackup/TestApp/project.json @@ -5,10 +5,10 @@ "preserveCompilationContext": true }, "dependencies": { - "Microsoft.NETCore.App": "1.0.1" + "Microsoft.NETCore.App": "1.1.1" }, "frameworks": { - "netcoreapp1.0": {} + "netcoreapp1.1": {} }, "runtimes": { "win7-x64": {}, diff --git a/TestAssets/NonRestoredTestProjects/PJAppWithSlnAndXprojRefs/TestApp/TestAssets/TestAsset/project.json b/TestAssets/NonRestoredTestProjects/PJAppWithSlnAndXprojRefs/TestApp/TestAssets/TestAsset/project.json index 91b0a9ae6..be38f2878 100644 --- a/TestAssets/NonRestoredTestProjects/PJAppWithSlnAndXprojRefs/TestApp/TestAssets/TestAsset/project.json +++ b/TestAssets/NonRestoredTestProjects/PJAppWithSlnAndXprojRefs/TestApp/TestAssets/TestAsset/project.json @@ -1,12 +1,12 @@ { "frameworks": { - "netcoreapp1.0": { + "netcoreapp1.1": { "imports": [ "portable-net451+win8" ], "dependencies": { "Microsoft.NETCore.App": { - "version": "1.0.0", + "version": "1.1.0", "type": "platform" } } diff --git a/TestAssets/NonRestoredTestProjects/PJAppWithSlnAndXprojRefs/TestApp/project.json b/TestAssets/NonRestoredTestProjects/PJAppWithSlnAndXprojRefs/TestApp/project.json index b5feb4db5..788896dab 100644 --- a/TestAssets/NonRestoredTestProjects/PJAppWithSlnAndXprojRefs/TestApp/project.json +++ b/TestAssets/NonRestoredTestProjects/PJAppWithSlnAndXprojRefs/TestApp/project.json @@ -13,10 +13,10 @@ "target": "project", "version": "1.0.0-*" }, - "Microsoft.NETCore.App": "1.0.1" + "Microsoft.NETCore.App": "1.1.1" }, "frameworks": { - "netcoreapp1.0": {} + "netcoreapp1.1": {} }, "runtimes": { "win7-x64": {}, diff --git a/TestAssets/NonRestoredTestProjects/PJAppWithSlnAndXprojRefsAndUnrelatedCsproj/TestApp/project.json b/TestAssets/NonRestoredTestProjects/PJAppWithSlnAndXprojRefsAndUnrelatedCsproj/TestApp/project.json index b5feb4db5..788896dab 100644 --- a/TestAssets/NonRestoredTestProjects/PJAppWithSlnAndXprojRefsAndUnrelatedCsproj/TestApp/project.json +++ b/TestAssets/NonRestoredTestProjects/PJAppWithSlnAndXprojRefsAndUnrelatedCsproj/TestApp/project.json @@ -13,10 +13,10 @@ "target": "project", "version": "1.0.0-*" }, - "Microsoft.NETCore.App": "1.0.1" + "Microsoft.NETCore.App": "1.1.1" }, "frameworks": { - "netcoreapp1.0": {} + "netcoreapp1.1": {} }, "runtimes": { "win7-x64": {}, diff --git a/TestAssets/NonRestoredTestProjects/PJAppWithSlnThatDoesNotRefCsproj/TestApp/project.json b/TestAssets/NonRestoredTestProjects/PJAppWithSlnThatDoesNotRefCsproj/TestApp/project.json index ed61d9d34..ade45a814 100644 --- a/TestAssets/NonRestoredTestProjects/PJAppWithSlnThatDoesNotRefCsproj/TestApp/project.json +++ b/TestAssets/NonRestoredTestProjects/PJAppWithSlnThatDoesNotRefCsproj/TestApp/project.json @@ -7,7 +7,7 @@ "dependencies": { "Microsoft.NETCore.App": { "type": "platform", - "version": "1.0.1" + "version": "1.1.1" }, "TestLibrary": { "target": "project", @@ -20,7 +20,7 @@ }, "frameworks": { - "netcoreapp1.0": { + "netcoreapp1.1": { "imports": "dnxcore50" } } diff --git a/TestAssets/NonRestoredTestProjects/PJAppWithSlnVersion14/project.json b/TestAssets/NonRestoredTestProjects/PJAppWithSlnVersion14/project.json index 166d41c2b..a42ae0bb0 100644 --- a/TestAssets/NonRestoredTestProjects/PJAppWithSlnVersion14/project.json +++ b/TestAssets/NonRestoredTestProjects/PJAppWithSlnVersion14/project.json @@ -5,10 +5,10 @@ "preserveCompilationContext": true }, "dependencies": { - "Microsoft.NETCore.App": "1.0.1" + "Microsoft.NETCore.App": "1.1.1" }, "frameworks": { - "netcoreapp1.0": {} + "netcoreapp1.1": {} }, "runtimes": { "win7-x64": {}, diff --git a/TestAssets/NonRestoredTestProjects/PJAppWithSlnVersion15/project.json b/TestAssets/NonRestoredTestProjects/PJAppWithSlnVersion15/project.json index 166d41c2b..a42ae0bb0 100644 --- a/TestAssets/NonRestoredTestProjects/PJAppWithSlnVersion15/project.json +++ b/TestAssets/NonRestoredTestProjects/PJAppWithSlnVersion15/project.json @@ -5,10 +5,10 @@ "preserveCompilationContext": true }, "dependencies": { - "Microsoft.NETCore.App": "1.0.1" + "Microsoft.NETCore.App": "1.1.1" }, "frameworks": { - "netcoreapp1.0": {} + "netcoreapp1.1": {} }, "runtimes": { "win7-x64": {}, diff --git a/TestAssets/NonRestoredTestProjects/PJAppWithSlnVersionUnknown/project.json b/TestAssets/NonRestoredTestProjects/PJAppWithSlnVersionUnknown/project.json index 166d41c2b..a42ae0bb0 100644 --- a/TestAssets/NonRestoredTestProjects/PJAppWithSlnVersionUnknown/project.json +++ b/TestAssets/NonRestoredTestProjects/PJAppWithSlnVersionUnknown/project.json @@ -5,10 +5,10 @@ "preserveCompilationContext": true }, "dependencies": { - "Microsoft.NETCore.App": "1.0.1" + "Microsoft.NETCore.App": "1.1.1" }, "frameworks": { - "netcoreapp1.0": {} + "netcoreapp1.1": {} }, "runtimes": { "win7-x64": {}, diff --git a/TestAssets/NonRestoredTestProjects/PJDeprecatedCompilation/project.json b/TestAssets/NonRestoredTestProjects/PJDeprecatedCompilation/project.json index 9f677856d..48cc4461c 100644 --- a/TestAssets/NonRestoredTestProjects/PJDeprecatedCompilation/project.json +++ b/TestAssets/NonRestoredTestProjects/PJDeprecatedCompilation/project.json @@ -7,11 +7,11 @@ }, "dependencies": {}, "frameworks": { - "netcoreapp1.0": { + "netcoreapp1.1": { "dependencies": { "Microsoft.NETCore.App": { "type": "platform", - "version": "1.0.1" + "version": "1.1.1" } }, "imports": "dnxcore50" diff --git a/TestAssets/NonRestoredTestProjects/PJDeprecatedCompile/project/project.json b/TestAssets/NonRestoredTestProjects/PJDeprecatedCompile/project/project.json index 87eeadaa3..abe2d6127 100644 --- a/TestAssets/NonRestoredTestProjects/PJDeprecatedCompile/project/project.json +++ b/TestAssets/NonRestoredTestProjects/PJDeprecatedCompile/project/project.json @@ -8,11 +8,11 @@ }, "dependencies": {}, "frameworks": { - "netcoreapp1.0": { + "netcoreapp1.1": { "dependencies": { "Microsoft.NETCore.App": { "type": "platform", - "version": "1.0.1" + "version": "1.1.1" } }, "imports": "dnxcore50" diff --git a/TestAssets/NonRestoredTestProjects/PJDeprecatedCompileBuiltIn/project/project.json b/TestAssets/NonRestoredTestProjects/PJDeprecatedCompileBuiltIn/project/project.json index 7418df38c..ce76b170c 100644 --- a/TestAssets/NonRestoredTestProjects/PJDeprecatedCompileBuiltIn/project/project.json +++ b/TestAssets/NonRestoredTestProjects/PJDeprecatedCompileBuiltIn/project/project.json @@ -7,11 +7,11 @@ }, "dependencies": {}, "frameworks": { - "netcoreapp1.0": { + "netcoreapp1.1": { "dependencies": { "Microsoft.NETCore.App": { "type": "platform", - "version": "1.0.1" + "version": "1.1.1" } }, "imports": "dnxcore50" diff --git a/TestAssets/NonRestoredTestProjects/PJDeprecatedCompileExclude/project.json b/TestAssets/NonRestoredTestProjects/PJDeprecatedCompileExclude/project.json index 3b457a6dc..caa91e887 100644 --- a/TestAssets/NonRestoredTestProjects/PJDeprecatedCompileExclude/project.json +++ b/TestAssets/NonRestoredTestProjects/PJDeprecatedCompileExclude/project.json @@ -8,11 +8,11 @@ }, "dependencies": {}, "frameworks": { - "netcoreapp1.0": { + "netcoreapp1.1": { "dependencies": { "Microsoft.NETCore.App": { "type": "platform", - "version": "1.0.1" + "version": "1.1.1" } }, "imports": "dnxcore50" diff --git a/TestAssets/NonRestoredTestProjects/PJDeprecatedContent/project/project.json b/TestAssets/NonRestoredTestProjects/PJDeprecatedContent/project/project.json index 5b1681989..721775e7f 100644 --- a/TestAssets/NonRestoredTestProjects/PJDeprecatedContent/project/project.json +++ b/TestAssets/NonRestoredTestProjects/PJDeprecatedContent/project/project.json @@ -11,11 +11,11 @@ }, "dependencies": {}, "frameworks": { - "netcoreapp1.0": { + "netcoreapp1.1": { "dependencies": { "Microsoft.NETCore.App": { "type": "platform", - "version": "1.0.1" + "version": "1.1.1" } }, "imports": "dnxcore50" diff --git a/TestAssets/NonRestoredTestProjects/PJDeprecatedNamedResource/project.json b/TestAssets/NonRestoredTestProjects/PJDeprecatedNamedResource/project.json index e0c6115f7..fce9b2e1a 100644 --- a/TestAssets/NonRestoredTestProjects/PJDeprecatedNamedResource/project.json +++ b/TestAssets/NonRestoredTestProjects/PJDeprecatedNamedResource/project.json @@ -7,11 +7,11 @@ }, "dependencies": {}, "frameworks": { - "netcoreapp1.0": { + "netcoreapp1.1": { "dependencies": { "Microsoft.NETCore.App": { "type": "platform", - "version": "1.0.0" + "version": "1.1.0" } }, "imports": "dnxcore50" diff --git a/TestAssets/NonRestoredTestProjects/PJDeprecatedPack/project.json b/TestAssets/NonRestoredTestProjects/PJDeprecatedPack/project.json index 5daf77a20..9590efb93 100644 --- a/TestAssets/NonRestoredTestProjects/PJDeprecatedPack/project.json +++ b/TestAssets/NonRestoredTestProjects/PJDeprecatedPack/project.json @@ -19,11 +19,11 @@ }, "dependencies": {}, "frameworks": { - "netcoreapp1.0": { + "netcoreapp1.1": { "dependencies": { "Microsoft.NETCore.App": { "type": "platform", - "version": "1.0.1" + "version": "1.1.1" } }, "imports": "dnxcore50" diff --git a/TestAssets/NonRestoredTestProjects/PJDeprecatedResource/project/project.json b/TestAssets/NonRestoredTestProjects/PJDeprecatedResource/project/project.json index 369f7325d..4851a858d 100644 --- a/TestAssets/NonRestoredTestProjects/PJDeprecatedResource/project/project.json +++ b/TestAssets/NonRestoredTestProjects/PJDeprecatedResource/project/project.json @@ -8,11 +8,11 @@ }, "dependencies": {}, "frameworks": { - "netcoreapp1.0": { + "netcoreapp1.1": { "dependencies": { "Microsoft.NETCore.App": { "type": "platform", - "version": "1.0.0" + "version": "1.1.0" } }, "imports": "dnxcore50" diff --git a/TestAssets/NonRestoredTestProjects/PJDeprecatedResourceBuiltIn/project/project.json b/TestAssets/NonRestoredTestProjects/PJDeprecatedResourceBuiltIn/project/project.json index d4f8ee07f..5bf7fe5f7 100644 --- a/TestAssets/NonRestoredTestProjects/PJDeprecatedResourceBuiltIn/project/project.json +++ b/TestAssets/NonRestoredTestProjects/PJDeprecatedResourceBuiltIn/project/project.json @@ -7,11 +7,11 @@ }, "dependencies": {}, "frameworks": { - "netcoreapp1.0": { + "netcoreapp1.1": { "dependencies": { "Microsoft.NETCore.App": { "type": "platform", - "version": "1.0.0" + "version": "1.1.0" } }, "imports": "dnxcore50" diff --git a/TestAssets/NonRestoredTestProjects/PJDeprecatedResourceExclude/project.json b/TestAssets/NonRestoredTestProjects/PJDeprecatedResourceExclude/project.json index 01c3c9e23..87e1d0675 100644 --- a/TestAssets/NonRestoredTestProjects/PJDeprecatedResourceExclude/project.json +++ b/TestAssets/NonRestoredTestProjects/PJDeprecatedResourceExclude/project.json @@ -8,11 +8,11 @@ }, "dependencies": {}, "frameworks": { - "netcoreapp1.0": { + "netcoreapp1.1": { "dependencies": { "Microsoft.NETCore.App": { "type": "platform", - "version": "1.0.0" + "version": "1.1.0" } }, "imports": "dnxcore50" diff --git a/TestAssets/NonRestoredTestProjects/PJHalfMigrated/ProjectB/project.json b/TestAssets/NonRestoredTestProjects/PJHalfMigrated/ProjectB/project.json index a93ee629a..7de792cd3 100755 --- a/TestAssets/NonRestoredTestProjects/PJHalfMigrated/ProjectB/project.json +++ b/TestAssets/NonRestoredTestProjects/PJHalfMigrated/ProjectB/project.json @@ -10,11 +10,11 @@ } }, "frameworks": { - "netcoreapp1.0": { + "netcoreapp1.1": { "dependencies": { "Microsoft.NETCore.App": { "type": "platform", - "version": "1.0.0" + "version": "1.1.0" } }, "imports": "dnxcore50" diff --git a/TestAssets/NonRestoredTestProjects/TestAppWithLibraryAndMissingP2P/TestApp/project.json b/TestAssets/NonRestoredTestProjects/TestAppWithLibraryAndMissingP2P/TestApp/project.json index 666d644b9..8edb9fd32 100644 --- a/TestAssets/NonRestoredTestProjects/TestAppWithLibraryAndMissingP2P/TestApp/project.json +++ b/TestAssets/NonRestoredTestProjects/TestAppWithLibraryAndMissingP2P/TestApp/project.json @@ -9,10 +9,10 @@ "target": "project", "version": "1.0.0-*" }, - "Microsoft.NETCore.App": "1.0.1" + "Microsoft.NETCore.App": "1.1.0" }, "frameworks": { - "netcoreapp1.0": {} + "netcoreapp1.1": {} }, "runtimes": { "win7-x64": {}, diff --git a/TestAssets/NonRestoredTestProjects/TestProjectWithSelfReferencingDependency/project.json b/TestAssets/NonRestoredTestProjects/TestProjectWithSelfReferencingDependency/project.json index cd24d0e88..92c28da27 100644 --- a/TestAssets/NonRestoredTestProjects/TestProjectWithSelfReferencingDependency/project.json +++ b/TestAssets/NonRestoredTestProjects/TestProjectWithSelfReferencingDependency/project.json @@ -9,7 +9,7 @@ } }, "frameworks": { - "netcoreapp1.0": { + "netcoreapp1.1": { "imports": "dnxcore50" } } diff --git a/TestAssets/NonRestoredTestProjects/TestProjectWithUnresolvedDependency/project.json b/TestAssets/NonRestoredTestProjects/TestProjectWithUnresolvedDependency/project.json index 793e4d3b3..eafa839b9 100644 --- a/TestAssets/NonRestoredTestProjects/TestProjectWithUnresolvedDependency/project.json +++ b/TestAssets/NonRestoredTestProjects/TestProjectWithUnresolvedDependency/project.json @@ -6,14 +6,14 @@ "dependencies": { "Microsoft.NETCore.App": { "type": "platform", - "version": "1.0.1" + "version": "1.1.0" }, "ThisIsNotARealDependencyAndIfSomeoneGoesAndAddsAProjectWithThisNameIWillFindThemAndPunishThem": { "target": "project" } }, "frameworks": { - "netcoreapp1.0": { + "netcoreapp1.1": { "imports": "dnxcore50" } } diff --git a/TestAssets/TestPackages/dotnet-dependency-context-test/dotnet-dependency-context-test.csproj b/TestAssets/TestPackages/dotnet-dependency-context-test/dotnet-dependency-context-test.csproj index d3946a98f..1717cd460 100644 --- a/TestAssets/TestPackages/dotnet-dependency-context-test/dotnet-dependency-context-test.csproj +++ b/TestAssets/TestPackages/dotnet-dependency-context-test/dotnet-dependency-context-test.csproj @@ -3,10 +3,12 @@ 1.0.0-rc - netcoreapp1.0 + netcoreapp1.1 dotnet-dependency-context-test Exe - $(PackageTargetFallback);dnxcore50;portable-net45+win8 + $(PackageTargetFallback);dnxcore50;portable-net45+win8 + 1.1.1 + false @@ -16,7 +18,6 @@ - diff --git a/TestAssets/TestPackages/dotnet-dependency-tool-invoker/dotnet-dependency-tool-invoker.csproj b/TestAssets/TestPackages/dotnet-dependency-tool-invoker/dotnet-dependency-tool-invoker.csproj index 4e590ef5d..23df5a2ee 100644 --- a/TestAssets/TestPackages/dotnet-dependency-tool-invoker/dotnet-dependency-tool-invoker.csproj +++ b/TestAssets/TestPackages/dotnet-dependency-tool-invoker/dotnet-dependency-tool-invoker.csproj @@ -3,12 +3,13 @@ 1.0.0-rc - netcoreapp2.0 + netcoreapp1.1 dotnet-dependency-tool-invoker Exe $(PackageTargetFallback);portable-net45+win8;dnxcore50 - $(CLI_SharedFrameworkVersion) + 1.1.1 + false @@ -28,6 +29,7 @@ + diff --git a/TestAssets/TestPackages/dotnet-hello/v1/dotnet-hello/dotnet-hello.csproj b/TestAssets/TestPackages/dotnet-hello/v1/dotnet-hello/dotnet-hello.csproj index 908965e3b..8a5096465 100644 --- a/TestAssets/TestPackages/dotnet-hello/v1/dotnet-hello/dotnet-hello.csproj +++ b/TestAssets/TestPackages/dotnet-hello/v1/dotnet-hello/dotnet-hello.csproj @@ -1,19 +1,15 @@  - + 1.0.0 - $(CliTargetFramework) - $(CLI_SharedFrameworkVersion) + netcoreapp2.0 + $(CLI_SharedFrameworkVersion) dotnet-hello Exe - win7-x64;win7-x86;osx.10.10-x64;osx.10.11-x64;ubuntu.14.04-x64;ubuntu.16.04-x64;centos.7-x64;rhel.7.2-x64;debian.8-x64 + win7-x64;win7-x86;osx.10.10-x64;osx.10.11-x64;ubuntu.14.04-x64;ubuntu.16.04-x64;ubuntu.16.10-x64;centos.7-x64;rhel.7.2-x64;debian.8-x64;fedora.24-x64;opensuse.42.1-x64 - - - - diff --git a/TestAssets/TestPackages/dotnet-hello/v2/dotnet-hello/dotnet-hello.csproj b/TestAssets/TestPackages/dotnet-hello/v2/dotnet-hello/dotnet-hello.csproj index 065c24d50..8f8164cef 100644 --- a/TestAssets/TestPackages/dotnet-hello/v2/dotnet-hello/dotnet-hello.csproj +++ b/TestAssets/TestPackages/dotnet-hello/v2/dotnet-hello/dotnet-hello.csproj @@ -1,19 +1,14 @@  - + 2.0.0 - $(CliTargetFramework) - $(CLI_SharedFrameworkVersion) + netcoreapp2.0 + $(CLI_SharedFrameworkVersion) dotnet-hello Exe - win7-x64;win7-x86;osx.10.10-x64;osx.10.11-x64;ubuntu.14.04-x64;ubuntu.16.04-x64;centos.7-x64;rhel.7.2-x64;debian.8-x64 + win7-x64;win7-x86;osx.10.10-x64;osx.10.11-x64;ubuntu.14.04-x64;ubuntu.16.04-x64;ubuntu.16.10-x64;centos.7-x64;rhel.7.2-x64;debian.8-x64;fedora.24-x64;opensuse.42.1-x64 - - - - - diff --git a/TestAssets/TestPackages/dotnet-prefercliruntime/dotnet-prefercliruntime.csproj b/TestAssets/TestPackages/dotnet-prefercliruntime/dotnet-prefercliruntime.csproj index 683f6c155..9b9f2fec9 100644 --- a/TestAssets/TestPackages/dotnet-prefercliruntime/dotnet-prefercliruntime.csproj +++ b/TestAssets/TestPackages/dotnet-prefercliruntime/dotnet-prefercliruntime.csproj @@ -1,10 +1,11 @@  - + - netcoreapp1.0 + netcoreapp2.0 Exe + $(CLI_SharedFrameworkVersion) @@ -17,9 +18,4 @@ \prefercliruntime - - - - - diff --git a/TestAssets/TestProjects/AppWith2Tfm0Rid/project.json b/TestAssets/TestProjects/AppWith2Tfm0Rid/project.json index 4779b862d..068194430 100644 --- a/TestAssets/TestProjects/AppWith2Tfm0Rid/project.json +++ b/TestAssets/TestProjects/AppWith2Tfm0Rid/project.json @@ -10,10 +10,10 @@ "System.Xml": {} } }, - "netcoreapp1.0": { + "netcoreapp1.1": { "dependencies": { "Microsoft.NetCore.App": { - "version": "1.0.3", + "version": "1.1.0", "type": "platform" } } diff --git a/TestAssets/TestProjects/AppWithAppDependency/TestApp1/project.json b/TestAssets/TestProjects/AppWithAppDependency/TestApp1/project.json index fe9ce6357..f863c3161 100644 --- a/TestAssets/TestProjects/AppWithAppDependency/TestApp1/project.json +++ b/TestAssets/TestProjects/AppWithAppDependency/TestApp1/project.json @@ -8,11 +8,11 @@ } }, "frameworks": { - "netcoreapp1.0": { + "netcoreapp1.1": { "dependencies": { "Microsoft.NETCore.App": { "type": "platform", - "version": "1.0.1" + "version": "1.1.0" } } } diff --git a/TestAssets/TestProjects/AppWithAppDependency/TestApp2/project.json b/TestAssets/TestProjects/AppWithAppDependency/TestApp2/project.json index 9541e743a..2cfedcea8 100644 --- a/TestAssets/TestProjects/AppWithAppDependency/TestApp2/project.json +++ b/TestAssets/TestProjects/AppWithAppDependency/TestApp2/project.json @@ -4,11 +4,11 @@ }, "dependencies": {}, "frameworks": { - "netcoreapp1.0": { + "netcoreapp1.1": { "dependencies": { "Microsoft.NETCore.App": { "type": "platform", - "version": "1.0.1" + "version": "1.1.0" } } } diff --git a/TestAssets/TestProjects/AppWithAssemblyInfo/project.json b/TestAssets/TestProjects/AppWithAssemblyInfo/project.json index 9016d1324..dff934e8b 100644 --- a/TestAssets/TestProjects/AppWithAssemblyInfo/project.json +++ b/TestAssets/TestProjects/AppWithAssemblyInfo/project.json @@ -7,12 +7,12 @@ "dependencies": { "Microsoft.NETCore.App": { "type": "platform", - "version": "1.0.1" + "version": "1.1.0" } }, "frameworks": { - "netcoreapp1.0": { + "netcoreapp1.1": { "imports": "dnxcore50" } } diff --git a/TestAssets/TestProjects/AppWithDirectDepWithOutputName/AppWithDirectDepWithOutputName.csproj b/TestAssets/TestProjects/AppWithDirectDepWithOutputName/AppWithDirectDepWithOutputName.csproj index 9b8907373..4f189d465 100755 --- a/TestAssets/TestProjects/AppWithDirectDepWithOutputName/AppWithDirectDepWithOutputName.csproj +++ b/TestAssets/TestProjects/AppWithDirectDepWithOutputName/AppWithDirectDepWithOutputName.csproj @@ -5,7 +5,7 @@ netcoreapp2.0 Exe $(CLI_SharedFrameworkVersion) - netcoreapp2.0 + netcoreapp1.1 diff --git a/TestAssets/TestProjects/AppWithMultipleFxAndTools/MSBuildAppWithMultipleFrameworksAndTools.csproj b/TestAssets/TestProjects/AppWithMultipleFxAndTools/MSBuildAppWithMultipleFrameworksAndTools.csproj index 80d0ffd4b..db7004ecd 100644 --- a/TestAssets/TestProjects/AppWithMultipleFxAndTools/MSBuildAppWithMultipleFrameworksAndTools.csproj +++ b/TestAssets/TestProjects/AppWithMultipleFxAndTools/MSBuildAppWithMultipleFrameworksAndTools.csproj @@ -4,7 +4,7 @@ Exe net451;netcoreapp2.0 - netcoreapp2.0 + netcoreapp1.1 diff --git a/TestAssets/TestProjects/AppWithOutputAssemblyName/project.json b/TestAssets/TestProjects/AppWithOutputAssemblyName/project.json index 2a4e3cc75..33eacba13 100644 --- a/TestAssets/TestProjects/AppWithOutputAssemblyName/project.json +++ b/TestAssets/TestProjects/AppWithOutputAssemblyName/project.json @@ -4,10 +4,10 @@ "emitEntryPoint": true }, "dependencies": { - "Microsoft.NETCore.App": "1.0.1" + "Microsoft.NETCore.App": "1.1.0" }, "frameworks": { - "netcoreapp1.0": {} + "netcoreapp1.1": {} }, "runtimes": { "win7-x64": {}, diff --git a/TestAssets/TestProjects/AppWithPackageNamedAfterFolder/TestAssets/TestAsset/project.json b/TestAssets/TestProjects/AppWithPackageNamedAfterFolder/TestAssets/TestAsset/project.json index 91b0a9ae6..be38f2878 100644 --- a/TestAssets/TestProjects/AppWithPackageNamedAfterFolder/TestAssets/TestAsset/project.json +++ b/TestAssets/TestProjects/AppWithPackageNamedAfterFolder/TestAssets/TestAsset/project.json @@ -1,12 +1,12 @@ { "frameworks": { - "netcoreapp1.0": { + "netcoreapp1.1": { "imports": [ "portable-net451+win8" ], "dependencies": { "Microsoft.NETCore.App": { - "version": "1.0.0", + "version": "1.1.0", "type": "platform" } } diff --git a/TestAssets/TestProjects/AppWithPackageNamedAfterFolder/test/App.Tests/project.json b/TestAssets/TestProjects/AppWithPackageNamedAfterFolder/test/App.Tests/project.json index c9e71e7a1..510857461 100644 --- a/TestAssets/TestProjects/AppWithPackageNamedAfterFolder/test/App.Tests/project.json +++ b/TestAssets/TestProjects/AppWithPackageNamedAfterFolder/test/App.Tests/project.json @@ -1,6 +1,6 @@ { "frameworks": { - "netcoreapp1.0": { + "netcoreapp1.1": { "imports": [ "portable-net451+win8", "dnxcore50" @@ -10,7 +10,7 @@ }, "dependencies": { "Microsoft.NETCore.App": { - "version": "1.0.0", + "version": "1.1.0", "type": "platform" } } diff --git a/TestAssets/TestProjects/DependencyContextFromTool/DependencyContextFromTool.csproj b/TestAssets/TestProjects/DependencyContextFromTool/DependencyContextFromTool.csproj index 225f497ad..909f6aa9f 100755 --- a/TestAssets/TestProjects/DependencyContextFromTool/DependencyContextFromTool.csproj +++ b/TestAssets/TestProjects/DependencyContextFromTool/DependencyContextFromTool.csproj @@ -7,13 +7,11 @@ DependencyContextFromTool Exe false - $(PackageTargetFallback);dnxcore50;portable-net45+win8 + $(PackageTargetFallback);dnxcore50;portable-net45+win8 + $(CLI_SharedFrameworkVersion) + netcoreapp1.1 - - - - diff --git a/TestAssets/TestProjects/FSharpTestProjects/TestApp/project.json b/TestAssets/TestProjects/FSharpTestProjects/TestApp/project.json index 95347fe60..46c065472 100644 --- a/TestAssets/TestProjects/FSharpTestProjects/TestApp/project.json +++ b/TestAssets/TestProjects/FSharpTestProjects/TestApp/project.json @@ -14,7 +14,7 @@ "version": "1.0.0-*", "target": "project" }, - "Microsoft.NETCore.App": "1.0.1", + "Microsoft.NETCore.App": "1.1.0", "Microsoft.FSharp.Core.netcore": "1.0.0-alpha-160509" }, "tools": { @@ -28,7 +28,7 @@ } }, "frameworks": { - "netcoreapp1.0": { + "netcoreapp1.1": { "imports": "dnxcore50" } }, diff --git a/TestAssets/TestProjects/MSBuildAppWithMultipleFrameworksAndTools/MSBuildAppWithMultipleFrameworksAndTools.csproj b/TestAssets/TestProjects/MSBuildAppWithMultipleFrameworksAndTools/MSBuildAppWithMultipleFrameworksAndTools.csproj index 67092b919..5c26acade 100644 --- a/TestAssets/TestProjects/MSBuildAppWithMultipleFrameworksAndTools/MSBuildAppWithMultipleFrameworksAndTools.csproj +++ b/TestAssets/TestProjects/MSBuildAppWithMultipleFrameworksAndTools/MSBuildAppWithMultipleFrameworksAndTools.csproj @@ -4,7 +4,7 @@ Exe net451;netcoreapp2.0 - netcoreapp2.0 + netcoreapp1.1 diff --git a/TestAssets/TestProjects/PJAppWithMultipleFrameworks/project.json b/TestAssets/TestProjects/PJAppWithMultipleFrameworks/project.json index 2e09a4fd6..ebe6ac518 100644 --- a/TestAssets/TestProjects/PJAppWithMultipleFrameworks/project.json +++ b/TestAssets/TestProjects/PJAppWithMultipleFrameworks/project.json @@ -4,10 +4,10 @@ "emitEntryPoint": true }, "frameworks": { - "netcoreapp1.0": { + "netcoreapp1.1": { "dependencies": { "Microsoft.NetCore.App": { - "version": "1.0.3", + "version": "1.1.0", "type": "platform" } } diff --git a/TestAssets/TestProjects/PJTestAppSimple/project.json b/TestAssets/TestProjects/PJTestAppSimple/project.json index 5f8329deb..f94096150 100755 --- a/TestAssets/TestProjects/PJTestAppSimple/project.json +++ b/TestAssets/TestProjects/PJTestAppSimple/project.json @@ -4,10 +4,10 @@ "emitEntryPoint": true }, "dependencies": { - "Microsoft.NETCore.App": "1.0.1" + "Microsoft.NETCore.App": "1.1.0" }, "frameworks": { - "netcoreapp1.0": {} + "netcoreapp1.1": {} }, "runtimes": { "win7-x64": {}, diff --git a/TestAssets/TestProjects/ProjectJsonConsoleTemplate/project.json b/TestAssets/TestProjects/ProjectJsonConsoleTemplate/project.json index 10e7042d6..71dcdd6ed 100644 --- a/TestAssets/TestProjects/ProjectJsonConsoleTemplate/project.json +++ b/TestAssets/TestProjects/ProjectJsonConsoleTemplate/project.json @@ -6,11 +6,11 @@ }, "dependencies": {}, "frameworks": { - "netcoreapp1.0": { + "netcoreapp1.1": { "dependencies": { "Microsoft.NETCore.App": { "type": "platform", - "version": "1.0.1" + "version": "1.1.0" } }, "imports": "dnxcore50" diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/project.json b/TestAssets/TestProjects/ProjectJsonWebTemplate/project.json index 35b616f8a..e82212642 100644 --- a/TestAssets/TestProjects/ProjectJsonWebTemplate/project.json +++ b/TestAssets/TestProjects/ProjectJsonWebTemplate/project.json @@ -3,7 +3,7 @@ "dependencies": { "Microsoft.NETCore.App": { - "version": "1.0.1", + "version": "1.1.0", "type": "platform" }, "Microsoft.AspNetCore.Authentication.Cookies": "1.0.0", @@ -71,7 +71,7 @@ }, "frameworks": { - "netcoreapp1.0": { + "netcoreapp1.1": { "imports": [ "dotnet5.6", "dnxcore50", diff --git a/TestAssets/TestProjects/ProjectsWithGlobalJson/src with spaces/ProjectJ/project.json b/TestAssets/TestProjects/ProjectsWithGlobalJson/src with spaces/ProjectJ/project.json index 7952dd345..89299337a 100644 --- a/TestAssets/TestProjects/ProjectsWithGlobalJson/src with spaces/ProjectJ/project.json +++ b/TestAssets/TestProjects/ProjectsWithGlobalJson/src with spaces/ProjectJ/project.json @@ -11,10 +11,10 @@ }, "Microsoft.NETCore.App": { "type": "platform", - "version": "1.0.1" + "version": "1.1.1" } }, "frameworks": { - "netcoreapp1.0": {} + "netcoreapp1.1": {} } } diff --git a/TestAssets/TestProjects/ProjectsWithGlobalJson/src/ProjectH/project.json b/TestAssets/TestProjects/ProjectsWithGlobalJson/src/ProjectH/project.json index 7952dd345..003e499f1 100644 --- a/TestAssets/TestProjects/ProjectsWithGlobalJson/src/ProjectH/project.json +++ b/TestAssets/TestProjects/ProjectsWithGlobalJson/src/ProjectH/project.json @@ -11,10 +11,10 @@ }, "Microsoft.NETCore.App": { "type": "platform", - "version": "1.0.1" + "version": "1.1.0" } }, "frameworks": { - "netcoreapp1.0": {} + "netcoreapp1.1": {} } } diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectA/project.json b/TestAssets/TestProjects/TestAppDependencyGraph/ProjectA/project.json index de7f186e5..ab0e331eb 100644 --- a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectA/project.json +++ b/TestAssets/TestProjects/TestAppDependencyGraph/ProjectA/project.json @@ -13,10 +13,10 @@ "target": "project", "version": "1.0.0-*" }, - "Microsoft.NETCore.App": "1.0.1" + "Microsoft.NETCore.App": "1.1.0" }, "frameworks": { - "netcoreapp1.0": {} + "netcoreapp1.1": {} }, "runtimes": { "win7-x64": {}, diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectF/project.json b/TestAssets/TestProjects/TestAppDependencyGraph/ProjectF/project.json index 9608ee1d3..585da58f6 100644 --- a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectF/project.json +++ b/TestAssets/TestProjects/TestAppDependencyGraph/ProjectF/project.json @@ -11,10 +11,10 @@ }, "Microsoft.NETCore.App": { "type": "platform", - "version": "1.0.1" + "version": "1.1.0" } }, "frameworks": { - "netcoreapp1.0": {} + "netcoreapp1.1": {} } } diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectsWithGlobalJson/src with spaces/ProjectJ/project.json b/TestAssets/TestProjects/TestAppDependencyGraph/ProjectsWithGlobalJson/src with spaces/ProjectJ/project.json index 7952dd345..003e499f1 100644 --- a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectsWithGlobalJson/src with spaces/ProjectJ/project.json +++ b/TestAssets/TestProjects/TestAppDependencyGraph/ProjectsWithGlobalJson/src with spaces/ProjectJ/project.json @@ -11,10 +11,10 @@ }, "Microsoft.NETCore.App": { "type": "platform", - "version": "1.0.1" + "version": "1.1.0" } }, "frameworks": { - "netcoreapp1.0": {} + "netcoreapp1.1": {} } } diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectsWithGlobalJson/src/ProjectH/project.json b/TestAssets/TestProjects/TestAppDependencyGraph/ProjectsWithGlobalJson/src/ProjectH/project.json index 7952dd345..003e499f1 100644 --- a/TestAssets/TestProjects/TestAppDependencyGraph/ProjectsWithGlobalJson/src/ProjectH/project.json +++ b/TestAssets/TestProjects/TestAppDependencyGraph/ProjectsWithGlobalJson/src/ProjectH/project.json @@ -11,10 +11,10 @@ }, "Microsoft.NETCore.App": { "type": "platform", - "version": "1.0.1" + "version": "1.1.0" } }, "frameworks": { - "netcoreapp1.0": {} + "netcoreapp1.1": {} } } diff --git a/TestAssets/TestProjects/TestAppWithContents/project.json b/TestAssets/TestProjects/TestAppWithContents/project.json index 5620a3bc3..b23cbdc8b 100644 --- a/TestAssets/TestProjects/TestAppWithContents/project.json +++ b/TestAssets/TestProjects/TestAppWithContents/project.json @@ -19,12 +19,12 @@ }, "dependencies": { "Microsoft.NETCore.App": { - "version": "1.0.1", + "version": "1.1.0", "type": "platform" } }, "frameworks": { - "netcoreapp1.0": {} + "netcoreapp1.1": {} }, "publishOptions": { "include": "testcontentfile.txt" diff --git a/TestAssets/TestProjects/TestAppWithEmbeddedResources/project.json b/TestAssets/TestProjects/TestAppWithEmbeddedResources/project.json index 3c89bd6fb..4f97537d9 100755 --- a/TestAssets/TestProjects/TestAppWithEmbeddedResources/project.json +++ b/TestAssets/TestProjects/TestAppWithEmbeddedResources/project.json @@ -7,11 +7,11 @@ }, "dependencies": {}, "frameworks": { - "netcoreapp1.0": { + "netcoreapp1.1": { "dependencies": { "Microsoft.NETCore.App": { "type": "platform", - "version": "1.0.0" + "version": "1.1.0" } }, "imports": "dnxcore50" diff --git a/TestAssets/TestProjects/TestAppWithExplicitInclude/project.json b/TestAssets/TestProjects/TestAppWithExplicitInclude/project.json index c29a3797c..bd75d882b 100644 --- a/TestAssets/TestProjects/TestAppWithExplicitInclude/project.json +++ b/TestAssets/TestProjects/TestAppWithExplicitInclude/project.json @@ -11,11 +11,11 @@ }, "dependencies": {}, "frameworks": { - "netcoreapp1.0": { + "netcoreapp1.1": { "dependencies": { "Microsoft.NETCore.App": { "type": "platform", - "version": "1.0.1" + "version": "1.1.0" } }, "imports": "dnxcore50" diff --git a/TestAssets/TestProjects/TestAppWithExplicitIncludeGlob/project.json b/TestAssets/TestProjects/TestAppWithExplicitIncludeGlob/project.json index 67a885251..56f3433fc 100644 --- a/TestAssets/TestProjects/TestAppWithExplicitIncludeGlob/project.json +++ b/TestAssets/TestProjects/TestAppWithExplicitIncludeGlob/project.json @@ -11,11 +11,11 @@ }, "dependencies": {}, "frameworks": { - "netcoreapp1.0": { + "netcoreapp1.1": { "dependencies": { "Microsoft.NETCore.App": { "type": "platform", - "version": "1.0.1" + "version": "1.1.0" } }, "imports": "dnxcore50" diff --git a/TestAssets/TestProjects/TestAppWithLibrary/TestApp/project.json b/TestAssets/TestProjects/TestAppWithLibrary/TestApp/project.json index 666d644b9..8edb9fd32 100644 --- a/TestAssets/TestProjects/TestAppWithLibrary/TestApp/project.json +++ b/TestAssets/TestProjects/TestAppWithLibrary/TestApp/project.json @@ -9,10 +9,10 @@ "target": "project", "version": "1.0.0-*" }, - "Microsoft.NETCore.App": "1.0.1" + "Microsoft.NETCore.App": "1.1.0" }, "frameworks": { - "netcoreapp1.0": {} + "netcoreapp1.1": {} }, "runtimes": { "win7-x64": {}, diff --git a/TestAssets/TestProjects/TestAppWithLibraryUnderTFM/TestApp/project.json b/TestAssets/TestProjects/TestAppWithLibraryUnderTFM/TestApp/project.json index 419f935a3..a77fe2343 100644 --- a/TestAssets/TestProjects/TestAppWithLibraryUnderTFM/TestApp/project.json +++ b/TestAssets/TestProjects/TestAppWithLibraryUnderTFM/TestApp/project.json @@ -5,10 +5,10 @@ "preserveCompilationContext": true }, "dependencies": { - "Microsoft.NETCore.App": "1.0.1" + "Microsoft.NETCore.App": "1.1.0" }, "frameworks": { - "netcoreapp1.0": { + "netcoreapp1.1": { "dependencies": { "TestLibrary": { "target": "project", diff --git a/TestAssets/TestProjects/TestAppWithMigrateableScripts/project.json b/TestAssets/TestProjects/TestAppWithMigrateableScripts/project.json index cc196a087..a453cbddb 100644 --- a/TestAssets/TestProjects/TestAppWithMigrateableScripts/project.json +++ b/TestAssets/TestProjects/TestAppWithMigrateableScripts/project.json @@ -6,11 +6,11 @@ "dependencies": { "Microsoft.NETCore.App": { "type": "platform", - "version": "1.0.1" + "version": "1.1.0" } }, "frameworks": { - "netcoreapp1.0": {} + "netcoreapp1.1": {} }, "scripts": { "prepublish": [ diff --git a/TestAssets/TestProjects/TestAppWithProjDepTool/TestAppWithProjDepTool.csproj b/TestAssets/TestProjects/TestAppWithProjDepTool/TestAppWithProjDepTool.csproj index 66c65a7ff..bedcf3da2 100644 --- a/TestAssets/TestProjects/TestAppWithProjDepTool/TestAppWithProjDepTool.csproj +++ b/TestAssets/TestProjects/TestAppWithProjDepTool/TestAppWithProjDepTool.csproj @@ -5,7 +5,7 @@ Exe netcoreapp2.0 $(CLI_SharedFrameworkVersion) - netcoreapp2.0 + netcoreapp1.1 diff --git a/TestAssets/TestProjects/TestAppWithRuntimeOptions/project.json b/TestAssets/TestProjects/TestAppWithRuntimeOptions/project.json index e7a052937..3727b2ece 100644 --- a/TestAssets/TestProjects/TestAppWithRuntimeOptions/project.json +++ b/TestAssets/TestProjects/TestAppWithRuntimeOptions/project.json @@ -5,12 +5,12 @@ }, "dependencies": { "Microsoft.NETCore.App": { - "version": "1.0.1", + "version": "1.1.0", "type": "platform" } }, "frameworks": { - "netcoreapp1.0": {} + "netcoreapp1.1": {} }, "runtimeOptions": { "somethingString": "anything", diff --git a/TestAssets/TestProjects/TestAppWithSigning/project.json b/TestAssets/TestProjects/TestAppWithSigning/project.json index 93a9e4425..fa84e6e50 100644 --- a/TestAssets/TestProjects/TestAppWithSigning/project.json +++ b/TestAssets/TestProjects/TestAppWithSigning/project.json @@ -6,11 +6,11 @@ }, "dependencies": { "Microsoft.NETCore.App": { - "version": "1.0.1", + "version": "1.1.0", "type": "platform" }, }, "frameworks": { - "netcoreapp1.0": {} + "netcoreapp1.1": {} } } diff --git a/TestAssets/TestProjects/TestAppWithUnqualifiedDependencies/ProjectA/project.json b/TestAssets/TestProjects/TestAppWithUnqualifiedDependencies/ProjectA/project.json index 5287abb9b..1ff04d86a 100644 --- a/TestAssets/TestProjects/TestAppWithUnqualifiedDependencies/ProjectA/project.json +++ b/TestAssets/TestProjects/TestAppWithUnqualifiedDependencies/ProjectA/project.json @@ -6,10 +6,10 @@ }, "dependencies": { "ProjectB": "1.0.0-*", - "Microsoft.NETCore.App": "1.0.1" + "Microsoft.NETCore.App": "1.1.0" }, "frameworks": { - "netcoreapp1.0": {} + "netcoreapp1.1": {} }, "runtimes": { "win7-x64": {}, diff --git a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/project.json b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/project.json index ea81ae848..f8e6d7db9 100755 --- a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/project.json +++ b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/project.json @@ -3,7 +3,7 @@ "dependencies": { "Microsoft.NETCore.App": { - "version": "1.0.0", + "version": "1.1.0", "type": "platform" }, "Microsoft.AspNetCore.Authentication.Cookies": "1.0.0", @@ -70,7 +70,7 @@ }, "frameworks": { - "netcoreapp1.0": { + "netcoreapp1.1": { "imports": [ "dotnet5.6", "dnxcore50", diff --git a/build/BundledRuntimes.props b/build/BundledRuntimes.props index a1758c4f1..a7d91de3d 100644 --- a/build/BundledRuntimes.props +++ b/build/BundledRuntimes.props @@ -16,10 +16,10 @@ - preview - 1.0.4 - 1.0.1 - 1.0.1 + release/1.1.0 + 1.1.1 + 1.1.0 + 1.1.0 dotnet-host-$(ProductMonikerRid).$(AdditionalSharedHostVersion)$(InstallerExtension) diff --git a/run-build.ps1 b/run-build.ps1 index b939b605f..c02a924cf 100644 --- a/run-build.ps1 +++ b/run-build.ps1 @@ -101,8 +101,8 @@ if ($LastExitCode -ne 0) # install the post-PJnistic stage0 $dotnetInstallPath = Join-Path $toolsLocalPath "dotnet-install.ps1" -Write-Host "$dotnetInstallPath -Channel ""master"" -Version ""2.0.0-alpha-005390"" -InstallDir $env:DOTNET_INSTALL_DIR -Architecture ""$Architecture""" -Invoke-Expression "$dotnetInstallPath -Channel ""master"" -Version ""2.0.0-alpha-005390"" -InstallDir $env:DOTNET_INSTALL_DIR -Architecture ""$Architecture""" +Write-Host "$dotnetInstallPath -Channel ""master"" -Version ""2.0.0-preview1-005390"" -InstallDir $env:DOTNET_INSTALL_DIR -Architecture ""$Architecture""" +Invoke-Expression "$dotnetInstallPath -Channel ""master"" -Version ""2.0.0-preview1-005390"" -InstallDir $env:DOTNET_INSTALL_DIR -Architecture ""$Architecture""" if ($LastExitCode -ne 0) { Write-Output "The .NET CLI installation failed with exit code $LastExitCode" diff --git a/run-build.sh b/run-build.sh index 9c78a3827..5b65eeba4 100755 --- a/run-build.sh +++ b/run-build.sh @@ -168,8 +168,8 @@ if [ $? != 0 ]; then fi # now execute the script -echo "installing CLI: $dotnetInstallPath --channel \"master\" --version \"2.0.0-alpha-005165\" --install-dir $DOTNET_INSTALL_DIR --architecture \"$ARCHITECTURE\" $LINUX_PORTABLE_INSTALL_ARGS" -$dotnetInstallPath --channel "master" --version "2.0.0-alpha-005390" --install-dir $DOTNET_INSTALL_DIR --architecture "$ARCHITECTURE" $LINUX_PORTABLE_INSTALL_ARGS +echo "installing CLI: $dotnetInstallPath --channel \"master\" --version \"2.0.0-preview1-005165\" --install-dir $DOTNET_INSTALL_DIR --architecture \"$ARCHITECTURE\" $LINUX_PORTABLE_INSTALL_ARGS" +$dotnetInstallPath --channel "master" --version "2.0.0-preview1-005390" --install-dir $DOTNET_INSTALL_DIR --architecture "$ARCHITECTURE" $LINUX_PORTABLE_INSTALL_ARGS if [ $? != 0 ]; then echo "run-build: Error: Boot-strapping post-PJ stage0 with exit code $?." >&2 exit $? diff --git a/src/redist/redist.csproj b/src/redist/redist.csproj index dde8ca364..602128a93 100644 --- a/src/redist/redist.csproj +++ b/src/redist/redist.csproj @@ -159,7 +159,7 @@ InputFile="$(VSTestRuntimeConfigPath)" DestinationFile="$(VSTestRuntimeConfigPath)" ReplacementPatterns="1.0.0" - ReplacementStrings="$(CLI_SharedFrameworkVersion)" /> + ReplacementStrings="1.1.1" /> Date: Thu, 9 Mar 2017 22:35:25 -0800 Subject: [PATCH 3/5] Added a comment for the bug tracking enabling F# in the 2.0 CLI. --- test/dotnet-new.Tests/GivenThatIWantANewAppWithSpecifiedType.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/test/dotnet-new.Tests/GivenThatIWantANewAppWithSpecifiedType.cs b/test/dotnet-new.Tests/GivenThatIWantANewAppWithSpecifiedType.cs index 4abf4782f..e732bcbac 100644 --- a/test/dotnet-new.Tests/GivenThatIWantANewAppWithSpecifiedType.cs +++ b/test/dotnet-new.Tests/GivenThatIWantANewAppWithSpecifiedType.cs @@ -23,6 +23,7 @@ namespace Microsoft.DotNet.New.Tests [InlineData("C#", "web", true)] [InlineData("C#", "mvc", true)] [InlineData("C#", "webapi", true)] + // Uncomment the test below once https://github.com/dotnet/netcorecli-fsc/issues/92 is fixed. //[InlineData("F#", "console", false)] //[InlineData("F#", "classlib", false)] //[InlineData("F#", "mstest", false)] From ec7c81ea84e83bba588d4ec50049ffa86ca9d1d9 Mon Sep 17 00:00:00 2001 From: Livar Cunha Date: Fri, 10 Mar 2017 17:11:32 -0800 Subject: [PATCH 4/5] Disabling intermittent test and fixing assets for windows only tests. --- .../DesktopTestProjects/LibWithProjTool2Fx/Lib.csproj | 5 +---- .../dotnet-desktop-and-portable.csproj | 8 ++++---- .../AppWithDirectAndToolDep.csproj | 3 +++ .../TestProjects/AppWithDirectDep/AppWithDirectDep.csproj | 4 ++++ test/dotnet.Tests/PackagedCommandTests.cs | 2 +- 5 files changed, 13 insertions(+), 9 deletions(-) diff --git a/TestAssets/DesktopTestProjects/LibWithProjTool2Fx/Lib.csproj b/TestAssets/DesktopTestProjects/LibWithProjTool2Fx/Lib.csproj index aa1f26066..51192f708 100644 --- a/TestAssets/DesktopTestProjects/LibWithProjTool2Fx/Lib.csproj +++ b/TestAssets/DesktopTestProjects/LibWithProjTool2Fx/Lib.csproj @@ -2,16 +2,13 @@ netstandard1.6;net451 Library - $(PackageTargetFallback);portable-net45+win8;dnxcore50;netcoreapp1.1 + $(PackageTargetFallback);portable-net45+win8;dnxcore50;netcoreapp2.0 netcoreapp1.1 - - - diff --git a/TestAssets/TestPackages/dotnet-desktop-and-portable/dotnet-desktop-and-portable.csproj b/TestAssets/TestPackages/dotnet-desktop-and-portable/dotnet-desktop-and-portable.csproj index 41585032e..1f3345bf4 100644 --- a/TestAssets/TestPackages/dotnet-desktop-and-portable/dotnet-desktop-and-portable.csproj +++ b/TestAssets/TestPackages/dotnet-desktop-and-portable/dotnet-desktop-and-portable.csproj @@ -3,20 +3,20 @@ 1.0.0-rc - netcoreapp2.0;net451 + netcoreapp1.1;net451 dotnet-desktop-and-portable Exe win7-x64;win7-x86 - + $(ProjectRuntimeConfigFilePath) - - $(CLI_SharedFrameworkVersion) + + 1.1.1 diff --git a/TestAssets/TestProjects/AppWithDirectAndToolDep/AppWithDirectAndToolDep.csproj b/TestAssets/TestProjects/AppWithDirectAndToolDep/AppWithDirectAndToolDep.csproj index dd88a2bfc..8795839bc 100755 --- a/TestAssets/TestProjects/AppWithDirectAndToolDep/AppWithDirectAndToolDep.csproj +++ b/TestAssets/TestProjects/AppWithDirectAndToolDep/AppWithDirectAndToolDep.csproj @@ -1,7 +1,10 @@  + + netcoreapp2.0 Exe + $(CLI_SharedFrameworkVersion) netcoreapp2.0 diff --git a/TestAssets/TestProjects/AppWithDirectDep/AppWithDirectDep.csproj b/TestAssets/TestProjects/AppWithDirectDep/AppWithDirectDep.csproj index 1cd74deae..0ca6ef86f 100755 --- a/TestAssets/TestProjects/AppWithDirectDep/AppWithDirectDep.csproj +++ b/TestAssets/TestProjects/AppWithDirectDep/AppWithDirectDep.csproj @@ -1,10 +1,14 @@  + + 1.0.0 netcoreapp2.0 AppWithDirectDep Exe false + $(CLI_SharedFrameworkVersion) + netcoreapp2.0 diff --git a/test/dotnet.Tests/PackagedCommandTests.cs b/test/dotnet.Tests/PackagedCommandTests.cs index 5e36bcbd8..b402f4e60 100644 --- a/test/dotnet.Tests/PackagedCommandTests.cs +++ b/test/dotnet.Tests/PackagedCommandTests.cs @@ -317,7 +317,7 @@ namespace Microsoft.DotNet.Tests stopWatch.ElapsedMilliseconds.Should().BeGreaterThan(1000, "Because dotnet should respect the NuGet lock"); } - [Fact] + [Fact(Skip="https://github.com/dotnet/cli/issues/6006")] public void WhenToolAssetsFileIsLockedByNuGetThenCLIRetriesLaunchingTheCommandForAtLeastOneSecond() { var testInstance = TestAssets.Get("AppWithToolDependency") From 421c7cb3b2f92c2774de76b0e8a666e05b01840c Mon Sep 17 00:00:00 2001 From: Livar Cunha Date: Sat, 18 Mar 2017 09:59:41 -0700 Subject: [PATCH 5/5] Undoing hack to retarget vstest console now that it is no longer necessary and it targets 2.0. --- src/redist/redist.csproj | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/redist/redist.csproj b/src/redist/redist.csproj index 602128a93..7c7ef6569 100644 --- a/src/redist/redist.csproj +++ b/src/redist/redist.csproj @@ -150,18 +150,6 @@ AfterTargets="Publish"> - - - $(PublishDir)/vstest.console.runtimeconfig.json - - - -