From 6cf6c45f0ea29a8e983f09979867eb3a1fee2115 Mon Sep 17 00:00:00 2001 From: Piotr Puszkiewicz Date: Thu, 2 Mar 2017 18:58:47 -0800 Subject: [PATCH 01/33] Remove Performance Tests --- test/Performance/Performance.csproj | 55 ----------------------------- 1 file changed, 55 deletions(-) delete mode 100644 test/Performance/Performance.csproj diff --git a/test/Performance/Performance.csproj b/test/Performance/Performance.csproj deleted file mode 100644 index db7cf67c3..000000000 --- a/test/Performance/Performance.csproj +++ /dev/null @@ -1,55 +0,0 @@ - - - - - netcoreapp1.1 - true - Performance - $(PackageTargetFallback);dotnet5.4;portable-net451+win8 - - - - - - - true - - - true - - - - - - true - - - - - - 15.0.0-preview-20161024-02 - - - 2.2.0-beta4-build1194 - - - $(CLI_SharedFrameworkVersion) - - - 4.3.0 - - - 2.2.0-beta4-build3444 - - - 1.0.0-prerelease-00206 - - - 1.0.0-alpha-build0028 - - - - - $(DefineConstants);RELEASE - - From 6982db1a4511203072bfff946d6aa29d438258d5 Mon Sep 17 00:00:00 2001 From: Piotr Puszkiewicz Date: Thu, 2 Mar 2017 19:13:58 -0800 Subject: [PATCH 02/33] Remove unnecessary references from ArgumentForwarding tests --- .../ArgumentForwardingTests.csproj | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/test/ArgumentForwardingTests/ArgumentForwardingTests.csproj b/test/ArgumentForwardingTests/ArgumentForwardingTests.csproj index 5d64b79f3..9e2f15846 100644 --- a/test/ArgumentForwardingTests/ArgumentForwardingTests.csproj +++ b/test/ArgumentForwardingTests/ArgumentForwardingTests.csproj @@ -12,18 +12,6 @@ - - true - - - true - - - - - - true - From 5ca4eec393ccabdd5ea3754fcbfa3963f0daa137 Mon Sep 17 00:00:00 2001 From: Piotr Puszkiewicz Date: Thu, 2 Mar 2017 19:19:35 -0800 Subject: [PATCH 03/33] ArgumentForwardingTests Version As Attribute --- .../ArgumentForwardingTests.csproj | 20 +++++++------------ 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/test/ArgumentForwardingTests/ArgumentForwardingTests.csproj b/test/ArgumentForwardingTests/ArgumentForwardingTests.csproj index 9e2f15846..4b73c9e78 100644 --- a/test/ArgumentForwardingTests/ArgumentForwardingTests.csproj +++ b/test/ArgumentForwardingTests/ArgumentForwardingTests.csproj @@ -15,21 +15,15 @@ - - 15.0.0-preview-20161024-02 - - - 2.2.0-beta4-build1194 - - - 2.2.0-beta4-build3444 - - - $(PlatformAbstractionsVersion) - + + + + - + From cd3a4aa82cb6277d7772f53449ead261a8e57440 Mon Sep 17 00:00:00 2001 From: Piotr Puszkiewicz Date: Thu, 2 Mar 2017 19:19:51 -0800 Subject: [PATCH 04/33] Crossgen tests remove unnecessary components --- test/crossgen.Tests/crossgen.Tests.csproj | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/test/crossgen.Tests/crossgen.Tests.csproj b/test/crossgen.Tests/crossgen.Tests.csproj index 70b278143..35327e098 100644 --- a/test/crossgen.Tests/crossgen.Tests.csproj +++ b/test/crossgen.Tests/crossgen.Tests.csproj @@ -12,12 +12,6 @@ - - true - - - true - @@ -31,8 +25,4 @@ 2.2.0-beta4-build3444 - - - $(DefineConstants);RELEASE - From 40db9678be01fb10ace6b432470b4cf8cf9751db Mon Sep 17 00:00:00 2001 From: Piotr Puszkiewicz Date: Thu, 2 Mar 2017 19:21:58 -0800 Subject: [PATCH 05/33] Version As Attribute in Crossgen tests --- test/crossgen.Tests/crossgen.Tests.csproj | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/test/crossgen.Tests/crossgen.Tests.csproj b/test/crossgen.Tests/crossgen.Tests.csproj index 35327e098..48df94f04 100644 --- a/test/crossgen.Tests/crossgen.Tests.csproj +++ b/test/crossgen.Tests/crossgen.Tests.csproj @@ -15,14 +15,8 @@ - - 15.0.0-preview-20161024-02 - - - 2.2.0-beta4-build1194 - - - 2.2.0-beta4-build3444 - + + + From c25b6a70b9f1f295edabf3adb330c8d2937c5c25 Mon Sep 17 00:00:00 2001 From: Piotr Puszkiewicz Date: Thu, 2 Mar 2017 19:23:50 -0800 Subject: [PATCH 06/33] Remove Unecessary P2P references from addref tests --- .../dotnet-add-reference.Tests.csproj | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/test/dotnet-add-reference.Tests/dotnet-add-reference.Tests.csproj b/test/dotnet-add-reference.Tests/dotnet-add-reference.Tests.csproj index 8f4457281..61d7187a0 100644 --- a/test/dotnet-add-reference.Tests/dotnet-add-reference.Tests.csproj +++ b/test/dotnet-add-reference.Tests/dotnet-add-reference.Tests.csproj @@ -11,19 +11,11 @@ - - true - - - true - - - true - + 15.0.0-preview-20161024-02 From 5e4be2b13e3ac50588761ee342803398742f59bd Mon Sep 17 00:00:00 2001 From: Piotr Puszkiewicz Date: Thu, 2 Mar 2017 19:25:20 -0800 Subject: [PATCH 07/33] Version as metadata AddRef tests --- .../dotnet-add-reference.Tests.csproj | 20 +++++-------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/test/dotnet-add-reference.Tests/dotnet-add-reference.Tests.csproj b/test/dotnet-add-reference.Tests/dotnet-add-reference.Tests.csproj index 61d7187a0..d07d2002a 100644 --- a/test/dotnet-add-reference.Tests/dotnet-add-reference.Tests.csproj +++ b/test/dotnet-add-reference.Tests/dotnet-add-reference.Tests.csproj @@ -17,20 +17,10 @@ - - 15.0.0-preview-20161024-02 - - - 2.2.0-beta4-build1194 - - - 4.3.0 - - - 2.2.0-beta4-build3444 - - - $(CLI_MSBuild_Version) - + + + + + From 6de49cdd1ce26d2d3e19a303560768087fef4469 Mon Sep 17 00:00:00 2001 From: Piotr Puszkiewicz Date: Thu, 2 Mar 2017 19:26:05 -0800 Subject: [PATCH 08/33] Remove unnecessary P2P's from dotnet-build.Tests --- test/dotnet-build.Tests/dotnet-build.Tests.csproj | 9 --------- 1 file changed, 9 deletions(-) diff --git a/test/dotnet-build.Tests/dotnet-build.Tests.csproj b/test/dotnet-build.Tests/dotnet-build.Tests.csproj index 45bd5be54..8c466dd60 100644 --- a/test/dotnet-build.Tests/dotnet-build.Tests.csproj +++ b/test/dotnet-build.Tests/dotnet-build.Tests.csproj @@ -11,15 +11,6 @@ - - true - - - true - - - true - From 09959ab04531a12a55dfcfe10eb3468d68a7eaa3 Mon Sep 17 00:00:00 2001 From: Piotr Puszkiewicz Date: Thu, 2 Mar 2017 19:37:46 -0800 Subject: [PATCH 09/33] Version as Metadata for dotnet-build --- test/dotnet-build.Tests/dotnet-build.Tests.csproj | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/test/dotnet-build.Tests/dotnet-build.Tests.csproj b/test/dotnet-build.Tests/dotnet-build.Tests.csproj index 8c466dd60..6ebffe33b 100644 --- a/test/dotnet-build.Tests/dotnet-build.Tests.csproj +++ b/test/dotnet-build.Tests/dotnet-build.Tests.csproj @@ -14,15 +14,9 @@ - - 15.0.0-preview-20161024-02 - - - 2.2.0-beta4-build1194 - - - 2.2.0-beta4-build3444 - + + + From e9087b71ca0f8febe3c8bfad37bd124bffe74356 Mon Sep 17 00:00:00 2001 From: Piotr Puszkiewicz Date: Thu, 2 Mar 2017 19:39:20 -0800 Subject: [PATCH 10/33] Remove unnecessary P2P's from dotnet-cache tests --- test/dotnet-cache.Tests/dotnet-cache.Tests.csproj | 6 ------ 1 file changed, 6 deletions(-) diff --git a/test/dotnet-cache.Tests/dotnet-cache.Tests.csproj b/test/dotnet-cache.Tests/dotnet-cache.Tests.csproj index 02a1e5bb9..78d23444d 100644 --- a/test/dotnet-cache.Tests/dotnet-cache.Tests.csproj +++ b/test/dotnet-cache.Tests/dotnet-cache.Tests.csproj @@ -11,12 +11,6 @@ - - - - - - From d20807b4c15d827479aa6a3fe10c452cf4acfe01 Mon Sep 17 00:00:00 2001 From: Piotr Puszkiewicz Date: Thu, 2 Mar 2017 19:41:22 -0800 Subject: [PATCH 11/33] Version as metadata for dotnet-cache tests --- test/dotnet-cache.Tests/dotnet-cache.Tests.csproj | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/test/dotnet-cache.Tests/dotnet-cache.Tests.csproj b/test/dotnet-cache.Tests/dotnet-cache.Tests.csproj index 78d23444d..06ecba4cc 100644 --- a/test/dotnet-cache.Tests/dotnet-cache.Tests.csproj +++ b/test/dotnet-cache.Tests/dotnet-cache.Tests.csproj @@ -14,14 +14,8 @@ - - 15.0.0-preview-20161024-02 - - - 2.2.0-beta4-build1194 - - - 2.2.0-beta4-build3444 - + + + From 7fc2107abb707bc39e8d331b331896567ac7cbdc Mon Sep 17 00:00:00 2001 From: Piotr Puszkiewicz Date: Thu, 2 Mar 2017 19:42:48 -0800 Subject: [PATCH 12/33] Version as Metadata in msbuild.IntegrationTests --- .../msbuild.IntegrationTests.csproj | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/test/msbuild.IntegrationTests/msbuild.IntegrationTests.csproj b/test/msbuild.IntegrationTests/msbuild.IntegrationTests.csproj index 1e7441484..6c186f8ea 100644 --- a/test/msbuild.IntegrationTests/msbuild.IntegrationTests.csproj +++ b/test/msbuild.IntegrationTests/msbuild.IntegrationTests.csproj @@ -23,14 +23,8 @@ - - 15.0.0-preview-20161024-02 - - - 2.2.0-beta4-build1194 - - - 2.2.0-beta4-build3444 - + + + From 8f2e6b99bf07240383fa36b7862b6ff14346c451 Mon Sep 17 00:00:00 2001 From: Piotr Puszkiewicz Date: Thu, 2 Mar 2017 19:43:17 -0800 Subject: [PATCH 13/33] Version as Metadata in dotnet.Tests --- test/dotnet.Tests/dotnet.Tests.csproj | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/test/dotnet.Tests/dotnet.Tests.csproj b/test/dotnet.Tests/dotnet.Tests.csproj index 76c285159..c407bc0ff 100644 --- a/test/dotnet.Tests/dotnet.Tests.csproj +++ b/test/dotnet.Tests/dotnet.Tests.csproj @@ -52,20 +52,10 @@ - - 15.0.0-preview-20161024-02 - - - 2.2.0-beta4-build1194 - - - 2.2.0-beta4-build3444 - - - 1.0.0-prerelease-00206 - - - $(PlatformAbstractionsVersion) - + + + + + From b1be2ab5c5b0cbea8cb99159963d028b34c7a9b6 Mon Sep 17 00:00:00 2001 From: Piotr Puszkiewicz Date: Thu, 2 Mar 2017 19:44:02 -0800 Subject: [PATCH 14/33] Version as Metadata in dotnet-vstest.Tests --- test/dotnet-vstest.Tests/dotnet-vstest.Tests.csproj | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/test/dotnet-vstest.Tests/dotnet-vstest.Tests.csproj b/test/dotnet-vstest.Tests/dotnet-vstest.Tests.csproj index 8be6bfa89..0b32069c7 100644 --- a/test/dotnet-vstest.Tests/dotnet-vstest.Tests.csproj +++ b/test/dotnet-vstest.Tests/dotnet-vstest.Tests.csproj @@ -23,14 +23,8 @@ - - 15.0.0-preview-20161024-02 - - - 2.2.0-beta4-build1194 - - - 2.2.0-beta4-build3444 - + + + From aeb93edca8a37662a0529ae5263980e6177744db Mon Sep 17 00:00:00 2001 From: Piotr Puszkiewicz Date: Thu, 2 Mar 2017 19:44:15 -0800 Subject: [PATCH 15/33] Version as Metadata in dotnet-test.Tests --- test/dotnet-test.Tests/dotnet-test.Tests.csproj | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/test/dotnet-test.Tests/dotnet-test.Tests.csproj b/test/dotnet-test.Tests/dotnet-test.Tests.csproj index 53457c8f9..1126af8d8 100644 --- a/test/dotnet-test.Tests/dotnet-test.Tests.csproj +++ b/test/dotnet-test.Tests/dotnet-test.Tests.csproj @@ -23,14 +23,8 @@ - - 15.0.0-preview-20161024-02 - - - 2.2.0-beta4-build1194 - - - 2.2.0-beta4-build3444 - + + + From 20b9303e94e76a00fac57848cba8d3ed1dfbeb06 Mon Sep 17 00:00:00 2001 From: Piotr Puszkiewicz Date: Thu, 2 Mar 2017 19:44:35 -0800 Subject: [PATCH 16/33] Version as Metadata in dotnet sln remove tests --- .../dotnet-sln-remove.Tests.csproj | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/test/dotnet-sln-remove.Tests/dotnet-sln-remove.Tests.csproj b/test/dotnet-sln-remove.Tests/dotnet-sln-remove.Tests.csproj index b0584c0e6..77ec8a398 100644 --- a/test/dotnet-sln-remove.Tests/dotnet-sln-remove.Tests.csproj +++ b/test/dotnet-sln-remove.Tests/dotnet-sln-remove.Tests.csproj @@ -18,14 +18,8 @@ - - 15.0.0-preview-20161024-02 - - - 2.2.0-beta4-build1194 - - - 2.2.0-beta4-build3444 - + + + From eb811e9a48fe539c4a943dfa6ae454f4d9f66c1a Mon Sep 17 00:00:00 2001 From: Piotr Puszkiewicz Date: Thu, 2 Mar 2017 19:44:49 -0800 Subject: [PATCH 17/33] Version as Metadata in dotnet-sln-list.Tests --- .../dotnet-sln-list.Tests.csproj | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/test/dotnet-sln-list.Tests/dotnet-sln-list.Tests.csproj b/test/dotnet-sln-list.Tests/dotnet-sln-list.Tests.csproj index eef3a4b75..cf1befb50 100644 --- a/test/dotnet-sln-list.Tests/dotnet-sln-list.Tests.csproj +++ b/test/dotnet-sln-list.Tests/dotnet-sln-list.Tests.csproj @@ -18,14 +18,8 @@ - - 15.0.0-preview-20161024-02 - - - 2.2.0-beta4-build1194 - - - 2.2.0-beta4-build3444 - + + + From 75c49aaf1ef7fb35bd4c423f3ffa5b1ca7f4cb33 Mon Sep 17 00:00:00 2001 From: Piotr Puszkiewicz Date: Thu, 2 Mar 2017 19:45:12 -0800 Subject: [PATCH 18/33] Version as Metadata in dotnet-sln-add.Tests --- .../dotnet-sln-add.Tests.csproj | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/test/dotnet-sln-add.Tests/dotnet-sln-add.Tests.csproj b/test/dotnet-sln-add.Tests/dotnet-sln-add.Tests.csproj index 4bd7c986a..2a630a940 100644 --- a/test/dotnet-sln-add.Tests/dotnet-sln-add.Tests.csproj +++ b/test/dotnet-sln-add.Tests/dotnet-sln-add.Tests.csproj @@ -18,17 +18,9 @@ - - 15.0.0-preview-20161024-02 - - - 2.2.0-beta4-build1194 - - - 2.2.0-beta4-build3444 - - - $(CLI_MSBuild_Version) - + + + + From b62dd924f89f456817571edce3d2c3fd96a88a82 Mon Sep 17 00:00:00 2001 From: Piotr Puszkiewicz Date: Thu, 2 Mar 2017 19:45:55 -0800 Subject: [PATCH 19/33] Version as Metadata in remaining test projects --- test/EndToEnd/EndToEnd.csproj | 20 +++------ .../Microsoft.DotNet.Cli.Msi.Tests.csproj | 16 ++----- ...osoft.DotNet.Cli.Sln.Internal.Tests.csproj | 16 ++----- .../Microsoft.DotNet.Cli.Utils.Tests.csproj | 42 +++++-------------- ...crosoft.DotNet.Configurer.UnitTests.csproj | 20 +++------ ...t.DotNet.ProjectJsonMigration.Tests.csproj | 20 +++------ ...rosoft.DotNet.Tools.Tests.Utilities.csproj | 16 ++----- .../dotnet-help.Tests.csproj | 16 ++----- .../dotnet-list-reference.Tests.csproj | 16 ++----- .../dotnet-migrate.Tests.csproj | 20 +++------ .../dotnet-msbuild.Tests.csproj | 12 ++---- test/dotnet-new.Tests/dotnet-new.Tests.csproj | 16 ++----- .../dotnet-nuget.UnitTests.csproj | 16 ++----- .../dotnet-pack.Tests.csproj | 16 ++----- .../dotnet-publish.Tests.csproj | 12 ++---- .../dotnet-remove-reference.Tests.csproj | 22 +++------- .../dotnet-restore.Tests.csproj | 24 +++-------- test/dotnet-run.Tests/dotnet-run.Tests.csproj | 12 ++---- 18 files changed, 84 insertions(+), 248 deletions(-) diff --git a/test/EndToEnd/EndToEnd.csproj b/test/EndToEnd/EndToEnd.csproj index d7689c82e..49747fec5 100644 --- a/test/EndToEnd/EndToEnd.csproj +++ b/test/EndToEnd/EndToEnd.csproj @@ -28,20 +28,10 @@ - - 15.0.0-preview-20161024-02 - - - 2.2.0-beta4-build1194 - - - 2.2.0-beta4-build3444 - - - 1.0.0-prerelease-00206 - - - $(PlatformAbstractionsVersion) - + + + + + diff --git a/test/Installer/Microsoft.DotNet.Cli.Msi.Tests/Microsoft.DotNet.Cli.Msi.Tests.csproj b/test/Installer/Microsoft.DotNet.Cli.Msi.Tests/Microsoft.DotNet.Cli.Msi.Tests.csproj index b24cec34e..e576ed679 100644 --- a/test/Installer/Microsoft.DotNet.Cli.Msi.Tests/Microsoft.DotNet.Cli.Msi.Tests.csproj +++ b/test/Installer/Microsoft.DotNet.Cli.Msi.Tests/Microsoft.DotNet.Cli.Msi.Tests.csproj @@ -16,18 +16,10 @@ - - 1.6.0 - - - 2.2.0-beta4-build3444 - - - 2.1.0 - - - 1.0.0 - + + + + diff --git a/test/Microsoft.DotNet.Cli.Sln.Internal.Tests/Microsoft.DotNet.Cli.Sln.Internal.Tests.csproj b/test/Microsoft.DotNet.Cli.Sln.Internal.Tests/Microsoft.DotNet.Cli.Sln.Internal.Tests.csproj index ee13293c5..562e754f8 100644 --- a/test/Microsoft.DotNet.Cli.Sln.Internal.Tests/Microsoft.DotNet.Cli.Sln.Internal.Tests.csproj +++ b/test/Microsoft.DotNet.Cli.Sln.Internal.Tests/Microsoft.DotNet.Cli.Sln.Internal.Tests.csproj @@ -21,17 +21,9 @@ - - $(CLI_TestPlatform_Version) - - - 2.2.0-beta4-build3444 - - - 2.2.0-beta4-build1194 - - - 4.18.0 - + + + + \ No newline at end of file diff --git a/test/Microsoft.DotNet.Cli.Utils.Tests/Microsoft.DotNet.Cli.Utils.Tests.csproj b/test/Microsoft.DotNet.Cli.Utils.Tests/Microsoft.DotNet.Cli.Utils.Tests.csproj index 6565df694..a9f8eead5 100644 --- a/test/Microsoft.DotNet.Cli.Utils.Tests/Microsoft.DotNet.Cli.Utils.Tests.csproj +++ b/test/Microsoft.DotNet.Cli.Utils.Tests/Microsoft.DotNet.Cli.Utils.Tests.csproj @@ -1,6 +1,6 @@  - + $(CliTargetFramework) $(CLI_SharedFrameworkVersion) @@ -36,35 +36,15 @@ - - 15.0.0-preview-20161024-02 - - - 2.2.0-beta4-build1194 - - - $(CLI_NuGet_Version) - - - $(CLI_NuGet_Version) - - - $(CLI_NuGet_Version) - - - $(CLI_NuGet_Version) - - - 4.4.0-beta8 - - - 2.2.0-beta4-build3444 - - - $(PlatformAbstractionsVersion) - - - $(CLI_MSBuild_Version) - + + + + + + + + + + diff --git a/test/Microsoft.DotNet.Configurer.UnitTests/Microsoft.DotNet.Configurer.UnitTests.csproj b/test/Microsoft.DotNet.Configurer.UnitTests/Microsoft.DotNet.Configurer.UnitTests.csproj index 34cb13f3a..bd4f74fbf 100644 --- a/test/Microsoft.DotNet.Configurer.UnitTests/Microsoft.DotNet.Configurer.UnitTests.csproj +++ b/test/Microsoft.DotNet.Configurer.UnitTests/Microsoft.DotNet.Configurer.UnitTests.csproj @@ -28,20 +28,10 @@ - - 15.0.0-preview-20161024-02 - - - 2.2.0-beta4-build1194 - - - 4.18.0 - - - 4.4.0-beta8 - - - 2.2.0-beta4-build3444 - + + + + + diff --git a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Microsoft.DotNet.ProjectJsonMigration.Tests.csproj b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Microsoft.DotNet.ProjectJsonMigration.Tests.csproj index 09db009b0..7a296ad0e 100644 --- a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Microsoft.DotNet.ProjectJsonMigration.Tests.csproj +++ b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Microsoft.DotNet.ProjectJsonMigration.Tests.csproj @@ -32,20 +32,10 @@ - - 15.0.0-preview-20161024-02 - - - 2.2.0-beta4-build1194 - - - 2.2.0-beta4-build3444 - - - 4.18.0 - - - 4.4.0-beta8 - + + + + + diff --git a/test/Microsoft.DotNet.Tools.Tests.Utilities/Microsoft.DotNet.Tools.Tests.Utilities.csproj b/test/Microsoft.DotNet.Tools.Tests.Utilities/Microsoft.DotNet.Tools.Tests.Utilities.csproj index 9ee038a76..fcf6a8cfc 100644 --- a/test/Microsoft.DotNet.Tools.Tests.Utilities/Microsoft.DotNet.Tools.Tests.Utilities.csproj +++ b/test/Microsoft.DotNet.Tools.Tests.Utilities/Microsoft.DotNet.Tools.Tests.Utilities.csproj @@ -16,17 +16,9 @@ - - 1.6.0 - - - 4.18.0 - - - 2.2.0-beta4-build3444 - - - $(PlatformAbstractionsVersion) - + + + + \ No newline at end of file diff --git a/test/dotnet-help.Tests/dotnet-help.Tests.csproj b/test/dotnet-help.Tests/dotnet-help.Tests.csproj index 76086fab0..3bf57d512 100644 --- a/test/dotnet-help.Tests/dotnet-help.Tests.csproj +++ b/test/dotnet-help.Tests/dotnet-help.Tests.csproj @@ -34,17 +34,9 @@ - - 15.0.0-preview-20161024-02 - - - 2.2.0-beta4-build1194 - - - $(CLI_MSBuild_Version) - - - 2.2.0-beta4-build3444 - + + + + diff --git a/test/dotnet-list-reference.Tests/dotnet-list-reference.Tests.csproj b/test/dotnet-list-reference.Tests/dotnet-list-reference.Tests.csproj index a84af992a..bf48947b5 100644 --- a/test/dotnet-list-reference.Tests/dotnet-list-reference.Tests.csproj +++ b/test/dotnet-list-reference.Tests/dotnet-list-reference.Tests.csproj @@ -25,17 +25,9 @@ - - 15.0.0-preview-20161024-02 - - - 2.2.0-beta4-build1194 - - - 2.2.0-beta4-build3444 - - - 4.18.0 - + + + + diff --git a/test/dotnet-migrate.Tests/dotnet-migrate.Tests.csproj b/test/dotnet-migrate.Tests/dotnet-migrate.Tests.csproj index 41e0b0d92..4f580e402 100644 --- a/test/dotnet-migrate.Tests/dotnet-migrate.Tests.csproj +++ b/test/dotnet-migrate.Tests/dotnet-migrate.Tests.csproj @@ -36,20 +36,10 @@ - - 15.0.0-preview-20161024-02 - - - 2.2.0-beta4-build1194 - - - 2.2.0-beta4-build3444 - - - 4.18.0 - - - 4.4.0-beta8 - + + + + + diff --git a/test/dotnet-msbuild.Tests/dotnet-msbuild.Tests.csproj b/test/dotnet-msbuild.Tests/dotnet-msbuild.Tests.csproj index 49b1c6d6e..6bb558f60 100644 --- a/test/dotnet-msbuild.Tests/dotnet-msbuild.Tests.csproj +++ b/test/dotnet-msbuild.Tests/dotnet-msbuild.Tests.csproj @@ -34,14 +34,8 @@ - - 15.0.0-preview-20161024-02 - - - 2.2.0-beta4-build1194 - - - 2.2.0-beta4-build3444 - + + + diff --git a/test/dotnet-new.Tests/dotnet-new.Tests.csproj b/test/dotnet-new.Tests/dotnet-new.Tests.csproj index f48b81ded..f1ec14d01 100644 --- a/test/dotnet-new.Tests/dotnet-new.Tests.csproj +++ b/test/dotnet-new.Tests/dotnet-new.Tests.csproj @@ -34,17 +34,9 @@ - - 15.0.0-preview-20161024-02 - - - 2.2.0-beta4-build1194 - - - $(CLI_MSBuild_Version) - - - 2.2.0-beta4-build3444 - + + + + diff --git a/test/dotnet-nuget.UnitTests/dotnet-nuget.UnitTests.csproj b/test/dotnet-nuget.UnitTests/dotnet-nuget.UnitTests.csproj index 906e8fde9..64cfadb46 100644 --- a/test/dotnet-nuget.UnitTests/dotnet-nuget.UnitTests.csproj +++ b/test/dotnet-nuget.UnitTests/dotnet-nuget.UnitTests.csproj @@ -34,17 +34,9 @@ - - 15.0.0-preview-20161024-02 - - - 2.2.0-beta4-build1194 - - - 2.2.0-beta4-build3444 - - - 4.4.0-beta8 - + + + + diff --git a/test/dotnet-pack.Tests/dotnet-pack.Tests.csproj b/test/dotnet-pack.Tests/dotnet-pack.Tests.csproj index b3323a1c1..9a44e9dce 100644 --- a/test/dotnet-pack.Tests/dotnet-pack.Tests.csproj +++ b/test/dotnet-pack.Tests/dotnet-pack.Tests.csproj @@ -28,17 +28,9 @@ - - 15.0.0-preview-20161024-02 - - - 2.2.0-beta4-build1194 - - - 4.3.0 - - - 2.2.0-beta4-build3444 - + + + + diff --git a/test/dotnet-publish.Tests/dotnet-publish.Tests.csproj b/test/dotnet-publish.Tests/dotnet-publish.Tests.csproj index 86829a28d..66db41c1a 100644 --- a/test/dotnet-publish.Tests/dotnet-publish.Tests.csproj +++ b/test/dotnet-publish.Tests/dotnet-publish.Tests.csproj @@ -30,14 +30,8 @@ - - 15.0.0-preview-20161024-02 - - - 2.2.0-beta4-build1194 - - - 2.2.0-beta4-build3444 - + + + diff --git a/test/dotnet-remove-reference.Tests/dotnet-remove-reference.Tests.csproj b/test/dotnet-remove-reference.Tests/dotnet-remove-reference.Tests.csproj index 5b9b4e266..ec6dd5cb7 100644 --- a/test/dotnet-remove-reference.Tests/dotnet-remove-reference.Tests.csproj +++ b/test/dotnet-remove-reference.Tests/dotnet-remove-reference.Tests.csproj @@ -1,6 +1,6 @@  - + $(CliTargetFramework) $(CLI_SharedFrameworkVersion) @@ -25,20 +25,10 @@ - - 15.0.0-preview-20161024-02 - - - 2.2.0-beta4-build1194 - - - 2.2.0-beta4-build3444 - - - $(CLI_MSBuild_Version) - - - 4.18.0 - + + + + + diff --git a/test/dotnet-restore.Tests/dotnet-restore.Tests.csproj b/test/dotnet-restore.Tests/dotnet-restore.Tests.csproj index 455f9e57e..61f507cf6 100644 --- a/test/dotnet-restore.Tests/dotnet-restore.Tests.csproj +++ b/test/dotnet-restore.Tests/dotnet-restore.Tests.csproj @@ -34,23 +34,11 @@ - - 15.0.0-preview-20161024-02 - - - 2.2.0-beta4-build1194 - - - $(CLI_MSBuild_Version) - - - 2.2.0-beta4-build3444 - - - $(PlatformAbstractionsVersion) - - - 4.18.0 - + + + + + + diff --git a/test/dotnet-run.Tests/dotnet-run.Tests.csproj b/test/dotnet-run.Tests/dotnet-run.Tests.csproj index 4121c3076..0fd96cf59 100644 --- a/test/dotnet-run.Tests/dotnet-run.Tests.csproj +++ b/test/dotnet-run.Tests/dotnet-run.Tests.csproj @@ -23,14 +23,8 @@ - - 15.0.0-preview-20161024-02 - - - 2.2.0-beta4-build1194 - - - 2.2.0-beta4-build3444 - + + + From 78cf9a29417ae9fcac37e0d8596d53ad64ce7e31 Mon Sep 17 00:00:00 2001 From: Piotr Puszkiewicz Date: Thu, 2 Mar 2017 19:49:30 -0800 Subject: [PATCH 20/33] Version as Metadata in src/ --- .../Microsoft.DotNet.Archive.csproj | 10 ++--- .../Microsoft.DotNet.Cli.Sln.Internal.csproj | 12 ++--- ...crosoft.DotNet.InternalAbstractions.csproj | 38 +++++----------- .../Microsoft.DotNet.TestFramework.csproj | 6 +-- src/dotnet/dotnet.csproj | 45 +++++-------------- 5 files changed, 29 insertions(+), 82 deletions(-) diff --git a/src/Microsoft.DotNet.Archive/Microsoft.DotNet.Archive.csproj b/src/Microsoft.DotNet.Archive/Microsoft.DotNet.Archive.csproj index dcb0a221c..f56ec1381 100644 --- a/src/Microsoft.DotNet.Archive/Microsoft.DotNet.Archive.csproj +++ b/src/Microsoft.DotNet.Archive/Microsoft.DotNet.Archive.csproj @@ -1,6 +1,6 @@  - + Archive and compression types. $(CliVersionPrefix) @@ -10,12 +10,8 @@ true - - 1.6.0 - - - 4.0.1 - + + $(DefineConstants);RELEASE diff --git a/src/Microsoft.DotNet.Cli.Sln.Internal/Microsoft.DotNet.Cli.Sln.Internal.csproj b/src/Microsoft.DotNet.Cli.Sln.Internal/Microsoft.DotNet.Cli.Sln.Internal.csproj index 215c6a5e5..1b4b8d348 100644 --- a/src/Microsoft.DotNet.Cli.Sln.Internal/Microsoft.DotNet.Cli.Sln.Internal.csproj +++ b/src/Microsoft.DotNet.Cli.Sln.Internal/Microsoft.DotNet.Cli.Sln.Internal.csproj @@ -17,14 +17,8 @@ - - 4.0.1 - - - 4.1.0 - - - 1.6.0 - + + + diff --git a/src/Microsoft.DotNet.InternalAbstractions/Microsoft.DotNet.InternalAbstractions.csproj b/src/Microsoft.DotNet.InternalAbstractions/Microsoft.DotNet.InternalAbstractions.csproj index 373a80b57..e909bd87f 100644 --- a/src/Microsoft.DotNet.InternalAbstractions/Microsoft.DotNet.InternalAbstractions.csproj +++ b/src/Microsoft.DotNet.InternalAbstractions/Microsoft.DotNet.InternalAbstractions.csproj @@ -13,37 +13,19 @@ git git://github.com/dotnet/cli - + - - 1.6.0 - + - - 4.1.0 - - - 4.0.11 - - - 4.1.0 - - - 4.0.1 - - - 4.1.0 - - - 4.1.0 - - - 4.1.0 - - - 4.0.0 - + + + + + + + + $(DefineConstants);RELEASE diff --git a/src/Microsoft.DotNet.TestFramework/Microsoft.DotNet.TestFramework.csproj b/src/Microsoft.DotNet.TestFramework/Microsoft.DotNet.TestFramework.csproj index df14f600d..0372e9ebc 100644 --- a/src/Microsoft.DotNet.TestFramework/Microsoft.DotNet.TestFramework.csproj +++ b/src/Microsoft.DotNet.TestFramework/Microsoft.DotNet.TestFramework.csproj @@ -9,14 +9,12 @@ true true - + - - 4.0.1 - + diff --git a/src/dotnet/dotnet.csproj b/src/dotnet/dotnet.csproj index 92b1899fb..a855b26b8 100644 --- a/src/dotnet/dotnet.csproj +++ b/src/dotnet/dotnet.csproj @@ -28,40 +28,17 @@ - - 9.0.1 - - - 4.3.0 - - - 2.0.0 - - - $(CLI_SharedFrameworkVersion) - - - 4.3.0 - - - 4.3.0 - - - 4.3.0 - - - 4.3.0 - - - 4.3.0 - Analyzers;Build;ContentFiles;Native;Runtime - - - $(CLI_MSBuild_Version) - - - $(PlatformAbstractionsVersion) - + + + + + + + + + + + From f39eeaf1c3f08bb8a6f6ef7715cf80a5808c0b22 Mon Sep 17 00:00:00 2001 From: Piotr Puszkiewicz Date: Thu, 2 Mar 2017 19:50:19 -0800 Subject: [PATCH 21/33] Version as Metadata in build_projects/ --- ...icrosoft.DotNet.Cli.Build.Framework.csproj | 16 ++---- .../dotnet-cli-build/dotnet-cli-build.csproj | 54 +++++-------------- .../shared-build-targets-utils.csproj | 36 ++++--------- 3 files changed, 27 insertions(+), 79 deletions(-) diff --git a/build_projects/Microsoft.DotNet.Cli.Build.Framework/Microsoft.DotNet.Cli.Build.Framework.csproj b/build_projects/Microsoft.DotNet.Cli.Build.Framework/Microsoft.DotNet.Cli.Build.Framework.csproj index 23da68d2b..f0dcb7585 100644 --- a/build_projects/Microsoft.DotNet.Cli.Build.Framework/Microsoft.DotNet.Cli.Build.Framework.csproj +++ b/build_projects/Microsoft.DotNet.Cli.Build.Framework/Microsoft.DotNet.Cli.Build.Framework.csproj @@ -10,18 +10,10 @@ - - 1.6.0 - - - 4.1.0 - - - 4.1.0 - - - 1.0.1-beta-000933 - + + + + diff --git a/build_projects/dotnet-cli-build/dotnet-cli-build.csproj b/build_projects/dotnet-cli-build/dotnet-cli-build.csproj index 5ad281a48..423365cd1 100644 --- a/build_projects/dotnet-cli-build/dotnet-cli-build.csproj +++ b/build_projects/dotnet-cli-build/dotnet-cli-build.csproj @@ -6,53 +6,27 @@ netcoreapp1.0 true bin\$(Configuration) - $(PackageTargetFallback);portable-net45+win8+wp8+wpa81 + $(PackageTargetFallback);portable-net45+win8+wp8+wpa81 - - 1.6.0 - - - 1.0.4 - - - $(CLI_MSBuild_Version) - - - 4.0.1 - - - 4.0.11 - - - 1.4.1-beta-24410-02 - - - 4.1.1 - - - 4.0.11 - - - 7.2.1 - - - $(CLI_NuGet_Version) - - - $(CLI_MSBuild_Version) - + + + + + + + + + + + - - $(CLI_MSBuild_Version) - - - 1.0.1-beta-000933 - + + \ No newline at end of file diff --git a/build_projects/shared-build-targets-utils/shared-build-targets-utils.csproj b/build_projects/shared-build-targets-utils/shared-build-targets-utils.csproj index e714a0b50..ae62545a2 100644 --- a/build_projects/shared-build-targets-utils/shared-build-targets-utils.csproj +++ b/build_projects/shared-build-targets-utils/shared-build-targets-utils.csproj @@ -13,33 +13,15 @@ - - 1.6.0 - - - 4.0.1 - - - 4.0.11 - - - 1.4.1-beta-24410-02 - - - 4.1.1 - - - 4.0.0 - - - 4.0.11 - - - 7.2.1 - - - 1.0.1-beta-000933 - + + + + + + + + + From a5862752c9ed50255d5c3ff4147edf6de414162e Mon Sep 17 00:00:00 2001 From: Piotr Puszkiewicz Date: Thu, 2 Mar 2017 19:50:46 -0800 Subject: [PATCH 22/33] Version as Metadata in build/ --- build/sdks/sdks.csproj | 8 +++----- build/templates/templates.csproj | 8 +++----- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/build/sdks/sdks.csproj b/build/sdks/sdks.csproj index cdf3c4d9c..4c8158628 100755 --- a/build/sdks/sdks.csproj +++ b/build/sdks/sdks.csproj @@ -1,6 +1,6 @@  - + Library netcoreapp1.0 @@ -8,10 +8,8 @@ - - $(SdkPackageVersion) - + - + diff --git a/build/templates/templates.csproj b/build/templates/templates.csproj index cb3006f89..099a67e3f 100644 --- a/build/templates/templates.csproj +++ b/build/templates/templates.csproj @@ -1,6 +1,6 @@ - + Library netcoreapp1.0 @@ -8,10 +8,8 @@ - - $(TemplatePackageVersion) - + - + From 19e486bcb22c5de5791c12ca5ba5d24393e294e8 Mon Sep 17 00:00:00 2001 From: Piotr Puszkiewicz Date: Thu, 2 Mar 2017 19:52:26 -0800 Subject: [PATCH 23/33] Version as Metadata in TestAssets --- .../AppWithProjTool2Fx/App.csproj | 13 ++++--------- .../AppWithRedirectsAndConfig.csproj | 19 +++++-------------- .../AppWithRedirectsNoConfig.csproj | 19 +++++-------------- .../LibWithProjTool2Fx/Lib.csproj | 11 +++-------- .../App/AppThrowingException.csproj | 4 +--- .../AppDependingOnOtherAsTool.csproj | 7 ++----- .../AppWithNonExistingToolDependency.csproj | 3 +-- .../EmptyItemGroup/EmptyItemGroup.csproj | 4 +--- .../DotnetAddP2PProjects/Lib/Lib.csproj | 4 +--- .../DotnetAddP2PProjects/MoreThanOne/a.csproj | 4 +--- .../DotnetAddP2PProjects/MoreThanOne/b.csproj | 4 +--- .../Net452AndNetCoreApp10Lib.csproj | 4 +--- .../Net45Lib/Net45Lib.csproj | 4 +--- .../ValidRef/ValidRef.csproj | 4 +--- .../WithDoubledRef/WithDoubledRef.csproj | 4 +--- .../WithExistingRefCondOnItem.csproj | 4 +--- .../WithExistingRefCondWhitespaces.csproj | 4 +--- .../WithRefCondNonUniform.csproj | 4 +--- .../WithRefNoCondNonUniform.csproj | 4 +--- .../TestApp/src/subdir/subdir.csproj | 4 +--- ...ectWithUnresolvedPlatformDependency.csproj | 4 +--- .../AppWithDepOnTool/AppWithDepOnTool.csproj | 3 +-- .../PackageWithFakeNativeDep.csproj | 4 +--- .../ToolWithOutputName.csproj | 4 +--- .../dotnet-dependency-context-test.csproj | 8 ++------ .../dotnet-dependency-tool-invoker.csproj | 12 +++--------- .../dotnet-desktop-and-portable.csproj | 4 +--- .../dotnet-desktop-binding-redirects.csproj | 4 +--- .../dotnet-portable/dotnet-portable.csproj | 4 +--- .../dotnet-prefercliruntime.csproj | 6 ++---- .../AppWithDepOnToolWithOutputName.csproj | 7 ++----- .../AppWithDirectAndToolDep.csproj | 7 ++----- .../AppWithDirectDep/AppWithDirectDep.csproj | 4 +--- .../AppWithDirectDepWithOutputName.csproj | 11 +++-------- ...ldAppWithMultipleFrameworksAndTools.csproj | 11 +++-------- .../AppWithToolDependency.csproj | 10 +++------- .../DependencyContextFromTool.csproj | 7 ++----- .../MyLibrary.csproj | 4 +--- .../MSBuildAppWithMultipleFrameworks.csproj | 4 +--- ...ldAppWithMultipleFrameworksAndTools.csproj | 11 +++-------- .../MSBuildTestApp/MSBuildTestApp.csproj | 6 ++---- .../SingleTargetApp/SingleTargetApp.csproj | 7 ++----- .../SingleTargetP0/SingleTargetP0.csproj | 7 ++----- .../SingleTargetP1/SingleTargetP1.csproj | 7 ++----- .../SingleTargetP2/SingleTargetP2.csproj | 7 ++----- .../TwoTargetApp/TwoTargetApp.csproj | 15 ++++----------- .../TwoTargetP0/TwoTargetP0.csproj | 15 ++++----------- .../TwoTargetP1/TwoTargetP1.csproj | 11 +++-------- .../TwoTargetP2/TwoTargetP2.csproj | 11 +++-------- .../TwoTargetLargeP0/TwoTargetLargeP0.csproj | 15 ++++----------- .../TwoTargetLargeP1/TwoTargetLargeP1.csproj | 11 +++-------- .../TwoTargetLargeP2/TwoTargetLargeP2.csproj | 11 +++-------- .../TwoTargetLargeP3/TwoTargetLargeP3.csproj | 11 +++-------- .../TwoTargetLargeP4/TwoTargetLargeP4.csproj | 11 +++-------- .../TwoTargetLargeP5/TwoTargetLargeP5.csproj | 11 +++-------- .../TwoTargetLargeP6/TwoTargetLargeP6.csproj | 11 +++-------- .../CsprojLibrary1/CsprojLibrary1.csproj | 4 +--- .../CsprojLibrary2/CsprojLibrary2.csproj | 4 +--- .../CsprojLibrary3/CsprojLibrary3.csproj | 4 +--- .../TestAppSimple/TestAppSimple.csproj | 4 +--- .../TestAppWithProjDepTool.csproj | 10 +++------- .../TestLibraryWithConfiguration.csproj | 4 +--- .../VSTestDesktopAndNetCore.csproj | 16 ++++------------ .../VSTestDotNetCore/VSTestDotNetCore.csproj | 16 ++++------------ .../VSTestXunitDesktopAndNetCore.csproj | 18 +++++------------- .../VSTestXunitDotNetCore.csproj | 16 ++++------------ 66 files changed, 140 insertions(+), 380 deletions(-) diff --git a/TestAssets/DesktopTestProjects/AppWithProjTool2Fx/App.csproj b/TestAssets/DesktopTestProjects/AppWithProjTool2Fx/App.csproj index 4096632bd..2aacbf8bc 100644 --- a/TestAssets/DesktopTestProjects/AppWithProjTool2Fx/App.csproj +++ b/TestAssets/DesktopTestProjects/AppWithProjTool2Fx/App.csproj @@ -5,24 +5,19 @@ $(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 - + - - 1.0.0-* - + - - 1.0.3 - + - - 1.0.0-* + diff --git a/TestAssets/DesktopTestProjects/BindingRedirectSample/AppWithRedirectsAndConfig/AppWithRedirectsAndConfig.csproj b/TestAssets/DesktopTestProjects/BindingRedirectSample/AppWithRedirectsAndConfig/AppWithRedirectsAndConfig.csproj index 35f2ba2b2..c1e36c538 100644 --- a/TestAssets/DesktopTestProjects/BindingRedirectSample/AppWithRedirectsAndConfig/AppWithRedirectsAndConfig.csproj +++ b/TestAssets/DesktopTestProjects/BindingRedirectSample/AppWithRedirectsAndConfig/AppWithRedirectsAndConfig.csproj @@ -11,18 +11,10 @@ - - 8.0.3 - - - 3.0.50813.1 - - - 3.0.1304 - - - 1.0.0-* - + + + + @@ -31,8 +23,7 @@ - - 1.0.0-* + - 8.0.3 - - - 3.0.50813.1 - - - 3.0.1304 - - - 1.0.0-* - + + + + @@ -31,8 +23,7 @@ - - 1.0.0-* + - 1.0.0-* - + - - 1.6.0 - + - - 1.0.0-* + diff --git a/TestAssets/NonRestoredTestProjects/AppThrowingException/App/AppThrowingException.csproj b/TestAssets/NonRestoredTestProjects/AppThrowingException/App/AppThrowingException.csproj index 366798fca..008da4431 100644 --- a/TestAssets/NonRestoredTestProjects/AppThrowingException/App/AppThrowingException.csproj +++ b/TestAssets/NonRestoredTestProjects/AppThrowingException/App/AppThrowingException.csproj @@ -14,9 +14,7 @@ - - 1.0.3 - + diff --git a/TestAssets/NonRestoredTestProjects/AppThrowingException/AppDependingOnOtherAsTool/AppDependingOnOtherAsTool.csproj b/TestAssets/NonRestoredTestProjects/AppThrowingException/AppDependingOnOtherAsTool/AppDependingOnOtherAsTool.csproj index 04b137131..dfee5f090 100644 --- a/TestAssets/NonRestoredTestProjects/AppThrowingException/AppDependingOnOtherAsTool/AppDependingOnOtherAsTool.csproj +++ b/TestAssets/NonRestoredTestProjects/AppThrowingException/AppDependingOnOtherAsTool/AppDependingOnOtherAsTool.csproj @@ -6,14 +6,11 @@ - - 1.0.3 - + - - 1.0.0 + - 1.0.0 + - - 1.0.3 - + diff --git a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/Lib/Lib.csproj b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/Lib/Lib.csproj index 51f727a05..64e0659ba 100644 --- a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/Lib/Lib.csproj +++ b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/Lib/Lib.csproj @@ -5,8 +5,6 @@ - - 1.0.3 - + diff --git a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/MoreThanOne/a.csproj b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/MoreThanOne/a.csproj index a7277eb65..15c2eced6 100644 --- a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/MoreThanOne/a.csproj +++ b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/MoreThanOne/a.csproj @@ -4,8 +4,6 @@ netcoreapp1.0 - - 1.0.3 - + diff --git a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/MoreThanOne/b.csproj b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/MoreThanOne/b.csproj index a7277eb65..15c2eced6 100644 --- a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/MoreThanOne/b.csproj +++ b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/MoreThanOne/b.csproj @@ -4,8 +4,6 @@ netcoreapp1.0 - - 1.0.3 - + diff --git a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/Net452AndNetCoreApp10Lib/Net452AndNetCoreApp10Lib.csproj b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/Net452AndNetCoreApp10Lib/Net452AndNetCoreApp10Lib.csproj index 6e627ad42..bf854db06 100644 --- a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/Net452AndNetCoreApp10Lib/Net452AndNetCoreApp10Lib.csproj +++ b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/Net452AndNetCoreApp10Lib/Net452AndNetCoreApp10Lib.csproj @@ -4,8 +4,6 @@ net452;netcoreapp1.0 - - 1.0.3 - + diff --git a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/Net45Lib/Net45Lib.csproj b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/Net45Lib/Net45Lib.csproj index 96073b2c7..ae3ebf8f8 100644 --- a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/Net45Lib/Net45Lib.csproj +++ b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/Net45Lib/Net45Lib.csproj @@ -4,8 +4,6 @@ net45 - - 1.0.3 - + diff --git a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/ValidRef/ValidRef.csproj b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/ValidRef/ValidRef.csproj index 044fe40ef..3299dd548 100644 --- a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/ValidRef/ValidRef.csproj +++ b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/ValidRef/ValidRef.csproj @@ -4,8 +4,6 @@ net451;netcoreapp1.0;netstandard1.4 - - 1.0.3 - + diff --git a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithDoubledRef/WithDoubledRef.csproj b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithDoubledRef/WithDoubledRef.csproj index 09b0759f1..c68609c55 100644 --- a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithDoubledRef/WithDoubledRef.csproj +++ b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithDoubledRef/WithDoubledRef.csproj @@ -4,9 +4,7 @@ net451;netcoreapp1.0 - - 1.0.3 - + diff --git a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithExistingRefCondOnItem/WithExistingRefCondOnItem.csproj b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithExistingRefCondOnItem/WithExistingRefCondOnItem.csproj index 0464c2816..2758b95c1 100644 --- a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithExistingRefCondOnItem/WithExistingRefCondOnItem.csproj +++ b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithExistingRefCondOnItem/WithExistingRefCondOnItem.csproj @@ -4,9 +4,7 @@ net451;netcoreapp1.0 - - 1.0.3 - + diff --git a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithExistingRefCondWhitespaces/WithExistingRefCondWhitespaces.csproj b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithExistingRefCondWhitespaces/WithExistingRefCondWhitespaces.csproj index 949805ccc..fc53d4535 100644 --- a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithExistingRefCondWhitespaces/WithExistingRefCondWhitespaces.csproj +++ b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithExistingRefCondWhitespaces/WithExistingRefCondWhitespaces.csproj @@ -4,9 +4,7 @@ net451;netcoreapp1.0 - - 1.0.3 - + diff --git a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithRefCondNonUniform/WithRefCondNonUniform.csproj b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithRefCondNonUniform/WithRefCondNonUniform.csproj index ebf9b12ee..f1e277258 100644 --- a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithRefCondNonUniform/WithRefCondNonUniform.csproj +++ b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithRefCondNonUniform/WithRefCondNonUniform.csproj @@ -4,9 +4,7 @@ net451;netcoreapp1.0 - - 1.0.3 - + diff --git a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithRefNoCondNonUniform/WithRefNoCondNonUniform.csproj b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithRefNoCondNonUniform/WithRefNoCondNonUniform.csproj index 370bc5873..35488c294 100644 --- a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithRefNoCondNonUniform/WithRefNoCondNonUniform.csproj +++ b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithRefNoCondNonUniform/WithRefNoCondNonUniform.csproj @@ -4,9 +4,7 @@ net451;netcoreapp1.0 - - 1.0.3 - + diff --git a/TestAssets/NonRestoredTestProjects/PJAppWithSlnAndXprojRefThatRefsCsprojWhereSlnDoesNotRefCsproj/TestApp/src/subdir/subdir.csproj b/TestAssets/NonRestoredTestProjects/PJAppWithSlnAndXprojRefThatRefsCsprojWhereSlnDoesNotRefCsproj/TestApp/src/subdir/subdir.csproj index 731464ac2..a69a76261 100644 --- a/TestAssets/NonRestoredTestProjects/PJAppWithSlnAndXprojRefThatRefsCsprojWhereSlnDoesNotRefCsproj/TestApp/src/subdir/subdir.csproj +++ b/TestAssets/NonRestoredTestProjects/PJAppWithSlnAndXprojRefThatRefsCsprojWhereSlnDoesNotRefCsproj/TestApp/src/subdir/subdir.csproj @@ -9,9 +9,7 @@ - - 1.6.0 - + diff --git a/TestAssets/NonRestoredTestProjects/TestProjectWithUnresolvedPlatformDependency/TestProjectWithUnresolvedPlatformDependency.csproj b/TestAssets/NonRestoredTestProjects/TestProjectWithUnresolvedPlatformDependency/TestProjectWithUnresolvedPlatformDependency.csproj index 890428162..2d98ed452 100755 --- a/TestAssets/NonRestoredTestProjects/TestProjectWithUnresolvedPlatformDependency/TestProjectWithUnresolvedPlatformDependency.csproj +++ b/TestAssets/NonRestoredTestProjects/TestProjectWithUnresolvedPlatformDependency/TestProjectWithUnresolvedPlatformDependency.csproj @@ -5,9 +5,7 @@ $(PackageTargetFallback);dnxcore50 - - 1.0.0 - + $(DefineConstants);RELEASE diff --git a/TestAssets/NonRestoredTestProjects/ToolWithRandomPackageName/AppWithDepOnTool/AppWithDepOnTool.csproj b/TestAssets/NonRestoredTestProjects/ToolWithRandomPackageName/AppWithDepOnTool/AppWithDepOnTool.csproj index de60f199d..0005a3bd4 100644 --- a/TestAssets/NonRestoredTestProjects/ToolWithRandomPackageName/AppWithDepOnTool/AppWithDepOnTool.csproj +++ b/TestAssets/NonRestoredTestProjects/ToolWithRandomPackageName/AppWithDepOnTool/AppWithDepOnTool.csproj @@ -8,8 +8,7 @@ - - 1.0.0 + - 1.6.0 - + diff --git a/TestAssets/TestPackages/ToolWithOutputName/ToolWithOutputName.csproj b/TestAssets/TestPackages/ToolWithOutputName/ToolWithOutputName.csproj index 59a2ee3db..42fc8102d 100644 --- a/TestAssets/TestPackages/ToolWithOutputName/ToolWithOutputName.csproj +++ b/TestAssets/TestPackages/ToolWithOutputName/ToolWithOutputName.csproj @@ -13,9 +13,7 @@ - - 1.0.4 - + 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 95d254ef9..f9511694f 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 @@ -14,12 +14,8 @@ - - 1.0.4 - - - 1.0.1-beta-000933 - + + 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 3d7b4134e..ed5ba528e 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 @@ -23,15 +23,9 @@ - - 1.0.4 - - - $(CLI_NuGet_Version) - - - $(SdkNugetVersion) - + + + 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 41da0203f..ab8932531 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 @@ -14,9 +14,7 @@ - - 1.0.4 - + diff --git a/TestAssets/TestPackages/dotnet-desktop-binding-redirects/dotnet-desktop-binding-redirects.csproj b/TestAssets/TestPackages/dotnet-desktop-binding-redirects/dotnet-desktop-binding-redirects.csproj index cea1ac554..6eec2921a 100644 --- a/TestAssets/TestPackages/dotnet-desktop-binding-redirects/dotnet-desktop-binding-redirects.csproj +++ b/TestAssets/TestPackages/dotnet-desktop-binding-redirects/dotnet-desktop-binding-redirects.csproj @@ -9,9 +9,7 @@ - - 5.0.0 - + diff --git a/TestAssets/TestPackages/dotnet-portable/dotnet-portable.csproj b/TestAssets/TestPackages/dotnet-portable/dotnet-portable.csproj index ae9f8d61b..c9e87907e 100644 --- a/TestAssets/TestPackages/dotnet-portable/dotnet-portable.csproj +++ b/TestAssets/TestPackages/dotnet-portable/dotnet-portable.csproj @@ -15,9 +15,7 @@ - - 1.0.4 - + diff --git a/TestAssets/TestPackages/dotnet-prefercliruntime/dotnet-prefercliruntime.csproj b/TestAssets/TestPackages/dotnet-prefercliruntime/dotnet-prefercliruntime.csproj index 5ee797803..683f6c155 100644 --- a/TestAssets/TestPackages/dotnet-prefercliruntime/dotnet-prefercliruntime.csproj +++ b/TestAssets/TestPackages/dotnet-prefercliruntime/dotnet-prefercliruntime.csproj @@ -11,7 +11,7 @@ $(ProjectRuntimeConfigFilePath) - + true \prefercliruntime @@ -19,9 +19,7 @@ - - 1.0.0 - + diff --git a/TestAssets/TestProjects/AppWithDepOnToolWithOutputName/AppWithDepOnToolWithOutputName.csproj b/TestAssets/TestProjects/AppWithDepOnToolWithOutputName/AppWithDepOnToolWithOutputName.csproj index 1c2ecdf95..8396e8086 100755 --- a/TestAssets/TestProjects/AppWithDepOnToolWithOutputName/AppWithDepOnToolWithOutputName.csproj +++ b/TestAssets/TestProjects/AppWithDepOnToolWithOutputName/AppWithDepOnToolWithOutputName.csproj @@ -5,13 +5,10 @@ - - 1.0.3 - + - - 1.0.0 + diff --git a/TestAssets/TestProjects/AppWithDirectAndToolDep/AppWithDirectAndToolDep.csproj b/TestAssets/TestProjects/AppWithDirectAndToolDep/AppWithDirectAndToolDep.csproj index 7935c117c..4f69f8b94 100755 --- a/TestAssets/TestProjects/AppWithDirectAndToolDep/AppWithDirectAndToolDep.csproj +++ b/TestAssets/TestProjects/AppWithDirectAndToolDep/AppWithDirectAndToolDep.csproj @@ -5,13 +5,10 @@ - - 1.0.0 - + - - 1.0.0 + - 1.0.0 - + \ No newline at end of file diff --git a/TestAssets/TestProjects/AppWithDirectDepWithOutputName/AppWithDirectDepWithOutputName.csproj b/TestAssets/TestProjects/AppWithDirectDepWithOutputName/AppWithDirectDepWithOutputName.csproj index 877cce870..433c30180 100755 --- a/TestAssets/TestProjects/AppWithDirectDepWithOutputName/AppWithDirectDepWithOutputName.csproj +++ b/TestAssets/TestProjects/AppWithDirectDepWithOutputName/AppWithDirectDepWithOutputName.csproj @@ -5,16 +5,11 @@ - - 1.0.0 - - - 1.0.3 - + + - - 1.0.0-* + diff --git a/TestAssets/TestProjects/AppWithMultipleFxAndTools/MSBuildAppWithMultipleFrameworksAndTools.csproj b/TestAssets/TestProjects/AppWithMultipleFxAndTools/MSBuildAppWithMultipleFrameworksAndTools.csproj index 8c58766c2..fc0d32f8f 100644 --- a/TestAssets/TestProjects/AppWithMultipleFxAndTools/MSBuildAppWithMultipleFrameworksAndTools.csproj +++ b/TestAssets/TestProjects/AppWithMultipleFxAndTools/MSBuildAppWithMultipleFrameworksAndTools.csproj @@ -5,19 +5,14 @@ - - 1.0.0-* - + - - 1.0.3 - + - - 1.0.0-* + - 1.0.3 - + - - 1.0.0 + - 1.0.0 + diff --git a/TestAssets/TestProjects/DependencyContextFromTool/DependencyContextFromTool.csproj b/TestAssets/TestProjects/DependencyContextFromTool/DependencyContextFromTool.csproj index 6a76893df..cf21abda0 100755 --- a/TestAssets/TestProjects/DependencyContextFromTool/DependencyContextFromTool.csproj +++ b/TestAssets/TestProjects/DependencyContextFromTool/DependencyContextFromTool.csproj @@ -9,13 +9,10 @@ - - 1.0.3 - + - - 1.0.0-* + diff --git a/TestAssets/TestProjects/LibraryWithOutputAssemblyName/MyLibrary.csproj b/TestAssets/TestProjects/LibraryWithOutputAssemblyName/MyLibrary.csproj index 529d3f399..03d1cfc87 100755 --- a/TestAssets/TestProjects/LibraryWithOutputAssemblyName/MyLibrary.csproj +++ b/TestAssets/TestProjects/LibraryWithOutputAssemblyName/MyLibrary.csproj @@ -4,9 +4,7 @@ - - 1.6.0 - + $(DefineConstants);RELEASE diff --git a/TestAssets/TestProjects/MSBuildAppWithMultipleFrameworks/MSBuildAppWithMultipleFrameworks.csproj b/TestAssets/TestProjects/MSBuildAppWithMultipleFrameworks/MSBuildAppWithMultipleFrameworks.csproj index 1125a1669..396ff3ae4 100644 --- a/TestAssets/TestProjects/MSBuildAppWithMultipleFrameworks/MSBuildAppWithMultipleFrameworks.csproj +++ b/TestAssets/TestProjects/MSBuildAppWithMultipleFrameworks/MSBuildAppWithMultipleFrameworks.csproj @@ -5,9 +5,7 @@ - - 1.0.3 - + \ No newline at end of file diff --git a/TestAssets/TestProjects/MSBuildAppWithMultipleFrameworksAndTools/MSBuildAppWithMultipleFrameworksAndTools.csproj b/TestAssets/TestProjects/MSBuildAppWithMultipleFrameworksAndTools/MSBuildAppWithMultipleFrameworksAndTools.csproj index 8c58766c2..fc0d32f8f 100644 --- a/TestAssets/TestProjects/MSBuildAppWithMultipleFrameworksAndTools/MSBuildAppWithMultipleFrameworksAndTools.csproj +++ b/TestAssets/TestProjects/MSBuildAppWithMultipleFrameworksAndTools/MSBuildAppWithMultipleFrameworksAndTools.csproj @@ -5,19 +5,14 @@ - - 1.0.0-* - + - - 1.0.3 - + - - 1.0.0-* + - 1.0.0 + - 1.0.0 + - - $(CLI_NETSDK_Version) + - 1.0.3 - + $(DefineConstants);NETCOREAPP1_0 diff --git a/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetGraph/SingleTargetP0/SingleTargetP0.csproj b/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetGraph/SingleTargetP0/SingleTargetP0.csproj index 4997045cc..6919f3aab 100755 --- a/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetGraph/SingleTargetP0/SingleTargetP0.csproj +++ b/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetGraph/SingleTargetP0/SingleTargetP0.csproj @@ -16,13 +16,10 @@ - - $(CLI_NETSDK_Version) + - 1.0.3 - + $(DefineConstants);NETCOREAPP1_0 diff --git a/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetGraph/SingleTargetP1/SingleTargetP1.csproj b/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetGraph/SingleTargetP1/SingleTargetP1.csproj index e85446e4e..21d38e1c3 100755 --- a/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetGraph/SingleTargetP1/SingleTargetP1.csproj +++ b/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetGraph/SingleTargetP1/SingleTargetP1.csproj @@ -15,13 +15,10 @@ - - $(CLI_NETSDK_Version) + - 1.0.3 - + $(DefineConstants);NETCOREAPP1_0 diff --git a/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetGraph/SingleTargetP2/SingleTargetP2.csproj b/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetGraph/SingleTargetP2/SingleTargetP2.csproj index 37b69a72b..e49cfcc5c 100755 --- a/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetGraph/SingleTargetP2/SingleTargetP2.csproj +++ b/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetGraph/SingleTargetP2/SingleTargetP2.csproj @@ -12,13 +12,10 @@ - - $(CLI_NETSDK_Version) + - 1.0.3 - + $(DefineConstants);NETCOREAPP1_0 diff --git a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetApp/TwoTargetApp.csproj b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetApp/TwoTargetApp.csproj index 6ef51aa6d..385037177 100755 --- a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetApp/TwoTargetApp.csproj +++ b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetApp/TwoTargetApp.csproj @@ -13,23 +13,16 @@ - - $(CLI_NETSDK_Version) + - - 1.0.3 - + - - 1.6.0 - - - 1.0.4 - + + $(DefineConstants);NETCOREAPP1_0 diff --git a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraph/TwoTargetP0/TwoTargetP0.csproj b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraph/TwoTargetP0/TwoTargetP0.csproj index a71a9bc5e..76b0357c3 100755 --- a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraph/TwoTargetP0/TwoTargetP0.csproj +++ b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraph/TwoTargetP0/TwoTargetP0.csproj @@ -16,23 +16,16 @@ - - $(CLI_NETSDK_Version) + - - 1.0.3 - + - - 1.6.0 - - - 1.0.4 - + + $(DefineConstants);NETCOREAPP1_0 diff --git a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraph/TwoTargetP1/TwoTargetP1.csproj b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraph/TwoTargetP1/TwoTargetP1.csproj index 05206f4df..561df5ff0 100755 --- a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraph/TwoTargetP1/TwoTargetP1.csproj +++ b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraph/TwoTargetP1/TwoTargetP1.csproj @@ -15,20 +15,15 @@ - - $(CLI_NETSDK_Version) + - - 1.0.3 - + - - 1.6.0 - + $(DefineConstants);NETCOREAPP1_0 diff --git a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraph/TwoTargetP2/TwoTargetP2.csproj b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraph/TwoTargetP2/TwoTargetP2.csproj index f6c4514e7..1ce79932e 100755 --- a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraph/TwoTargetP2/TwoTargetP2.csproj +++ b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraph/TwoTargetP2/TwoTargetP2.csproj @@ -12,20 +12,15 @@ - - $(CLI_NETSDK_Version) + - - 1.0.3 - + - - 1.6.0 - + $(DefineConstants);NETCOREAPP1_0 diff --git a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP0/TwoTargetLargeP0.csproj b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP0/TwoTargetLargeP0.csproj index a657879c1..6626a05fe 100755 --- a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP0/TwoTargetLargeP0.csproj +++ b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP0/TwoTargetLargeP0.csproj @@ -16,23 +16,16 @@ - - $(CLI_NETSDK_Version) + - - 1.0.3 - + - - 1.6.0 - - - 1.0.4 - + + $(DefineConstants);NETCOREAPP1_0 diff --git a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP1/TwoTargetLargeP1.csproj b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP1/TwoTargetLargeP1.csproj index 101cfe3ab..cf1b1ed67 100755 --- a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP1/TwoTargetLargeP1.csproj +++ b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP1/TwoTargetLargeP1.csproj @@ -16,20 +16,15 @@ - - $(CLI_NETSDK_Version) + - - 1.0.3 - + - - 1.6.0 - + $(DefineConstants);NETCOREAPP1_0 diff --git a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP2/TwoTargetLargeP2.csproj b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP2/TwoTargetLargeP2.csproj index a9c50ae5c..bba2099fd 100755 --- a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP2/TwoTargetLargeP2.csproj +++ b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP2/TwoTargetLargeP2.csproj @@ -16,20 +16,15 @@ - - $(CLI_NETSDK_Version) + - - 1.0.3 - + - - 1.6.0 - + $(DefineConstants);NETCOREAPP1_0 diff --git a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP3/TwoTargetLargeP3.csproj b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP3/TwoTargetLargeP3.csproj index 6930893a8..28d4585c4 100755 --- a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP3/TwoTargetLargeP3.csproj +++ b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP3/TwoTargetLargeP3.csproj @@ -15,20 +15,15 @@ - - $(CLI_NETSDK_Version) + - - 1.0.3 - + - - 1.6.0 - + $(DefineConstants);NETCOREAPP1_0 diff --git a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP4/TwoTargetLargeP4.csproj b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP4/TwoTargetLargeP4.csproj index b474c59bb..501c9d4b4 100755 --- a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP4/TwoTargetLargeP4.csproj +++ b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP4/TwoTargetLargeP4.csproj @@ -16,20 +16,15 @@ - - $(CLI_NETSDK_Version) + - - 1.0.3 - + - - 1.6.0 - + $(DefineConstants);NETCOREAPP1_0 diff --git a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP5/TwoTargetLargeP5.csproj b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP5/TwoTargetLargeP5.csproj index f6c4514e7..1ce79932e 100755 --- a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP5/TwoTargetLargeP5.csproj +++ b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP5/TwoTargetLargeP5.csproj @@ -12,20 +12,15 @@ - - $(CLI_NETSDK_Version) + - - 1.0.3 - + - - 1.6.0 - + $(DefineConstants);NETCOREAPP1_0 diff --git a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP6/TwoTargetLargeP6.csproj b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP6/TwoTargetLargeP6.csproj index f6c4514e7..1ce79932e 100755 --- a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP6/TwoTargetLargeP6.csproj +++ b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP6/TwoTargetLargeP6.csproj @@ -12,20 +12,15 @@ - - $(CLI_NETSDK_Version) + - - 1.0.3 - + - - 1.6.0 - + $(DefineConstants);NETCOREAPP1_0 diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/CsprojLibrary1/CsprojLibrary1.csproj b/TestAssets/TestProjects/TestAppDependencyGraph/CsprojLibrary1/CsprojLibrary1.csproj index 90ed848e5..cb6b4e876 100644 --- a/TestAssets/TestProjects/TestAppDependencyGraph/CsprojLibrary1/CsprojLibrary1.csproj +++ b/TestAssets/TestProjects/TestAppDependencyGraph/CsprojLibrary1/CsprojLibrary1.csproj @@ -11,8 +11,6 @@ - - 1.6.0 - + diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/CsprojLibrary2/CsprojLibrary2.csproj b/TestAssets/TestProjects/TestAppDependencyGraph/CsprojLibrary2/CsprojLibrary2.csproj index 90ed848e5..cb6b4e876 100644 --- a/TestAssets/TestProjects/TestAppDependencyGraph/CsprojLibrary2/CsprojLibrary2.csproj +++ b/TestAssets/TestProjects/TestAppDependencyGraph/CsprojLibrary2/CsprojLibrary2.csproj @@ -11,8 +11,6 @@ - - 1.6.0 - + diff --git a/TestAssets/TestProjects/TestAppDependencyGraph/CsprojLibrary3/CsprojLibrary3.csproj b/TestAssets/TestProjects/TestAppDependencyGraph/CsprojLibrary3/CsprojLibrary3.csproj index 90ed848e5..cb6b4e876 100644 --- a/TestAssets/TestProjects/TestAppDependencyGraph/CsprojLibrary3/CsprojLibrary3.csproj +++ b/TestAssets/TestProjects/TestAppDependencyGraph/CsprojLibrary3/CsprojLibrary3.csproj @@ -11,8 +11,6 @@ - - 1.6.0 - + diff --git a/TestAssets/TestProjects/TestAppSimple/TestAppSimple.csproj b/TestAssets/TestProjects/TestAppSimple/TestAppSimple.csproj index 365778100..fc6d13bf3 100755 --- a/TestAssets/TestProjects/TestAppSimple/TestAppSimple.csproj +++ b/TestAssets/TestProjects/TestAppSimple/TestAppSimple.csproj @@ -4,9 +4,7 @@ Exe - - 1.0.3 - + $(DefineConstants);RELEASE diff --git a/TestAssets/TestProjects/TestAppWithProjDepTool/TestAppWithProjDepTool.csproj b/TestAssets/TestProjects/TestAppWithProjDepTool/TestAppWithProjDepTool.csproj index f252d7975..f768741b7 100644 --- a/TestAssets/TestProjects/TestAppWithProjDepTool/TestAppWithProjDepTool.csproj +++ b/TestAssets/TestProjects/TestAppWithProjDepTool/TestAppWithProjDepTool.csproj @@ -5,18 +5,14 @@ - - 1.0.3 - - - 1.0.0 + + - 1.0.0-* + - 1.6.0 - + $(DefineConstants);RELEASE diff --git a/TestAssets/TestProjects/VSTestDesktopAndNetCore/VSTestDesktopAndNetCore.csproj b/TestAssets/TestProjects/VSTestDesktopAndNetCore/VSTestDesktopAndNetCore.csproj index 7c765ff51..e5aaf60ec 100644 --- a/TestAssets/TestProjects/VSTestDesktopAndNetCore/VSTestDesktopAndNetCore.csproj +++ b/TestAssets/TestProjects/VSTestDesktopAndNetCore/VSTestDesktopAndNetCore.csproj @@ -10,20 +10,12 @@ - - 1.0.3 - + - - 1.0.6-preview - - - 1.1.5-preview - - - $(CLI_TestPlatform_Version) - + + + \ No newline at end of file diff --git a/TestAssets/TestProjects/VSTestDotNetCore/VSTestDotNetCore.csproj b/TestAssets/TestProjects/VSTestDotNetCore/VSTestDotNetCore.csproj index 97230db7a..da4e0ee8c 100644 --- a/TestAssets/TestProjects/VSTestDotNetCore/VSTestDotNetCore.csproj +++ b/TestAssets/TestProjects/VSTestDotNetCore/VSTestDotNetCore.csproj @@ -6,17 +6,9 @@ - - 1.0.3 - - - 1.0.6-preview - - - 1.1.5-preview - - - $(CLI_TestPlatform_Version) - + + + + \ No newline at end of file diff --git a/TestAssets/TestProjects/VSTestXunitDesktopAndNetCore/VSTestXunitDesktopAndNetCore.csproj b/TestAssets/TestProjects/VSTestXunitDesktopAndNetCore/VSTestXunitDesktopAndNetCore.csproj index 1795bb8cf..f59b6770d 100644 --- a/TestAssets/TestProjects/VSTestXunitDesktopAndNetCore/VSTestXunitDesktopAndNetCore.csproj +++ b/TestAssets/TestProjects/VSTestXunitDesktopAndNetCore/VSTestXunitDesktopAndNetCore.csproj @@ -13,20 +13,12 @@ - - 1.0.3 - + - - - $(CLI_TestPlatform_Version) - - - 2.2.0-beta4-build3444 - - - 2.2.0-beta4-build1194 - + + + + diff --git a/TestAssets/TestProjects/VSTestXunitDotNetCore/VSTestXunitDotNetCore.csproj b/TestAssets/TestProjects/VSTestXunitDotNetCore/VSTestXunitDotNetCore.csproj index 491c84b0b..7ebeb3326 100644 --- a/TestAssets/TestProjects/VSTestXunitDotNetCore/VSTestXunitDotNetCore.csproj +++ b/TestAssets/TestProjects/VSTestXunitDotNetCore/VSTestXunitDotNetCore.csproj @@ -6,17 +6,9 @@ - - 1.0.3 - - - $(CLI_TestPlatform_Version) - - - 2.2.0-beta4-build3444 - - - 2.2.0-beta4-build1194 - + + + + From c56ef2930005fc007604ce037d4504ed0ec5648c Mon Sep 17 00:00:00 2001 From: Piotr Puszkiewicz Date: Thu, 2 Mar 2017 20:05:12 -0800 Subject: [PATCH 24/33] Remove remaining unnecessary P2P's --- test/EndToEnd/EndToEnd.csproj | 6 ------ .../Microsoft.DotNet.Cli.Utils.Tests.csproj | 6 ------ ...crosoft.DotNet.Configurer.UnitTests.csproj | 9 --------- ...t.DotNet.ProjectJsonMigration.Tests.csproj | 6 ------ .../dotnet-help.Tests.csproj | 19 ------------------- .../dotnet-list-reference.Tests.csproj | 10 ---------- .../dotnet-migrate.Tests.csproj | 12 ------------ .../dotnet-msbuild.Tests.csproj | 19 ------------------- test/dotnet-new.Tests/dotnet-new.Tests.csproj | 19 ------------------- .../dotnet-nuget.UnitTests.csproj | 18 ------------------ .../dotnet-pack.Tests.csproj | 6 ------ .../dotnet-publish.Tests.csproj | 13 ------------- .../dotnet-remove-reference.Tests.csproj | 10 ---------- .../dotnet-restore.Tests.csproj | 19 ------------------- test/dotnet-run.Tests/dotnet-run.Tests.csproj | 13 ------------- .../dotnet-test.Tests.csproj | 13 ------------- .../dotnet-vstest.Tests.csproj | 13 ------------- test/dotnet.Tests/dotnet.Tests.csproj | 15 --------------- .../msbuild.IntegrationTests.csproj | 9 --------- 19 files changed, 235 deletions(-) diff --git a/test/EndToEnd/EndToEnd.csproj b/test/EndToEnd/EndToEnd.csproj index 49747fec5..d2207d758 100644 --- a/test/EndToEnd/EndToEnd.csproj +++ b/test/EndToEnd/EndToEnd.csproj @@ -19,12 +19,6 @@ - - true - - - true - diff --git a/test/Microsoft.DotNet.Cli.Utils.Tests/Microsoft.DotNet.Cli.Utils.Tests.csproj b/test/Microsoft.DotNet.Cli.Utils.Tests/Microsoft.DotNet.Cli.Utils.Tests.csproj index a9f8eead5..3995076df 100644 --- a/test/Microsoft.DotNet.Cli.Utils.Tests/Microsoft.DotNet.Cli.Utils.Tests.csproj +++ b/test/Microsoft.DotNet.Cli.Utils.Tests/Microsoft.DotNet.Cli.Utils.Tests.csproj @@ -27,12 +27,6 @@ - - true - - - true - diff --git a/test/Microsoft.DotNet.Configurer.UnitTests/Microsoft.DotNet.Configurer.UnitTests.csproj b/test/Microsoft.DotNet.Configurer.UnitTests/Microsoft.DotNet.Configurer.UnitTests.csproj index bd4f74fbf..5cffd690d 100644 --- a/test/Microsoft.DotNet.Configurer.UnitTests/Microsoft.DotNet.Configurer.UnitTests.csproj +++ b/test/Microsoft.DotNet.Configurer.UnitTests/Microsoft.DotNet.Configurer.UnitTests.csproj @@ -16,15 +16,6 @@ - - true - - - true - - - true - diff --git a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Microsoft.DotNet.ProjectJsonMigration.Tests.csproj b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Microsoft.DotNet.ProjectJsonMigration.Tests.csproj index 7a296ad0e..b6989809a 100644 --- a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Microsoft.DotNet.ProjectJsonMigration.Tests.csproj +++ b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Microsoft.DotNet.ProjectJsonMigration.Tests.csproj @@ -23,12 +23,6 @@ - - true - - - true - diff --git a/test/dotnet-help.Tests/dotnet-help.Tests.csproj b/test/dotnet-help.Tests/dotnet-help.Tests.csproj index 3bf57d512..73bdcfde8 100644 --- a/test/dotnet-help.Tests/dotnet-help.Tests.csproj +++ b/test/dotnet-help.Tests/dotnet-help.Tests.csproj @@ -12,25 +12,6 @@ - - - true - - - true - - - true - - - true - - - true - - - true - diff --git a/test/dotnet-list-reference.Tests/dotnet-list-reference.Tests.csproj b/test/dotnet-list-reference.Tests/dotnet-list-reference.Tests.csproj index bf48947b5..6e59dc226 100644 --- a/test/dotnet-list-reference.Tests/dotnet-list-reference.Tests.csproj +++ b/test/dotnet-list-reference.Tests/dotnet-list-reference.Tests.csproj @@ -10,16 +10,6 @@ - - - true - - - true - - - true - diff --git a/test/dotnet-migrate.Tests/dotnet-migrate.Tests.csproj b/test/dotnet-migrate.Tests/dotnet-migrate.Tests.csproj index 4f580e402..4663939f0 100644 --- a/test/dotnet-migrate.Tests/dotnet-migrate.Tests.csproj +++ b/test/dotnet-migrate.Tests/dotnet-migrate.Tests.csproj @@ -21,18 +21,6 @@ - - true - - - true - - - true - - - true - diff --git a/test/dotnet-msbuild.Tests/dotnet-msbuild.Tests.csproj b/test/dotnet-msbuild.Tests/dotnet-msbuild.Tests.csproj index 6bb558f60..69f57b7f0 100644 --- a/test/dotnet-msbuild.Tests/dotnet-msbuild.Tests.csproj +++ b/test/dotnet-msbuild.Tests/dotnet-msbuild.Tests.csproj @@ -12,25 +12,6 @@ - - - true - - - true - - - true - - - true - - - true - - - true - diff --git a/test/dotnet-new.Tests/dotnet-new.Tests.csproj b/test/dotnet-new.Tests/dotnet-new.Tests.csproj index f1ec14d01..4128a4099 100644 --- a/test/dotnet-new.Tests/dotnet-new.Tests.csproj +++ b/test/dotnet-new.Tests/dotnet-new.Tests.csproj @@ -12,25 +12,6 @@ - - - true - - - true - - - true - - - true - - - true - - - true - diff --git a/test/dotnet-nuget.UnitTests/dotnet-nuget.UnitTests.csproj b/test/dotnet-nuget.UnitTests/dotnet-nuget.UnitTests.csproj index 64cfadb46..dda2a8cd0 100644 --- a/test/dotnet-nuget.UnitTests/dotnet-nuget.UnitTests.csproj +++ b/test/dotnet-nuget.UnitTests/dotnet-nuget.UnitTests.csproj @@ -13,24 +13,6 @@ - - true - - - true - - - true - - - true - - - true - - - true - diff --git a/test/dotnet-pack.Tests/dotnet-pack.Tests.csproj b/test/dotnet-pack.Tests/dotnet-pack.Tests.csproj index 9a44e9dce..cef65d60c 100644 --- a/test/dotnet-pack.Tests/dotnet-pack.Tests.csproj +++ b/test/dotnet-pack.Tests/dotnet-pack.Tests.csproj @@ -19,12 +19,6 @@ - - true - - - true - diff --git a/test/dotnet-publish.Tests/dotnet-publish.Tests.csproj b/test/dotnet-publish.Tests/dotnet-publish.Tests.csproj index 66db41c1a..e9f481bcc 100644 --- a/test/dotnet-publish.Tests/dotnet-publish.Tests.csproj +++ b/test/dotnet-publish.Tests/dotnet-publish.Tests.csproj @@ -16,19 +16,6 @@ - - - - true - - - true - - - true - - - diff --git a/test/dotnet-remove-reference.Tests/dotnet-remove-reference.Tests.csproj b/test/dotnet-remove-reference.Tests/dotnet-remove-reference.Tests.csproj index ec6dd5cb7..444afeafb 100644 --- a/test/dotnet-remove-reference.Tests/dotnet-remove-reference.Tests.csproj +++ b/test/dotnet-remove-reference.Tests/dotnet-remove-reference.Tests.csproj @@ -10,16 +10,6 @@ - - - true - - - true - - - true - diff --git a/test/dotnet-restore.Tests/dotnet-restore.Tests.csproj b/test/dotnet-restore.Tests/dotnet-restore.Tests.csproj index 61f507cf6..2803c75e5 100644 --- a/test/dotnet-restore.Tests/dotnet-restore.Tests.csproj +++ b/test/dotnet-restore.Tests/dotnet-restore.Tests.csproj @@ -12,25 +12,6 @@ - - - true - - - true - - - true - - - true - - - true - - - true - diff --git a/test/dotnet-run.Tests/dotnet-run.Tests.csproj b/test/dotnet-run.Tests/dotnet-run.Tests.csproj index 0fd96cf59..b74920b1d 100644 --- a/test/dotnet-run.Tests/dotnet-run.Tests.csproj +++ b/test/dotnet-run.Tests/dotnet-run.Tests.csproj @@ -9,19 +9,6 @@ $(PackageTargetFallback);dotnet5.4;portable-net451+win8 - - - - true - - - true - - - true - - - diff --git a/test/dotnet-test.Tests/dotnet-test.Tests.csproj b/test/dotnet-test.Tests/dotnet-test.Tests.csproj index 1126af8d8..78087dca4 100644 --- a/test/dotnet-test.Tests/dotnet-test.Tests.csproj +++ b/test/dotnet-test.Tests/dotnet-test.Tests.csproj @@ -9,19 +9,6 @@ $(PackageTargetFallback);dotnet5.4;portable-net451+win8 - - - - true - - - true - - - true - - - diff --git a/test/dotnet-vstest.Tests/dotnet-vstest.Tests.csproj b/test/dotnet-vstest.Tests/dotnet-vstest.Tests.csproj index 0b32069c7..74830ac09 100644 --- a/test/dotnet-vstest.Tests/dotnet-vstest.Tests.csproj +++ b/test/dotnet-vstest.Tests/dotnet-vstest.Tests.csproj @@ -9,19 +9,6 @@ $(PackageTargetFallback);dotnet5.4;portable-net451+win8 - - - - true - - - true - - - true - - - diff --git a/test/dotnet.Tests/dotnet.Tests.csproj b/test/dotnet.Tests/dotnet.Tests.csproj index c407bc0ff..d360368cf 100644 --- a/test/dotnet.Tests/dotnet.Tests.csproj +++ b/test/dotnet.Tests/dotnet.Tests.csproj @@ -34,21 +34,6 @@ - - true - - - true - - - true - - - true - - - true - diff --git a/test/msbuild.IntegrationTests/msbuild.IntegrationTests.csproj b/test/msbuild.IntegrationTests/msbuild.IntegrationTests.csproj index 6c186f8ea..9e4307049 100644 --- a/test/msbuild.IntegrationTests/msbuild.IntegrationTests.csproj +++ b/test/msbuild.IntegrationTests/msbuild.IntegrationTests.csproj @@ -11,15 +11,6 @@ - - true - - - true - - - true - From d847963ab745c7c0217971b3a7f8382466d4ad62 Mon Sep 17 00:00:00 2001 From: Piotr Puszkiewicz Date: Thu, 2 Mar 2017 20:09:37 -0800 Subject: [PATCH 25/33] Fix bad updates --- .../AppWithDirectDepWithOutputName.csproj | 3 +-- .../AppWithToolDependency/AppWithToolDependency.csproj | 6 ++---- .../TestProjects/MSBuildTestApp/MSBuildTestApp.csproj | 6 ++---- .../TestAppWithProjDepTool/TestAppWithProjDepTool.csproj | 5 ++--- 4 files changed, 7 insertions(+), 13 deletions(-) diff --git a/TestAssets/TestProjects/AppWithDirectDepWithOutputName/AppWithDirectDepWithOutputName.csproj b/TestAssets/TestProjects/AppWithDirectDepWithOutputName/AppWithDirectDepWithOutputName.csproj index 433c30180..41466d16c 100755 --- a/TestAssets/TestProjects/AppWithDirectDepWithOutputName/AppWithDirectDepWithOutputName.csproj +++ b/TestAssets/TestProjects/AppWithDirectDepWithOutputName/AppWithDirectDepWithOutputName.csproj @@ -9,8 +9,7 @@ - $(DefineConstants);RELEASE diff --git a/TestAssets/TestProjects/AppWithToolDependency/AppWithToolDependency.csproj b/TestAssets/TestProjects/AppWithToolDependency/AppWithToolDependency.csproj index 71ff5bd61..4ca1bb758 100755 --- a/TestAssets/TestProjects/AppWithToolDependency/AppWithToolDependency.csproj +++ b/TestAssets/TestProjects/AppWithToolDependency/AppWithToolDependency.csproj @@ -8,10 +8,8 @@ - + $(DefineConstants);RELEASE diff --git a/TestAssets/TestProjects/MSBuildTestApp/MSBuildTestApp.csproj b/TestAssets/TestProjects/MSBuildTestApp/MSBuildTestApp.csproj index 9e775ae2d..8e427e19e 100644 --- a/TestAssets/TestProjects/MSBuildTestApp/MSBuildTestApp.csproj +++ b/TestAssets/TestProjects/MSBuildTestApp/MSBuildTestApp.csproj @@ -6,9 +6,7 @@ - + \ No newline at end of file diff --git a/TestAssets/TestProjects/TestAppWithProjDepTool/TestAppWithProjDepTool.csproj b/TestAssets/TestProjects/TestAppWithProjDepTool/TestAppWithProjDepTool.csproj index f768741b7..0c5ea9efb 100644 --- a/TestAssets/TestProjects/TestAppWithProjDepTool/TestAppWithProjDepTool.csproj +++ b/TestAssets/TestProjects/TestAppWithProjDepTool/TestAppWithProjDepTool.csproj @@ -6,13 +6,12 @@ - All - \ No newline at end of file From d9a06ba95c552eadff925a1983529c2805d5fc1c Mon Sep 17 00:00:00 2001 From: Piotr Puszkiewicz Date: Thu, 2 Mar 2017 20:11:21 -0800 Subject: [PATCH 26/33] Remove unnecessary Release constants $(DefineConstants);RELEASE --- TestAssets/DesktopTestProjects/AppWithProjTool2Fx/App.csproj | 3 --- .../AppWithRedirectsAndConfig.csproj | 3 --- .../AppWithRedirectsNoConfig/AppWithRedirectsNoConfig.csproj | 3 --- TestAssets/DesktopTestProjects/LibWithProjTool2Fx/Lib.csproj | 3 --- .../TestApp/src/subdir/subdir.csproj | 3 --- .../TestProjectWithUnresolvedPlatformDependency.csproj | 3 --- .../PackageWithFakeNativeDep/PackageWithFakeNativeDep.csproj | 3 --- .../ToolWithOutputName/ToolWithOutputName.csproj | 3 --- .../dotnet-dependency-context-test.csproj | 3 --- .../dotnet-dependency-tool-invoker.csproj | 3 --- .../dotnet-desktop-binding-redirects.csproj | 3 --- .../TestPackages/dotnet-portable/dotnet-portable.csproj | 3 --- .../AppWithDepOnToolWithOutputName.csproj | 3 --- .../AppWithDirectDepWithOutputName.csproj | 3 --- .../AppWithToolDependency/AppWithToolDependency.csproj | 3 --- .../LibraryWithOutputAssemblyName/MyLibrary.csproj | 3 --- .../SingleTargetApp/SingleTargetApp.csproj | 3 --- .../SingleTargetGraph/SingleTargetP0/SingleTargetP0.csproj | 3 --- .../SingleTargetGraph/SingleTargetP1/SingleTargetP1.csproj | 3 --- .../SingleTargetGraph/SingleTargetP2/SingleTargetP2.csproj | 3 --- .../PerformanceTestProjects/TwoTargetApp/TwoTargetApp.csproj | 3 --- .../TwoTargetGraph/TwoTargetP0/TwoTargetP0.csproj | 3 --- .../TwoTargetGraph/TwoTargetP1/TwoTargetP1.csproj | 3 --- .../TwoTargetGraph/TwoTargetP2/TwoTargetP2.csproj | 3 --- .../TwoTargetLargeP0/TwoTargetLargeP0.csproj | 3 --- .../TwoTargetLargeP1/TwoTargetLargeP1.csproj | 3 --- .../TwoTargetLargeP2/TwoTargetLargeP2.csproj | 3 --- .../TwoTargetLargeP3/TwoTargetLargeP3.csproj | 3 --- .../TwoTargetLargeP4/TwoTargetLargeP4.csproj | 3 --- .../TwoTargetLargeP5/TwoTargetLargeP5.csproj | 3 --- .../TwoTargetLargeP6/TwoTargetLargeP6.csproj | 3 --- TestAssets/TestProjects/TestAppSimple/TestAppSimple.csproj | 3 --- .../TestLibraryWithConfiguration.csproj | 3 --- .../Microsoft.DotNet.Cli.Build.Framework.csproj | 3 --- .../shared-build-targets-utils.csproj | 3 --- src/Microsoft.DotNet.Archive/Microsoft.DotNet.Archive.csproj | 3 --- .../Microsoft.DotNet.Configurer.csproj | 5 +---- .../Microsoft.DotNet.InternalAbstractions.csproj | 3 --- .../Microsoft.DotNet.ProjectJsonMigration.csproj | 3 --- .../Microsoft.DotNet.TestFramework.csproj | 3 --- 40 files changed, 1 insertion(+), 121 deletions(-) diff --git a/TestAssets/DesktopTestProjects/AppWithProjTool2Fx/App.csproj b/TestAssets/DesktopTestProjects/AppWithProjTool2Fx/App.csproj index 2aacbf8bc..a12a68f6d 100644 --- a/TestAssets/DesktopTestProjects/AppWithProjTool2Fx/App.csproj +++ b/TestAssets/DesktopTestProjects/AppWithProjTool2Fx/App.csproj @@ -20,7 +20,4 @@ - $(DefineConstants);RELEASE - \ No newline at end of file diff --git a/TestAssets/DesktopTestProjects/BindingRedirectSample/AppWithRedirectsAndConfig/AppWithRedirectsAndConfig.csproj b/TestAssets/DesktopTestProjects/BindingRedirectSample/AppWithRedirectsAndConfig/AppWithRedirectsAndConfig.csproj index c1e36c538..2db0a2c75 100644 --- a/TestAssets/DesktopTestProjects/BindingRedirectSample/AppWithRedirectsAndConfig/AppWithRedirectsAndConfig.csproj +++ b/TestAssets/DesktopTestProjects/BindingRedirectSample/AppWithRedirectsAndConfig/AppWithRedirectsAndConfig.csproj @@ -27,7 +27,4 @@ - - $(DefineConstants);RELEASE - diff --git a/TestAssets/DesktopTestProjects/BindingRedirectSample/AppWithRedirectsNoConfig/AppWithRedirectsNoConfig.csproj b/TestAssets/DesktopTestProjects/BindingRedirectSample/AppWithRedirectsNoConfig/AppWithRedirectsNoConfig.csproj index beb158c7f..173725ba5 100644 --- a/TestAssets/DesktopTestProjects/BindingRedirectSample/AppWithRedirectsNoConfig/AppWithRedirectsNoConfig.csproj +++ b/TestAssets/DesktopTestProjects/BindingRedirectSample/AppWithRedirectsNoConfig/AppWithRedirectsNoConfig.csproj @@ -27,7 +27,4 @@ - - $(DefineConstants);RELEASE - diff --git a/TestAssets/DesktopTestProjects/LibWithProjTool2Fx/Lib.csproj b/TestAssets/DesktopTestProjects/LibWithProjTool2Fx/Lib.csproj index b4f2489f9..bc493ee01 100644 --- a/TestAssets/DesktopTestProjects/LibWithProjTool2Fx/Lib.csproj +++ b/TestAssets/DesktopTestProjects/LibWithProjTool2Fx/Lib.csproj @@ -19,7 +19,4 @@ - $(DefineConstants);RELEASE - \ No newline at end of file diff --git a/TestAssets/NonRestoredTestProjects/PJAppWithSlnAndXprojRefThatRefsCsprojWhereSlnDoesNotRefCsproj/TestApp/src/subdir/subdir.csproj b/TestAssets/NonRestoredTestProjects/PJAppWithSlnAndXprojRefThatRefsCsprojWhereSlnDoesNotRefCsproj/TestApp/src/subdir/subdir.csproj index a69a76261..fd3e68501 100644 --- a/TestAssets/NonRestoredTestProjects/PJAppWithSlnAndXprojRefThatRefsCsprojWhereSlnDoesNotRefCsproj/TestApp/src/subdir/subdir.csproj +++ b/TestAssets/NonRestoredTestProjects/PJAppWithSlnAndXprojRefThatRefsCsprojWhereSlnDoesNotRefCsproj/TestApp/src/subdir/subdir.csproj @@ -12,8 +12,5 @@ - - $(DefineConstants);RELEASE - diff --git a/TestAssets/NonRestoredTestProjects/TestProjectWithUnresolvedPlatformDependency/TestProjectWithUnresolvedPlatformDependency.csproj b/TestAssets/NonRestoredTestProjects/TestProjectWithUnresolvedPlatformDependency/TestProjectWithUnresolvedPlatformDependency.csproj index 2d98ed452..8d2d6aae9 100755 --- a/TestAssets/NonRestoredTestProjects/TestProjectWithUnresolvedPlatformDependency/TestProjectWithUnresolvedPlatformDependency.csproj +++ b/TestAssets/NonRestoredTestProjects/TestProjectWithUnresolvedPlatformDependency/TestProjectWithUnresolvedPlatformDependency.csproj @@ -7,7 +7,4 @@ - - $(DefineConstants);RELEASE - \ No newline at end of file diff --git a/TestAssets/TestPackages/PackageWithFakeNativeDep/PackageWithFakeNativeDep.csproj b/TestAssets/TestPackages/PackageWithFakeNativeDep/PackageWithFakeNativeDep.csproj index cd2f5b954..9929c7099 100644 --- a/TestAssets/TestPackages/PackageWithFakeNativeDep/PackageWithFakeNativeDep.csproj +++ b/TestAssets/TestPackages/PackageWithFakeNativeDep/PackageWithFakeNativeDep.csproj @@ -21,7 +21,4 @@ - - $(DefineConstants);RELEASE - diff --git a/TestAssets/TestPackages/ToolWithOutputName/ToolWithOutputName.csproj b/TestAssets/TestPackages/ToolWithOutputName/ToolWithOutputName.csproj index 42fc8102d..af6e62a36 100644 --- a/TestAssets/TestPackages/ToolWithOutputName/ToolWithOutputName.csproj +++ b/TestAssets/TestPackages/ToolWithOutputName/ToolWithOutputName.csproj @@ -16,7 +16,4 @@ - - $(DefineConstants);RELEASE - 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 f9511694f..51e5027da 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 @@ -18,7 +18,4 @@ - - $(DefineConstants);RELEASE - 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 ed5ba528e..7e0d81cb4 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 @@ -28,7 +28,4 @@ - - $(DefineConstants);RELEASE - diff --git a/TestAssets/TestPackages/dotnet-desktop-binding-redirects/dotnet-desktop-binding-redirects.csproj b/TestAssets/TestPackages/dotnet-desktop-binding-redirects/dotnet-desktop-binding-redirects.csproj index 6eec2921a..4505fc5a0 100644 --- a/TestAssets/TestPackages/dotnet-desktop-binding-redirects/dotnet-desktop-binding-redirects.csproj +++ b/TestAssets/TestPackages/dotnet-desktop-binding-redirects/dotnet-desktop-binding-redirects.csproj @@ -18,7 +18,4 @@ - - $(DefineConstants);RELEASE - diff --git a/TestAssets/TestPackages/dotnet-portable/dotnet-portable.csproj b/TestAssets/TestPackages/dotnet-portable/dotnet-portable.csproj index c9e87907e..f3463840d 100644 --- a/TestAssets/TestPackages/dotnet-portable/dotnet-portable.csproj +++ b/TestAssets/TestPackages/dotnet-portable/dotnet-portable.csproj @@ -18,7 +18,4 @@ - - $(DefineConstants);RELEASE - diff --git a/TestAssets/TestProjects/AppWithDepOnToolWithOutputName/AppWithDepOnToolWithOutputName.csproj b/TestAssets/TestProjects/AppWithDepOnToolWithOutputName/AppWithDepOnToolWithOutputName.csproj index 8396e8086..177b708cf 100755 --- a/TestAssets/TestProjects/AppWithDepOnToolWithOutputName/AppWithDepOnToolWithOutputName.csproj +++ b/TestAssets/TestProjects/AppWithDepOnToolWithOutputName/AppWithDepOnToolWithOutputName.csproj @@ -11,7 +11,4 @@ - $(DefineConstants);RELEASE - \ No newline at end of file diff --git a/TestAssets/TestProjects/AppWithDirectDepWithOutputName/AppWithDirectDepWithOutputName.csproj b/TestAssets/TestProjects/AppWithDirectDepWithOutputName/AppWithDirectDepWithOutputName.csproj index 41466d16c..427822287 100755 --- a/TestAssets/TestProjects/AppWithDirectDepWithOutputName/AppWithDirectDepWithOutputName.csproj +++ b/TestAssets/TestProjects/AppWithDirectDepWithOutputName/AppWithDirectDepWithOutputName.csproj @@ -11,7 +11,4 @@ - - $(DefineConstants);RELEASE - \ No newline at end of file diff --git a/TestAssets/TestProjects/AppWithToolDependency/AppWithToolDependency.csproj b/TestAssets/TestProjects/AppWithToolDependency/AppWithToolDependency.csproj index 4ca1bb758..5b1175d71 100755 --- a/TestAssets/TestProjects/AppWithToolDependency/AppWithToolDependency.csproj +++ b/TestAssets/TestProjects/AppWithToolDependency/AppWithToolDependency.csproj @@ -11,7 +11,4 @@ - - $(DefineConstants);RELEASE - \ No newline at end of file diff --git a/TestAssets/TestProjects/LibraryWithOutputAssemblyName/MyLibrary.csproj b/TestAssets/TestProjects/LibraryWithOutputAssemblyName/MyLibrary.csproj index 03d1cfc87..af0401580 100755 --- a/TestAssets/TestProjects/LibraryWithOutputAssemblyName/MyLibrary.csproj +++ b/TestAssets/TestProjects/LibraryWithOutputAssemblyName/MyLibrary.csproj @@ -6,7 +6,4 @@ - - $(DefineConstants);RELEASE - \ No newline at end of file diff --git a/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetApp/SingleTargetApp.csproj b/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetApp/SingleTargetApp.csproj index 3dada658f..ebc2be369 100755 --- a/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetApp/SingleTargetApp.csproj +++ b/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetApp/SingleTargetApp.csproj @@ -20,8 +20,5 @@ $(DefineConstants);NETCOREAPP1_0 - - $(DefineConstants);RELEASE - \ No newline at end of file diff --git a/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetGraph/SingleTargetP0/SingleTargetP0.csproj b/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetGraph/SingleTargetP0/SingleTargetP0.csproj index 6919f3aab..753e701cb 100755 --- a/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetGraph/SingleTargetP0/SingleTargetP0.csproj +++ b/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetGraph/SingleTargetP0/SingleTargetP0.csproj @@ -24,8 +24,5 @@ $(DefineConstants);NETCOREAPP1_0 - - $(DefineConstants);RELEASE - \ No newline at end of file diff --git a/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetGraph/SingleTargetP1/SingleTargetP1.csproj b/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetGraph/SingleTargetP1/SingleTargetP1.csproj index 21d38e1c3..14fb0e87d 100755 --- a/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetGraph/SingleTargetP1/SingleTargetP1.csproj +++ b/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetGraph/SingleTargetP1/SingleTargetP1.csproj @@ -23,8 +23,5 @@ $(DefineConstants);NETCOREAPP1_0 - - $(DefineConstants);RELEASE - \ No newline at end of file diff --git a/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetGraph/SingleTargetP2/SingleTargetP2.csproj b/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetGraph/SingleTargetP2/SingleTargetP2.csproj index e49cfcc5c..a5f9cca74 100755 --- a/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetGraph/SingleTargetP2/SingleTargetP2.csproj +++ b/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetGraph/SingleTargetP2/SingleTargetP2.csproj @@ -20,8 +20,5 @@ $(DefineConstants);NETCOREAPP1_0 - - $(DefineConstants);RELEASE - \ No newline at end of file diff --git a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetApp/TwoTargetApp.csproj b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetApp/TwoTargetApp.csproj index 385037177..69ad55465 100755 --- a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetApp/TwoTargetApp.csproj +++ b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetApp/TwoTargetApp.csproj @@ -30,8 +30,5 @@ $(DefineConstants);NETSTANDARD1_6 - - $(DefineConstants);RELEASE - \ No newline at end of file diff --git a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraph/TwoTargetP0/TwoTargetP0.csproj b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraph/TwoTargetP0/TwoTargetP0.csproj index 76b0357c3..2dcfecc78 100755 --- a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraph/TwoTargetP0/TwoTargetP0.csproj +++ b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraph/TwoTargetP0/TwoTargetP0.csproj @@ -33,8 +33,5 @@ $(DefineConstants);NETSTANDARD1_6 - - $(DefineConstants);RELEASE - \ No newline at end of file diff --git a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraph/TwoTargetP1/TwoTargetP1.csproj b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraph/TwoTargetP1/TwoTargetP1.csproj index 561df5ff0..ec8a2afe7 100755 --- a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraph/TwoTargetP1/TwoTargetP1.csproj +++ b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraph/TwoTargetP1/TwoTargetP1.csproj @@ -31,8 +31,5 @@ $(DefineConstants);NETSTANDARD1_5 - - $(DefineConstants);RELEASE - \ No newline at end of file diff --git a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraph/TwoTargetP2/TwoTargetP2.csproj b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraph/TwoTargetP2/TwoTargetP2.csproj index 1ce79932e..95ce1271c 100755 --- a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraph/TwoTargetP2/TwoTargetP2.csproj +++ b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraph/TwoTargetP2/TwoTargetP2.csproj @@ -28,8 +28,5 @@ $(DefineConstants);NETSTANDARD1_5 - - $(DefineConstants);RELEASE - \ No newline at end of file diff --git a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP0/TwoTargetLargeP0.csproj b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP0/TwoTargetLargeP0.csproj index 6626a05fe..78c5cdf7d 100755 --- a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP0/TwoTargetLargeP0.csproj +++ b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP0/TwoTargetLargeP0.csproj @@ -33,8 +33,5 @@ $(DefineConstants);NETSTANDARD1_6 - - $(DefineConstants);RELEASE - \ No newline at end of file diff --git a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP1/TwoTargetLargeP1.csproj b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP1/TwoTargetLargeP1.csproj index cf1b1ed67..63886c55a 100755 --- a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP1/TwoTargetLargeP1.csproj +++ b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP1/TwoTargetLargeP1.csproj @@ -32,8 +32,5 @@ $(DefineConstants);NETSTANDARD1_5 - - $(DefineConstants);RELEASE - \ No newline at end of file diff --git a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP2/TwoTargetLargeP2.csproj b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP2/TwoTargetLargeP2.csproj index bba2099fd..41b344a30 100755 --- a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP2/TwoTargetLargeP2.csproj +++ b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP2/TwoTargetLargeP2.csproj @@ -32,8 +32,5 @@ $(DefineConstants);NETSTANDARD1_5 - - $(DefineConstants);RELEASE - \ No newline at end of file diff --git a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP3/TwoTargetLargeP3.csproj b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP3/TwoTargetLargeP3.csproj index 28d4585c4..4a023c2e6 100755 --- a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP3/TwoTargetLargeP3.csproj +++ b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP3/TwoTargetLargeP3.csproj @@ -31,8 +31,5 @@ $(DefineConstants);NETSTANDARD1_5 - - $(DefineConstants);RELEASE - \ No newline at end of file diff --git a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP4/TwoTargetLargeP4.csproj b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP4/TwoTargetLargeP4.csproj index 501c9d4b4..7324e2e9c 100755 --- a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP4/TwoTargetLargeP4.csproj +++ b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP4/TwoTargetLargeP4.csproj @@ -32,8 +32,5 @@ $(DefineConstants);NETSTANDARD1_5 - - $(DefineConstants);RELEASE - \ No newline at end of file diff --git a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP5/TwoTargetLargeP5.csproj b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP5/TwoTargetLargeP5.csproj index 1ce79932e..95ce1271c 100755 --- a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP5/TwoTargetLargeP5.csproj +++ b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP5/TwoTargetLargeP5.csproj @@ -28,8 +28,5 @@ $(DefineConstants);NETSTANDARD1_5 - - $(DefineConstants);RELEASE - \ No newline at end of file diff --git a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP6/TwoTargetLargeP6.csproj b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP6/TwoTargetLargeP6.csproj index 1ce79932e..95ce1271c 100755 --- a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP6/TwoTargetLargeP6.csproj +++ b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP6/TwoTargetLargeP6.csproj @@ -28,8 +28,5 @@ $(DefineConstants);NETSTANDARD1_5 - - $(DefineConstants);RELEASE - \ No newline at end of file diff --git a/TestAssets/TestProjects/TestAppSimple/TestAppSimple.csproj b/TestAssets/TestProjects/TestAppSimple/TestAppSimple.csproj index fc6d13bf3..bbd64e605 100755 --- a/TestAssets/TestProjects/TestAppSimple/TestAppSimple.csproj +++ b/TestAssets/TestProjects/TestAppSimple/TestAppSimple.csproj @@ -6,7 +6,4 @@ - - $(DefineConstants);RELEASE - \ No newline at end of file diff --git a/TestAssets/TestProjects/TestLibraryWithConfiguration/TestLibraryWithConfiguration.csproj b/TestAssets/TestProjects/TestLibraryWithConfiguration/TestLibraryWithConfiguration.csproj index c6df84d90..9c427890c 100755 --- a/TestAssets/TestProjects/TestLibraryWithConfiguration/TestLibraryWithConfiguration.csproj +++ b/TestAssets/TestProjects/TestLibraryWithConfiguration/TestLibraryWithConfiguration.csproj @@ -8,7 +8,4 @@ - - $(DefineConstants);RELEASE - \ No newline at end of file diff --git a/build_projects/Microsoft.DotNet.Cli.Build.Framework/Microsoft.DotNet.Cli.Build.Framework.csproj b/build_projects/Microsoft.DotNet.Cli.Build.Framework/Microsoft.DotNet.Cli.Build.Framework.csproj index f0dcb7585..f0b957bab 100644 --- a/build_projects/Microsoft.DotNet.Cli.Build.Framework/Microsoft.DotNet.Cli.Build.Framework.csproj +++ b/build_projects/Microsoft.DotNet.Cli.Build.Framework/Microsoft.DotNet.Cli.Build.Framework.csproj @@ -16,7 +16,4 @@ - - $(DefineConstants);RELEASE - diff --git a/build_projects/shared-build-targets-utils/shared-build-targets-utils.csproj b/build_projects/shared-build-targets-utils/shared-build-targets-utils.csproj index ae62545a2..b7af21b7f 100644 --- a/build_projects/shared-build-targets-utils/shared-build-targets-utils.csproj +++ b/build_projects/shared-build-targets-utils/shared-build-targets-utils.csproj @@ -24,7 +24,4 @@ - - $(DefineConstants);RELEASE - diff --git a/src/Microsoft.DotNet.Archive/Microsoft.DotNet.Archive.csproj b/src/Microsoft.DotNet.Archive/Microsoft.DotNet.Archive.csproj index f56ec1381..bb434b999 100644 --- a/src/Microsoft.DotNet.Archive/Microsoft.DotNet.Archive.csproj +++ b/src/Microsoft.DotNet.Archive/Microsoft.DotNet.Archive.csproj @@ -13,7 +13,4 @@ - - $(DefineConstants);RELEASE - \ No newline at end of file diff --git a/src/Microsoft.DotNet.Configurer/Microsoft.DotNet.Configurer.csproj b/src/Microsoft.DotNet.Configurer/Microsoft.DotNet.Configurer.csproj index 1b39817e3..645bc4fe1 100644 --- a/src/Microsoft.DotNet.Configurer/Microsoft.DotNet.Configurer.csproj +++ b/src/Microsoft.DotNet.Configurer/Microsoft.DotNet.Configurer.csproj @@ -11,13 +11,10 @@ git git://github.com/dotnet/cli - + - - $(DefineConstants);RELEASE - \ No newline at end of file diff --git a/src/Microsoft.DotNet.InternalAbstractions/Microsoft.DotNet.InternalAbstractions.csproj b/src/Microsoft.DotNet.InternalAbstractions/Microsoft.DotNet.InternalAbstractions.csproj index e909bd87f..3b467313e 100644 --- a/src/Microsoft.DotNet.InternalAbstractions/Microsoft.DotNet.InternalAbstractions.csproj +++ b/src/Microsoft.DotNet.InternalAbstractions/Microsoft.DotNet.InternalAbstractions.csproj @@ -27,7 +27,4 @@ - - $(DefineConstants);RELEASE - diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.ProjectJsonMigration.csproj b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.ProjectJsonMigration.csproj index e9f009b92..efdc3fa77 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.ProjectJsonMigration.csproj +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.ProjectJsonMigration.csproj @@ -23,7 +23,4 @@ - - $(DefineConstants);RELEASE - \ No newline at end of file diff --git a/src/Microsoft.DotNet.TestFramework/Microsoft.DotNet.TestFramework.csproj b/src/Microsoft.DotNet.TestFramework/Microsoft.DotNet.TestFramework.csproj index 0372e9ebc..31c346024 100644 --- a/src/Microsoft.DotNet.TestFramework/Microsoft.DotNet.TestFramework.csproj +++ b/src/Microsoft.DotNet.TestFramework/Microsoft.DotNet.TestFramework.csproj @@ -20,7 +20,4 @@ - - $(DefineConstants);RELEASE - \ No newline at end of file From e617376bc7e3b00d69ba8a04fa1c92bfc05dbd94 Mon Sep 17 00:00:00 2001 From: Piotr Puszkiewicz Date: Thu, 2 Mar 2017 20:35:20 -0800 Subject: [PATCH 27/33] Trailing newlines + standardize tabs -> spaces --- .../AppThrowingException/App/Program.cs | 2 +- .../EmptyItemGroup/EmptyItemGroup.cs | 2 +- .../DotnetAddP2PProjects/Lib/Lib.cs | 2 +- .../DotnetAddP2PProjects/ValidRef/ValidRef.cs | 2 +- .../WithDoubledRef/WithDoubledRef.cs | 2 +- .../WithExistingRefCondOnItem.cs | 2 +- .../WithExistingRefCondWhitespaces.cs | 2 +- .../WithRefCondNonUniform.cs | 2 +- .../WithRefNoCondNonUniform.cs | 2 +- .../AppWithOutputAssemblyName/Program.cs | 2 +- .../LibraryWithOutputAssemblyName/Class.cs | 2 +- .../ProjectJsonConsoleTemplate/Program.cs | 2 +- .../VSTestDesktopAndNetCore/Tests.cs | 2 +- .../TestProjects/VSTestDotNetCore/Tests.cs | 2 +- .../CurrentArchitecture.cs | 2 +- .../Enumerations/BuildArchitecture.cs | 2 +- .../dotnet-cli-build/AzureHelper.cs | 2 +- .../dotnet-cli-build/CreateAzureContainer.cs | 2 +- .../GetCurrentRuntimeInformation.cs | 2 +- .../SetBlobPropertiesBasedOnFileTypeTask.cs | 2 +- .../dotnet-cli-build/UploadClient.cs | 2 +- .../dotnet-cli-build/UploadToAzure.cs | 2 +- .../ZipFileCreateFromDirectory.cs | 2 +- .../ZipFileExtractToDirectory.cs | 2 +- .../BuildFailureException.cs | 4 +- .../ConsoleProgressReport.cs | 2 +- .../CommandParsing/Chain.cs | 2 +- .../CommandParsing/CommandGrammar.cs | 2 +- .../CommandParsing/Cursor.cs | 2 +- .../CommandParsing/Grammar.cs | 2 +- .../CommandParsing/Parser.cs | 2 +- .../CommandParsing/ParserExtensions.cs | 2 +- .../CommandParsing/Result.cs | 2 +- .../CommandResolutionStrategy.cs | 2 +- .../CompositeCommandResolver.cs | 2 +- .../CommandResolution/DepsJsonBuilder.cs | 2 +- .../ICommandResolverPolicy.cs | 2 +- .../CommandResolution/IProject.cs | 2 +- .../LockFileTargetExtensions.cs | 2 +- .../CommandResolution/MSBuildProject.cs | 2 +- .../CommandResolution/NuGetUtils.cs | 2 +- .../CommandResolution/ResourceAssemblyInfo.cs | 2 +- .../CommandResolution/SingleProjectInfo.cs | 2 +- .../CommandResult.cs | 2 +- src/Microsoft.DotNet.Cli.Utils/CommandSpec.cs | 2 +- .../CommandUnknownException.cs | 2 +- .../FileNameSuffixes.cs | 2 +- .../GracefulException.cs | 2 +- .../LocalizableStrings.cs | 2 +- src/Microsoft.DotNet.Cli.Utils/PathUtility.cs | 6 +-- .../Tracing/PerfTrace.cs | 2 +- .../Tracing/PerfTraceEvent.cs | 2 +- .../Tracing/PerfTraceOutput.cs | 2 +- .../Tracing/PerfTraceThreadContext.cs | 2 +- .../INuGetCachePrimer.cs | 2 +- .../INuGetCacheSentinel.cs | 2 +- .../LocalizableStrings.cs | 2 +- .../NuGetPackagesArchiver.cs | 10 ++-- .../Properties/Properties.cs | 2 +- .../DirectoryWrapper.cs | 2 +- .../EnvironmentWrapper.cs | 2 +- .../FileSystemWrapper.cs | 2 +- .../FileWrapper.cs | 2 +- .../IDirectory.cs | 2 +- .../IEnvironment.cs | 2 +- .../IFile.cs | 2 +- .../ConstantPackageVersions.cs | 2 +- ...tnetSupportedPackageVersionsCsvProvider.cs | 2 +- ...IDotnetSupportedPackageVersionsProvider.cs | 2 +- .../LocalizableStrings.cs | 2 +- .../AnalyzerOptions.cs | 2 +- .../Compilation/AnalyzerAssembly.cs | 10 ++-- .../Compilation/LibraryAssetGroup.cs | 2 +- .../Compilation/LibraryExportBuilder.cs | 2 +- .../Compilation/LibraryResourceAssembly.cs | 2 +- .../CompilationOutputFiles.cs | 2 +- .../DiagnosticMessage.cs | 6 +-- .../DiagnosticMessageSeverity.cs | 2 +- .../Abstractions/DirectoryInfoBase.cs | 2 +- .../Abstractions/FileInfoBase.cs | 2 +- .../Abstractions/FileInfoWrapper.cs | 2 +- .../Abstractions/FileSystemInfoBase.cs | 2 +- .../FileSystemGlobbing/FilePatternMatch.cs | 2 +- .../Internal/ILinearPattern.cs | 2 +- .../Internal/IPathSegment.cs | 2 +- .../FileSystemGlobbing/Internal/IPattern.cs | 2 +- .../Internal/IRaggedPattern.cs | 2 +- .../PathSegments/CurrentPathSegment.cs | 2 +- .../PathSegments/LiteralPathSegment.cs | 2 +- .../PathSegments/ParentPathSegment.cs | 2 +- .../PathSegments/RecursiveWildcardSegment.cs | 2 +- .../PathSegments/WildcardPathSegment.cs | 4 +- .../PatternContexts/PatternContext.cs | 2 +- .../Internal/PatternTestResult.cs | 2 +- .../Internal/Patterns/PatternBuilder.cs | 4 +- .../FileSystemGlobbing/Matcher.cs | 2 +- .../FileSystemGlobbing/MatcherExtensions.cs | 2 +- .../PatternMatchingResult.cs | 2 +- .../Files/PackIncludeEntry.cs | 2 +- .../Graph/ExportFile.cs | 2 +- .../Graph/LockFileExtensions.cs | 2 +- .../Graph/ProjectLibraryDependency.cs | 2 +- .../IProjectReader.cs | 2 +- .../OutputPathsCalculator.cs | 2 +- .../PackOptions.cs | 2 +- .../ProjectContextIdentity.cs | 2 +- .../ProjectFileDependencyGroup.cs | 2 +- .../Resolution/FrameworkInformation.cs | 2 +- .../Resources/CultureInfoCache.cs | 2 +- .../Resources/ResourceUtility.cs | 2 +- .../RuntimeConfig/RuntimeConfig.cs | 2 +- .../RuntimeConfig/RuntimeConfigFramework.cs | 2 +- .../RuntimeGraphCollector.cs | 2 +- .../RuntimeOptions.cs | 2 +- .../Utilities/PathUtility.cs | 4 +- .../Utilities/ResilientFileStreamOpener.cs | 2 +- .../Utilities/VersionUtility.cs | 2 +- .../MigrationError.cs | 2 +- .../MigrationErrorCodes.cs | 2 +- .../MigrationException.cs | 10 ++-- .../MigrationTrace.cs | 2 +- .../Models/DefaultProjectItemInfo.cs | 2 +- .../Models/DefaultProjectPropertyInfo.cs | 2 +- .../SerializableMigrationDefaultsInfo.cs | 2 +- .../ProjectExtensions.cs | 2 +- .../ProjectType.cs | 2 +- .../Rules/MigrateAssemblyInfoRule.cs | 2 +- .../Rules/MigratePackOptionsRule.cs | 18 +++---- .../SupportedPackageVersions.cs | 4 +- .../Transforms/UpdateContextTransform.cs | 2 +- .../transforms/ITransform.cs | 2 +- .../transforms/ITransformApplicator.cs | 2 +- src/dotnet/CommandLine/CommandOption.cs | 4 +- src/dotnet/CommandLine/LocalizableStrings.cs | 2 +- src/dotnet/MsbuildProject.cs | 2 +- src/dotnet/ProjectGlobbingResolver.cs | 2 +- .../commands/dotnet-add/LocalizableStrings.cs | 2 +- src/dotnet/commands/dotnet-add/Program.cs | 2 +- .../dotnet-add-package/LocalizableStrings.cs | 2 +- .../dotnet-add/dotnet-add-package/Program.cs | 2 +- .../ProjectRootElementExtensions.cs | 2 +- .../dotnet-msbuild/LocalizableStrings.cs | 2 +- .../commands/dotnet-msbuild/MSBuildLogger.cs | 4 +- .../dotnet-remove/LocalizableStrings.cs | 2 +- .../LocalizableStrings.cs | 2 +- .../dotnet-remove-package/Program.cs | 2 +- .../commands/dotnet-run/LocalizableStrings.cs | 2 +- src/dotnet/commands/dotnet-sln/Program.cs | 2 +- src/dotnet/commands/dotnet-vstest/Program.cs | 2 +- .../ArgumentForwardingTests.cs | 2 +- test/ArgumentsReflector/Reflector.cs | 2 +- .../GivenThatWeWantToReadLockFilesQuickly.cs | 2 +- .../GivenAProjectMigrator.cs | 4 +- .../GivenMSBuildExtensions.cs | 2 +- .../GivenThatIWantToCleanTheOutputProject.cs | 2 +- .../GivenThatIWantToMigrateAssemblyInfo.cs | 2 +- .../GivenThatIWantToMigrateJsonProperties.cs | 6 +-- .../GivenThatIWantToMigratePackOptions.cs | 34 ++++++------ ...enThatIWantToMigratePackageDependencies.cs | 26 ++++----- ...WantToMigratePackagesToTheirLTSVersions.cs | 2 +- .../GivenThatIWantToMigratePublishOptions.cs | 2 +- .../GivenThatIWantToMigrateRootOptions.cs | 4 +- .../Rules/GivenThatIWantToMigrateTools.cs | 6 +-- .../GivenThatIWantToMigrateWebProjects.cs | 2 +- .../Rules/PackageDependenciesTestBase.cs | 2 +- .../TemporaryProjectFileRuleRunner.cs | 4 +- .../Transforms/GivenATransformApplicator.cs | 2 +- .../DotnetLegacyRuntimeIdentifiers.cs | 2 +- .../NuGetConfig.cs | 2 +- .../PeReaderUtils.cs | 2 +- .../Properties/Properties.cs | 2 +- .../RepoDirectoriesProvider.cs | 2 +- .../TempFileSystem/FileNameUtilities.cs | 10 ++-- .../ImmutableArrayTestExtensions.cs | 2 +- .../TempFileSystem/PathKind.cs | 2 +- .../TempFileSystem/PathUtilities.cs | 12 ++--- test/Msbuild.Tests.Utilities/ProjDir.cs | 2 +- .../ProjectRootElementExtensions.cs | 6 +-- ...enThatIWantToMigrateAppsUsingGlobalJson.cs | 2 +- .../GivenDotnetRunRunsCsProj.cs | 54 +++++++++---------- ...atTheUserIsRunningDotNetForTheFirstTime.cs | 4 +- 181 files changed, 285 insertions(+), 285 deletions(-) diff --git a/TestAssets/NonRestoredTestProjects/AppThrowingException/App/Program.cs b/TestAssets/NonRestoredTestProjects/AppThrowingException/App/Program.cs index 5d9d13152..5d25e910e 100644 --- a/TestAssets/NonRestoredTestProjects/AppThrowingException/App/Program.cs +++ b/TestAssets/NonRestoredTestProjects/AppThrowingException/App/Program.cs @@ -9,4 +9,4 @@ namespace AppThrowing throw new MyException(); } } -} \ No newline at end of file +} diff --git a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/EmptyItemGroup/EmptyItemGroup.cs b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/EmptyItemGroup/EmptyItemGroup.cs index 4c665f47a..dc59a0133 100644 --- a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/EmptyItemGroup/EmptyItemGroup.cs +++ b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/EmptyItemGroup/EmptyItemGroup.cs @@ -1,3 +1,3 @@ public class EmptyItemGroup { -} \ No newline at end of file +} diff --git a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/Lib/Lib.cs b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/Lib/Lib.cs index e4708deab..734d29ed8 100644 --- a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/Lib/Lib.cs +++ b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/Lib/Lib.cs @@ -1,4 +1,4 @@ // Dummy reference - it can be used as an existing reference in any of the projects public class Lib { -} \ No newline at end of file +} diff --git a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/ValidRef/ValidRef.cs b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/ValidRef/ValidRef.cs index f250057d8..675dbba01 100644 --- a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/ValidRef/ValidRef.cs +++ b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/ValidRef/ValidRef.cs @@ -2,4 +2,4 @@ // it should be used as a reference passed to the dotnet add p2p public class ValidRef { -} \ No newline at end of file +} diff --git a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithDoubledRef/WithDoubledRef.cs b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithDoubledRef/WithDoubledRef.cs index 0ba94d2f9..23621fc60 100644 --- a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithDoubledRef/WithDoubledRef.cs +++ b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithDoubledRef/WithDoubledRef.cs @@ -1,3 +1,3 @@ public class WithDoubledRef { -} \ No newline at end of file +} diff --git a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithExistingRefCondOnItem/WithExistingRefCondOnItem.cs b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithExistingRefCondOnItem/WithExistingRefCondOnItem.cs index 15d976dc2..760d7d5c4 100644 --- a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithExistingRefCondOnItem/WithExistingRefCondOnItem.cs +++ b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithExistingRefCondOnItem/WithExistingRefCondOnItem.cs @@ -1,3 +1,3 @@ public class WithExistingRefCondOnItem { -} \ No newline at end of file +} diff --git a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithExistingRefCondWhitespaces/WithExistingRefCondWhitespaces.cs b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithExistingRefCondWhitespaces/WithExistingRefCondWhitespaces.cs index 4de50b9d8..fafa14287 100644 --- a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithExistingRefCondWhitespaces/WithExistingRefCondWhitespaces.cs +++ b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithExistingRefCondWhitespaces/WithExistingRefCondWhitespaces.cs @@ -1,3 +1,3 @@ public class WithExistingRefCondWhitespaces { -} \ No newline at end of file +} diff --git a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithRefCondNonUniform/WithRefCondNonUniform.cs b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithRefCondNonUniform/WithRefCondNonUniform.cs index d827b8018..0adf4b61f 100644 --- a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithRefCondNonUniform/WithRefCondNonUniform.cs +++ b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithRefCondNonUniform/WithRefCondNonUniform.cs @@ -1,3 +1,3 @@ public class WithRefCondNonUniform { -} \ No newline at end of file +} diff --git a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithRefNoCondNonUniform/WithRefNoCondNonUniform.cs b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithRefNoCondNonUniform/WithRefNoCondNonUniform.cs index c71d17552..a2dba6130 100644 --- a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithRefNoCondNonUniform/WithRefNoCondNonUniform.cs +++ b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithRefNoCondNonUniform/WithRefNoCondNonUniform.cs @@ -1,3 +1,3 @@ public class WithRefNoCondNonUniform { -} \ No newline at end of file +} diff --git a/TestAssets/TestProjects/AppWithOutputAssemblyName/Program.cs b/TestAssets/TestProjects/AppWithOutputAssemblyName/Program.cs index 73c3dabba..7a9297b45 100644 --- a/TestAssets/TestProjects/AppWithOutputAssemblyName/Program.cs +++ b/TestAssets/TestProjects/AppWithOutputAssemblyName/Program.cs @@ -7,4 +7,4 @@ namespace AppWithOutputAssemblyName System.Console.WriteLine("Hello, World!"); } } -} \ No newline at end of file +} diff --git a/TestAssets/TestProjects/LibraryWithOutputAssemblyName/Class.cs b/TestAssets/TestProjects/LibraryWithOutputAssemblyName/Class.cs index cfd6c6188..936e952ab 100644 --- a/TestAssets/TestProjects/LibraryWithOutputAssemblyName/Class.cs +++ b/TestAssets/TestProjects/LibraryWithOutputAssemblyName/Class.cs @@ -3,4 +3,4 @@ namespace LibraryWithOutputAssemblyName public class MyClass { } -} \ No newline at end of file +} diff --git a/TestAssets/TestProjects/ProjectJsonConsoleTemplate/Program.cs b/TestAssets/TestProjects/ProjectJsonConsoleTemplate/Program.cs index 5f9be2467..c81448f54 100644 --- a/TestAssets/TestProjects/ProjectJsonConsoleTemplate/Program.cs +++ b/TestAssets/TestProjects/ProjectJsonConsoleTemplate/Program.cs @@ -6,4 +6,4 @@ class Program { Console.WriteLine("Hello World!"); } -} \ No newline at end of file +} diff --git a/TestAssets/TestProjects/VSTestDesktopAndNetCore/Tests.cs b/TestAssets/TestProjects/VSTestDesktopAndNetCore/Tests.cs index 6b1329249..cac325ddc 100644 --- a/TestAssets/TestProjects/VSTestDesktopAndNetCore/Tests.cs +++ b/TestAssets/TestProjects/VSTestDesktopAndNetCore/Tests.cs @@ -29,4 +29,4 @@ namespace TestNamespace } #endif } -} \ No newline at end of file +} diff --git a/TestAssets/TestProjects/VSTestDotNetCore/Tests.cs b/TestAssets/TestProjects/VSTestDotNetCore/Tests.cs index e9b847369..f7fd311e4 100644 --- a/TestAssets/TestProjects/VSTestDotNetCore/Tests.cs +++ b/TestAssets/TestProjects/VSTestDotNetCore/Tests.cs @@ -16,4 +16,4 @@ namespace TestNamespace Assert.Fail(); } } -} \ No newline at end of file +} diff --git a/build_projects/Microsoft.DotNet.Cli.Build.Framework/CurrentArchitecture.cs b/build_projects/Microsoft.DotNet.Cli.Build.Framework/CurrentArchitecture.cs index 165eee71d..1ec4caa67 100644 --- a/build_projects/Microsoft.DotNet.Cli.Build.Framework/CurrentArchitecture.cs +++ b/build_projects/Microsoft.DotNet.Cli.Build.Framework/CurrentArchitecture.cs @@ -47,4 +47,4 @@ namespace Microsoft.DotNet.Cli.Build.Framework } } } -} \ No newline at end of file +} diff --git a/build_projects/Microsoft.DotNet.Cli.Build.Framework/Enumerations/BuildArchitecture.cs b/build_projects/Microsoft.DotNet.Cli.Build.Framework/Enumerations/BuildArchitecture.cs index b2137ea07..8719eeb98 100644 --- a/build_projects/Microsoft.DotNet.Cli.Build.Framework/Enumerations/BuildArchitecture.cs +++ b/build_projects/Microsoft.DotNet.Cli.Build.Framework/Enumerations/BuildArchitecture.cs @@ -5,4 +5,4 @@ namespace Microsoft.DotNet.Cli.Build.Framework x86 = 1, x64 = 2 } -} \ No newline at end of file +} diff --git a/build_projects/dotnet-cli-build/AzureHelper.cs b/build_projects/dotnet-cli-build/AzureHelper.cs index 1c3f55e7f..5f0e375f4 100644 --- a/build_projects/dotnet-cli-build/AzureHelper.cs +++ b/build_projects/dotnet-cli-build/AzureHelper.cs @@ -398,4 +398,4 @@ namespace Microsoft.DotNet.Build.CloudTestTasks return dictionary; } } -} \ No newline at end of file +} diff --git a/build_projects/dotnet-cli-build/CreateAzureContainer.cs b/build_projects/dotnet-cli-build/CreateAzureContainer.cs index 9ad34e06c..4df677734 100644 --- a/build_projects/dotnet-cli-build/CreateAzureContainer.cs +++ b/build_projects/dotnet-cli-build/CreateAzureContainer.cs @@ -164,4 +164,4 @@ namespace Microsoft.DotNet.Build.CloudTestTasks return true; } } -} \ No newline at end of file +} diff --git a/build_projects/dotnet-cli-build/GetCurrentRuntimeInformation.cs b/build_projects/dotnet-cli-build/GetCurrentRuntimeInformation.cs index 5d58cb5f9..9f6f5f39b 100644 --- a/build_projects/dotnet-cli-build/GetCurrentRuntimeInformation.cs +++ b/build_projects/dotnet-cli-build/GetCurrentRuntimeInformation.cs @@ -44,4 +44,4 @@ namespace Microsoft.DotNet.Cli.Build return osname; } } -} \ No newline at end of file +} diff --git a/build_projects/dotnet-cli-build/SetBlobPropertiesBasedOnFileTypeTask.cs b/build_projects/dotnet-cli-build/SetBlobPropertiesBasedOnFileTypeTask.cs index 2c4bc4648..0dd295da8 100644 --- a/build_projects/dotnet-cli-build/SetBlobPropertiesBasedOnFileTypeTask.cs +++ b/build_projects/dotnet-cli-build/SetBlobPropertiesBasedOnFileTypeTask.cs @@ -61,4 +61,4 @@ namespace Microsoft.DotNet.Cli.Build return true; } } -} \ No newline at end of file +} diff --git a/build_projects/dotnet-cli-build/UploadClient.cs b/build_projects/dotnet-cli-build/UploadClient.cs index 6fe51e31f..246a38641 100644 --- a/build_projects/dotnet-cli-build/UploadClient.cs +++ b/build_projects/dotnet-cli-build/UploadClient.cs @@ -180,4 +180,4 @@ namespace Microsoft.DotNet.Build.CloudTestTasks } } } -} \ No newline at end of file +} diff --git a/build_projects/dotnet-cli-build/UploadToAzure.cs b/build_projects/dotnet-cli-build/UploadToAzure.cs index b166a87dc..550f4dfbf 100644 --- a/build_projects/dotnet-cli-build/UploadToAzure.cs +++ b/build_projects/dotnet-cli-build/UploadToAzure.cs @@ -183,4 +183,4 @@ namespace Microsoft.DotNet.Build.CloudTestTasks } } } -} \ No newline at end of file +} diff --git a/build_projects/dotnet-cli-build/ZipFileCreateFromDirectory.cs b/build_projects/dotnet-cli-build/ZipFileCreateFromDirectory.cs index 8ca191167..86c33611c 100644 --- a/build_projects/dotnet-cli-build/ZipFileCreateFromDirectory.cs +++ b/build_projects/dotnet-cli-build/ZipFileCreateFromDirectory.cs @@ -128,4 +128,4 @@ namespace Microsoft.DotNet.Build.Tasks return subdirectory.Substring(chop); } } -} \ No newline at end of file +} diff --git a/build_projects/dotnet-cli-build/ZipFileExtractToDirectory.cs b/build_projects/dotnet-cli-build/ZipFileExtractToDirectory.cs index aa78823f9..491abcf81 100644 --- a/build_projects/dotnet-cli-build/ZipFileExtractToDirectory.cs +++ b/build_projects/dotnet-cli-build/ZipFileExtractToDirectory.cs @@ -82,4 +82,4 @@ namespace Microsoft.DotNet.Build.Tasks return true; } } -} \ No newline at end of file +} diff --git a/build_projects/shared-build-targets-utils/BuildFailureException.cs b/build_projects/shared-build-targets-utils/BuildFailureException.cs index eeee16171..ea2c4caf2 100644 --- a/build_projects/shared-build-targets-utils/BuildFailureException.cs +++ b/build_projects/shared-build-targets-utils/BuildFailureException.cs @@ -11,9 +11,9 @@ namespace Microsoft.DotNet.Cli.Build public BuildFailureException(string message) : base(message) { } - + public BuildFailureException(string message, Exception innerException) : base(message, innerException) { } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.Archive/ConsoleProgressReport.cs b/src/Microsoft.DotNet.Archive/ConsoleProgressReport.cs index 636e35970..91e555c37 100644 --- a/src/Microsoft.DotNet.Archive/ConsoleProgressReport.cs +++ b/src/Microsoft.DotNet.Archive/ConsoleProgressReport.cs @@ -49,4 +49,4 @@ namespace Microsoft.DotNet.Archive } } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandParsing/Chain.cs b/src/Microsoft.DotNet.Cli.Utils/CommandParsing/Chain.cs index 263f65bb9..5032b659f 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandParsing/Chain.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandParsing/Chain.cs @@ -15,4 +15,4 @@ namespace Microsoft.DotNet.Cli.Utils.CommandParsing public readonly TLeft Left; public readonly TDown Down; } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandParsing/CommandGrammar.cs b/src/Microsoft.DotNet.Cli.Utils/CommandParsing/CommandGrammar.cs index 11c8c0994..5d682ab39 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandParsing/CommandGrammar.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandParsing/CommandGrammar.cs @@ -60,4 +60,4 @@ namespace Microsoft.DotNet.Cli.Utils.CommandParsing return result.Value.ToArray(); } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandParsing/Cursor.cs b/src/Microsoft.DotNet.Cli.Utils/CommandParsing/Cursor.cs index d8b639a8e..b46bf92e3 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandParsing/Cursor.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandParsing/Cursor.cs @@ -31,4 +31,4 @@ namespace Microsoft.DotNet.Cli.Utils.CommandParsing return new Result(result, new Cursor(_text, _start + length, _end)); } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandParsing/Grammar.cs b/src/Microsoft.DotNet.Cli.Utils/CommandParsing/Grammar.cs index fe32f6700..431e65023 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandParsing/Grammar.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandParsing/Grammar.cs @@ -49,4 +49,4 @@ namespace Microsoft.DotNet.Cli.Utils.CommandParsing return pos => pos.Peek(0) != ch ? Result.Empty : pos.Advance(ch, 1); } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandParsing/Parser.cs b/src/Microsoft.DotNet.Cli.Utils/CommandParsing/Parser.cs index 997a3177d..6be28ec40 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandParsing/Parser.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandParsing/Parser.cs @@ -4,4 +4,4 @@ namespace Microsoft.DotNet.Cli.Utils.CommandParsing { public delegate Result Parser(Cursor cursor); -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandParsing/ParserExtensions.cs b/src/Microsoft.DotNet.Cli.Utils/CommandParsing/ParserExtensions.cs index 04b16f3b3..69be3968b 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandParsing/ParserExtensions.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandParsing/ParserExtensions.cs @@ -82,4 +82,4 @@ namespace Microsoft.DotNet.Cli.Utils.CommandParsing return parser.Build(x => String.Concat(x.ToArray())); } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandParsing/Result.cs b/src/Microsoft.DotNet.Cli.Utils/CommandParsing/Result.cs index 9b01596e8..26eff19e6 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandParsing/Result.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandParsing/Result.cs @@ -30,4 +30,4 @@ namespace Microsoft.DotNet.Cli.Utils.CommandParsing return new Result(value2, Remainder); } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/CommandResolutionStrategy.cs b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/CommandResolutionStrategy.cs index e239fccb6..c414defc0 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/CommandResolutionStrategy.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/CommandResolutionStrategy.cs @@ -29,4 +29,4 @@ // command not found None } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/CompositeCommandResolver.cs b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/CompositeCommandResolver.cs index bce8811f3..dfaa4685f 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/CompositeCommandResolver.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/CompositeCommandResolver.cs @@ -39,4 +39,4 @@ namespace Microsoft.DotNet.Cli.Utils return null; } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/DepsJsonBuilder.cs b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/DepsJsonBuilder.cs index b682bb5af..c9a69f0c8 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/DepsJsonBuilder.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/DepsJsonBuilder.cs @@ -312,4 +312,4 @@ namespace Microsoft.DotNet.Cli.Utils return new ResourceAssembly(resourceAssembly.Path, locale); } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/ICommandResolverPolicy.cs b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/ICommandResolverPolicy.cs index f7116df42..da3a76a52 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/ICommandResolverPolicy.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/ICommandResolverPolicy.cs @@ -4,4 +4,4 @@ namespace Microsoft.DotNet.Cli.Utils { CompositeCommandResolver CreateCommandResolver(); } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/IProject.cs b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/IProject.cs index 89d22bbbf..d335964c3 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/IProject.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/IProject.cs @@ -24,4 +24,4 @@ namespace Microsoft.DotNet.Cli.Utils Dictionary EnvironmentVariables { get; } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/LockFileTargetExtensions.cs b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/LockFileTargetExtensions.cs index 9bb86d314..f09b9d1f5 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/LockFileTargetExtensions.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/LockFileTargetExtensions.cs @@ -98,4 +98,4 @@ namespace Microsoft.DotNet.Cli.Utils } } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/MSBuildProject.cs b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/MSBuildProject.cs index 4b6cda0e4..7430aab15 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/MSBuildProject.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/MSBuildProject.cs @@ -170,4 +170,4 @@ namespace Microsoft.DotNet.Cli.Utils return Path.Combine(intermediateOutputPath, "project.assets.json"); } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/NuGetUtils.cs b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/NuGetUtils.cs index 2c569a8ab..72aa0a545 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/NuGetUtils.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/NuGetUtils.cs @@ -22,4 +22,4 @@ namespace Microsoft.DotNet.Cli.Utils return files.Where(f => !IsPlaceholderFile(f.Path)); } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/ResourceAssemblyInfo.cs b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/ResourceAssemblyInfo.cs index 80346aae2..12183f077 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/ResourceAssemblyInfo.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/ResourceAssemblyInfo.cs @@ -14,4 +14,4 @@ namespace Microsoft.DotNet.Cli.Utils RelativePath = relativePath; } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/SingleProjectInfo.cs b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/SingleProjectInfo.cs index fa15442d6..02d9b7c99 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/SingleProjectInfo.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/SingleProjectInfo.cs @@ -24,4 +24,4 @@ namespace Microsoft.DotNet.Cli.Utils return $"{Name}.dll"; } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandResult.cs b/src/Microsoft.DotNet.Cli.Utils/CommandResult.cs index 9b7af5bde..7ffb87b74 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandResult.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandResult.cs @@ -22,4 +22,4 @@ namespace Microsoft.DotNet.Cli.Utils StdErr = stdErr; } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandSpec.cs b/src/Microsoft.DotNet.Cli.Utils/CommandSpec.cs index bf7d7fb3b..75ab4e500 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandSpec.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandSpec.cs @@ -32,4 +32,4 @@ namespace Microsoft.DotNet.Cli.Utils } } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandUnknownException.cs b/src/Microsoft.DotNet.Cli.Utils/CommandUnknownException.cs index 93034ba7d..ea6d91a59 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandUnknownException.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandUnknownException.cs @@ -18,4 +18,4 @@ namespace Microsoft.DotNet.Cli.Utils { } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.Cli.Utils/FileNameSuffixes.cs b/src/Microsoft.DotNet.Cli.Utils/FileNameSuffixes.cs index 86d1d6407..ffac77bfe 100644 --- a/src/Microsoft.DotNet.Cli.Utils/FileNameSuffixes.cs +++ b/src/Microsoft.DotNet.Cli.Utils/FileNameSuffixes.cs @@ -70,4 +70,4 @@ namespace Microsoft.DotNet.Cli.Utils public string StaticLib { get; internal set; } } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.Cli.Utils/GracefulException.cs b/src/Microsoft.DotNet.Cli.Utils/GracefulException.cs index 448049ee4..3908ea421 100644 --- a/src/Microsoft.DotNet.Cli.Utils/GracefulException.cs +++ b/src/Microsoft.DotNet.Cli.Utils/GracefulException.cs @@ -18,4 +18,4 @@ namespace Microsoft.DotNet.Cli.Utils Data.Add(ExceptionExtensions.CLI_User_Displayed_Exception, true); } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.Cli.Utils/LocalizableStrings.cs b/src/Microsoft.DotNet.Cli.Utils/LocalizableStrings.cs index ff4bf329b..bd40ebf67 100644 --- a/src/Microsoft.DotNet.Cli.Utils/LocalizableStrings.cs +++ b/src/Microsoft.DotNet.Cli.Utils/LocalizableStrings.cs @@ -86,4 +86,4 @@ namespace Microsoft.DotNet.Cli.Utils public const string UnableToInvokeMemberNameAfterCommand = "Unable to invoke {0} after the command has been run"; } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.Cli.Utils/PathUtility.cs b/src/Microsoft.DotNet.Cli.Utils/PathUtility.cs index 895257d28..6e970a835 100644 --- a/src/Microsoft.DotNet.Cli.Utils/PathUtility.cs +++ b/src/Microsoft.DotNet.Cli.Utils/PathUtility.cs @@ -79,7 +79,7 @@ namespace Microsoft.DotNet.Tools.Common EnsureDirectoryExists(directory); } - + public static void EnsureDirectoryExists(string directoryPath) { if (!Directory.Exists(directoryPath)) @@ -123,7 +123,7 @@ namespace Microsoft.DotNet.Tools.Common } /// - /// Returns path2 relative to path1, with Path.DirectorySeparatorChar as separator but ignoring directory + /// Returns path2 relative to path1, with Path.DirectorySeparatorChar as separator but ignoring directory /// traversals. /// public static string GetRelativePathIgnoringDirectoryTraversals(string path1, string path2) @@ -333,4 +333,4 @@ namespace Microsoft.DotNet.Tools.Common } } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.Cli.Utils/Tracing/PerfTrace.cs b/src/Microsoft.DotNet.Cli.Utils/Tracing/PerfTrace.cs index abbf866d8..696c00195 100644 --- a/src/Microsoft.DotNet.Cli.Utils/Tracing/PerfTrace.cs +++ b/src/Microsoft.DotNet.Cli.Utils/Tracing/PerfTrace.cs @@ -31,4 +31,4 @@ namespace Microsoft.DotNet.Cli.Utils return _threads; } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.Cli.Utils/Tracing/PerfTraceEvent.cs b/src/Microsoft.DotNet.Cli.Utils/Tracing/PerfTraceEvent.cs index bcfb53bae..9bf2e36ee 100644 --- a/src/Microsoft.DotNet.Cli.Utils/Tracing/PerfTraceEvent.cs +++ b/src/Microsoft.DotNet.Cli.Utils/Tracing/PerfTraceEvent.cs @@ -24,4 +24,4 @@ namespace Microsoft.DotNet.Cli.Utils Children = children.OrderBy(e => e.StartUtc).ToList(); } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.Cli.Utils/Tracing/PerfTraceOutput.cs b/src/Microsoft.DotNet.Cli.Utils/Tracing/PerfTraceOutput.cs index 403ee079b..f1b3b8cfb 100644 --- a/src/Microsoft.DotNet.Cli.Utils/Tracing/PerfTraceOutput.cs +++ b/src/Microsoft.DotNet.Cli.Utils/Tracing/PerfTraceOutput.cs @@ -77,4 +77,4 @@ namespace Microsoft.DotNet.Cli.Utils } } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.Cli.Utils/Tracing/PerfTraceThreadContext.cs b/src/Microsoft.DotNet.Cli.Utils/Tracing/PerfTraceThreadContext.cs index 41a42d746..2be2af011 100644 --- a/src/Microsoft.DotNet.Cli.Utils/Tracing/PerfTraceThreadContext.cs +++ b/src/Microsoft.DotNet.Cli.Utils/Tracing/PerfTraceThreadContext.cs @@ -73,4 +73,4 @@ namespace Microsoft.DotNet.Cli.Utils public PerfTraceEvent CreateEvent() => new PerfTraceEvent(_eventType, _instance, Children, _startUtc, _stopwatch.Elapsed); } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.Configurer/INuGetCachePrimer.cs b/src/Microsoft.DotNet.Configurer/INuGetCachePrimer.cs index 75c7dac5a..f570128d4 100644 --- a/src/Microsoft.DotNet.Configurer/INuGetCachePrimer.cs +++ b/src/Microsoft.DotNet.Configurer/INuGetCachePrimer.cs @@ -7,4 +7,4 @@ namespace Microsoft.DotNet.Configurer { void PrimeCache(); } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.Configurer/INuGetCacheSentinel.cs b/src/Microsoft.DotNet.Configurer/INuGetCacheSentinel.cs index 063f4c447..0eaa8d91d 100644 --- a/src/Microsoft.DotNet.Configurer/INuGetCacheSentinel.cs +++ b/src/Microsoft.DotNet.Configurer/INuGetCacheSentinel.cs @@ -13,4 +13,4 @@ namespace Microsoft.DotNet.Configurer void CreateIfNotExists(); } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.Configurer/LocalizableStrings.cs b/src/Microsoft.DotNet.Configurer/LocalizableStrings.cs index 5e5ec9d3b..5fe83556d 100644 --- a/src/Microsoft.DotNet.Configurer/LocalizableStrings.cs +++ b/src/Microsoft.DotNet.Configurer/LocalizableStrings.cs @@ -21,4 +21,4 @@ A command is running to initially populate your local package cache, to improve public const string FailedToPrimeCacheError = "Failed to prime the NuGet cache. {0} failed with: {1}"; } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.Configurer/NuGetPackagesArchiver.cs b/src/Microsoft.DotNet.Configurer/NuGetPackagesArchiver.cs index 32ec58a65..c8d509c40 100644 --- a/src/Microsoft.DotNet.Configurer/NuGetPackagesArchiver.cs +++ b/src/Microsoft.DotNet.Configurer/NuGetPackagesArchiver.cs @@ -12,11 +12,11 @@ namespace Microsoft.DotNet.Configurer { private ITemporaryDirectory _temporaryDirectory; - public string NuGetPackagesArchive => + public string NuGetPackagesArchive => Path.GetFullPath(Path.Combine(AppContext.BaseDirectory, "nuGetPackagesArchive.lzma")); public NuGetPackagesArchiver() : this(FileSystemWrapper.Default.Directory) - { + { } internal NuGetPackagesArchiver(IDirectory directory) @@ -25,7 +25,7 @@ namespace Microsoft.DotNet.Configurer } public string ExtractArchive() - { + { var progress = new ConsoleProgressReport(); var archive = new IndexedArchive(); @@ -37,6 +37,6 @@ namespace Microsoft.DotNet.Configurer public void Dispose() { _temporaryDirectory.Dispose(); - } + } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.Configurer/Properties/Properties.cs b/src/Microsoft.DotNet.Configurer/Properties/Properties.cs index 54a364c16..4d37e5414 100644 --- a/src/Microsoft.DotNet.Configurer/Properties/Properties.cs +++ b/src/Microsoft.DotNet.Configurer/Properties/Properties.cs @@ -2,4 +2,4 @@ using System.Reflection; using System.Runtime.CompilerServices; [assembly: AssemblyMetadataAttribute("Serviceable", "True")] -[assembly: InternalsVisibleTo("Microsoft.DotNet.Configurer.UnitTests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] \ No newline at end of file +[assembly: InternalsVisibleTo("Microsoft.DotNet.Configurer.UnitTests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] diff --git a/src/Microsoft.DotNet.InternalAbstractions/DirectoryWrapper.cs b/src/Microsoft.DotNet.InternalAbstractions/DirectoryWrapper.cs index 591462989..53005a456 100644 --- a/src/Microsoft.DotNet.InternalAbstractions/DirectoryWrapper.cs +++ b/src/Microsoft.DotNet.InternalAbstractions/DirectoryWrapper.cs @@ -43,4 +43,4 @@ namespace Microsoft.Extensions.EnvironmentAbstractions return directoryFullName; } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.InternalAbstractions/EnvironmentWrapper.cs b/src/Microsoft.DotNet.InternalAbstractions/EnvironmentWrapper.cs index 405cd9054..8e81a0ca4 100644 --- a/src/Microsoft.DotNet.InternalAbstractions/EnvironmentWrapper.cs +++ b/src/Microsoft.DotNet.InternalAbstractions/EnvironmentWrapper.cs @@ -14,4 +14,4 @@ namespace Microsoft.Extensions.EnvironmentAbstractions return Environment.GetEnvironmentVariable(name); } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.InternalAbstractions/FileSystemWrapper.cs b/src/Microsoft.DotNet.InternalAbstractions/FileSystemWrapper.cs index 9d69002e8..881807431 100644 --- a/src/Microsoft.DotNet.InternalAbstractions/FileSystemWrapper.cs +++ b/src/Microsoft.DotNet.InternalAbstractions/FileSystemWrapper.cs @@ -11,4 +11,4 @@ namespace Microsoft.Extensions.EnvironmentAbstractions public IDirectory Directory { get; } = new DirectoryWrapper(); } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.InternalAbstractions/FileWrapper.cs b/src/Microsoft.DotNet.InternalAbstractions/FileWrapper.cs index 9a71ba5d2..954c7ba03 100644 --- a/src/Microsoft.DotNet.InternalAbstractions/FileWrapper.cs +++ b/src/Microsoft.DotNet.InternalAbstractions/FileWrapper.cs @@ -41,4 +41,4 @@ namespace Microsoft.Extensions.EnvironmentAbstractions } } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.InternalAbstractions/IDirectory.cs b/src/Microsoft.DotNet.InternalAbstractions/IDirectory.cs index 95464df21..61087e088 100644 --- a/src/Microsoft.DotNet.InternalAbstractions/IDirectory.cs +++ b/src/Microsoft.DotNet.InternalAbstractions/IDirectory.cs @@ -15,4 +15,4 @@ namespace Microsoft.Extensions.EnvironmentAbstractions string GetDirectoryFullName(string path); } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.InternalAbstractions/IEnvironment.cs b/src/Microsoft.DotNet.InternalAbstractions/IEnvironment.cs index 79452612f..8b3785c20 100644 --- a/src/Microsoft.DotNet.InternalAbstractions/IEnvironment.cs +++ b/src/Microsoft.DotNet.InternalAbstractions/IEnvironment.cs @@ -7,4 +7,4 @@ namespace Microsoft.Extensions.EnvironmentAbstractions { string GetEnvironmentVariable(string name); } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.InternalAbstractions/IFile.cs b/src/Microsoft.DotNet.InternalAbstractions/IFile.cs index 3e19c63f0..604ce6f9d 100644 --- a/src/Microsoft.DotNet.InternalAbstractions/IFile.cs +++ b/src/Microsoft.DotNet.InternalAbstractions/IFile.cs @@ -23,4 +23,4 @@ namespace Microsoft.Extensions.EnvironmentAbstractions void CreateEmptyFile(string path); } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/ConstantPackageVersions.cs b/src/Microsoft.DotNet.ProjectJsonMigration/ConstantPackageVersions.cs index bb86cd1c3..34ac15ee9 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/ConstantPackageVersions.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/ConstantPackageVersions.cs @@ -16,4 +16,4 @@ namespace Microsoft.DotNet.ProjectJsonMigration public const string MstestTestFrameworkVersion = "1.0.8-rc"; public const string BundleMinifierToolVersion = "2.2.301"; } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/DotnetSupportedPackageVersionsCsvProvider.cs b/src/Microsoft.DotNet.ProjectJsonMigration/DotnetSupportedPackageVersionsCsvProvider.cs index 8f2fe2bc7..29efa26fe 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/DotnetSupportedPackageVersionsCsvProvider.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/DotnetSupportedPackageVersionsCsvProvider.cs @@ -52,4 +52,4 @@ namespace Microsoft.DotNet.ProjectJsonMigration return !string.IsNullOrEmpty(version); } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/IDotnetSupportedPackageVersionsProvider.cs b/src/Microsoft.DotNet.ProjectJsonMigration/IDotnetSupportedPackageVersionsProvider.cs index bdb354992..27d05f907 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/IDotnetSupportedPackageVersionsProvider.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/IDotnetSupportedPackageVersionsProvider.cs @@ -10,4 +10,4 @@ namespace Microsoft.DotNet.ProjectJsonMigration void AddDotnetSupportedPackageVersions( IDictionary projectDependenciesPackages); } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/LocalizableStrings.cs b/src/Microsoft.DotNet.ProjectJsonMigration/LocalizableStrings.cs index 1a669e877..f81a55525 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/LocalizableStrings.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/LocalizableStrings.cs @@ -123,4 +123,4 @@ namespace Microsoft.DotNet.ProjectJsonMigration public const string PropertyInfo = "{0}: {1}, {{ Name={2}, Value={3} }}"; } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/AnalyzerOptions.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/AnalyzerOptions.cs index 87cdc0eee..ac60f0957 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/AnalyzerOptions.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/AnalyzerOptions.cs @@ -54,4 +54,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel return !(left == right); } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Compilation/AnalyzerAssembly.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Compilation/AnalyzerAssembly.cs index 6ec2b0b27..75456f630 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Compilation/AnalyzerAssembly.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Compilation/AnalyzerAssembly.cs @@ -11,22 +11,22 @@ namespace Microsoft.DotNet.Internal.ProjectModel.Compilation /// The fully-qualified path to the analyzer assembly. /// public string AssemblyPath { get; } - + /// /// The supported language of the analyzer assembly. /// public string AnalyzerLanguage { get; } - + /// /// The required framework for hosting the analyzer assembly. /// public NuGetFramework RequiredFramework { get; } - + /// /// The required runtime for hosting the analyzer assembly. /// public string RuntimeIdentifier { get; } - + public AnalyzerReference( string assembly, NuGetFramework framework, @@ -39,4 +39,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.Compilation RuntimeIdentifier = runtimeIdentifier; } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Compilation/LibraryAssetGroup.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Compilation/LibraryAssetGroup.cs index 941fc0f48..ecbd44ffd 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Compilation/LibraryAssetGroup.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Compilation/LibraryAssetGroup.cs @@ -26,4 +26,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.Compilation /// public IReadOnlyList Assets { get; } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Compilation/LibraryExportBuilder.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Compilation/LibraryExportBuilder.cs index 54b55d7b1..b58782d4f 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Compilation/LibraryExportBuilder.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Compilation/LibraryExportBuilder.cs @@ -188,4 +188,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.Compilation list.Add(item); } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Compilation/LibraryResourceAssembly.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Compilation/LibraryResourceAssembly.cs index 79e93d615..23815fd93 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Compilation/LibraryResourceAssembly.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Compilation/LibraryResourceAssembly.cs @@ -15,4 +15,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.Compilation public string Locale { get; } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/CompilationOutputFiles.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/CompilationOutputFiles.cs index 588bb3734..0610ae1d3 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/CompilationOutputFiles.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/CompilationOutputFiles.cs @@ -101,4 +101,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel return includeFiles.Select(f => f.SourcePath); } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/DiagnosticMessage.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/DiagnosticMessage.cs index a8c8c07b4..c533a3e27 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/DiagnosticMessage.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/DiagnosticMessage.cs @@ -40,9 +40,9 @@ namespace Microsoft.DotNet.Internal.ProjectModel source: source) { } - public DiagnosticMessage(string errorCode, string message, string formattedMessage, string filePath, + public DiagnosticMessage(string errorCode, string message, string formattedMessage, string filePath, DiagnosticMessageSeverity severity, int startLine, int startColumn, int endLine, int endColumn) - : this(errorCode, + : this(errorCode, message, formattedMessage, filePath, @@ -129,4 +129,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel /// public LibraryDescription Source { get; } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/DiagnosticMessageSeverity.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/DiagnosticMessageSeverity.cs index 2ead2eed5..8a823300e 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/DiagnosticMessageSeverity.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/DiagnosticMessageSeverity.cs @@ -12,4 +12,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel Warning, Error, } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Abstractions/DirectoryInfoBase.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Abstractions/DirectoryInfoBase.cs index 37f31803e..5829d6499 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Abstractions/DirectoryInfoBase.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Abstractions/DirectoryInfoBase.cs @@ -13,4 +13,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.FileSystemGlobbing.Abstractions public abstract FileInfoBase GetFile(string path); } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Abstractions/FileInfoBase.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Abstractions/FileInfoBase.cs index 2a4dc403f..633c8e524 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Abstractions/FileInfoBase.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Abstractions/FileInfoBase.cs @@ -6,4 +6,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.FileSystemGlobbing.Abstractions internal abstract class FileInfoBase : FileSystemInfoBase { } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Abstractions/FileInfoWrapper.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Abstractions/FileInfoWrapper.cs index 2cd2abcab..c28dcfdc3 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Abstractions/FileInfoWrapper.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Abstractions/FileInfoWrapper.cs @@ -29,4 +29,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.FileSystemGlobbing.Abstractions get { return new DirectoryInfoWrapper(_fileInfo.Directory); } } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Abstractions/FileSystemInfoBase.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Abstractions/FileSystemInfoBase.cs index 09a88909a..3d50eb272 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Abstractions/FileSystemInfoBase.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Abstractions/FileSystemInfoBase.cs @@ -11,4 +11,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.FileSystemGlobbing.Abstractions public abstract DirectoryInfoBase ParentDirectory { get; } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/FilePatternMatch.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/FilePatternMatch.cs index b3bb6d075..23506bdb4 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/FilePatternMatch.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/FilePatternMatch.cs @@ -37,4 +37,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.FileSystemGlobbing return hashCodeCombiner.CombinedHash; } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/ILinearPattern.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/ILinearPattern.cs index 9fcaa0306..13c399597 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/ILinearPattern.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/ILinearPattern.cs @@ -9,4 +9,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.FileSystemGlobbing.Internal { IList Segments { get; } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/IPathSegment.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/IPathSegment.cs index 64300e4f6..fe571da2e 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/IPathSegment.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/IPathSegment.cs @@ -9,4 +9,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.FileSystemGlobbing.Internal bool Match(string value); } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/IPattern.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/IPattern.cs index d7bc796cd..c4ea64c28 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/IPattern.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/IPattern.cs @@ -9,4 +9,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.FileSystemGlobbing.Internal IPatternContext CreatePatternContextForExclude(); } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/IRaggedPattern.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/IRaggedPattern.cs index 2bc081089..931f14fb3 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/IRaggedPattern.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/IRaggedPattern.cs @@ -15,4 +15,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.FileSystemGlobbing.Internal IList EndsWith { get; } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/PathSegments/CurrentPathSegment.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/PathSegments/CurrentPathSegment.cs index 6569c70ed..441537144 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/PathSegments/CurrentPathSegment.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/PathSegments/CurrentPathSegment.cs @@ -14,4 +14,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.FileSystemGlobbing.Internal.Pat return false; } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/PathSegments/LiteralPathSegment.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/PathSegments/LiteralPathSegment.cs index e41a1e3a3..ad914c0f7 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/PathSegments/LiteralPathSegment.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/PathSegments/LiteralPathSegment.cs @@ -45,4 +45,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.FileSystemGlobbing.Internal.Pat return StringComparisonHelper.GetStringComparer(_comparisonType).GetHashCode(Value); } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/PathSegments/ParentPathSegment.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/PathSegments/ParentPathSegment.cs index c83618abc..ffcd6a97e 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/PathSegments/ParentPathSegment.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/PathSegments/ParentPathSegment.cs @@ -16,4 +16,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.FileSystemGlobbing.Internal.Pat return string.Equals(LiteralParent, value, StringComparison.Ordinal); } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/PathSegments/RecursiveWildcardSegment.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/PathSegments/RecursiveWildcardSegment.cs index 9337247fc..e6a4d44b9 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/PathSegments/RecursiveWildcardSegment.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/PathSegments/RecursiveWildcardSegment.cs @@ -14,4 +14,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.FileSystemGlobbing.Internal.Pat return false; } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/PathSegments/WildcardPathSegment.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/PathSegments/WildcardPathSegment.cs index 66e944dfb..8022aa8c3 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/PathSegments/WildcardPathSegment.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/PathSegments/WildcardPathSegment.cs @@ -8,7 +8,7 @@ namespace Microsoft.DotNet.Internal.ProjectModel.FileSystemGlobbing.Internal.Pat { internal class WildcardPathSegment : IPathSegment { - // It doesn't matter which StringComparison type is used in this MatchAll segment because + // It doesn't matter which StringComparison type is used in this MatchAll segment because // all comparing are skipped since there is no content in the segment. public static readonly WildcardPathSegment MatchAll = new WildcardPathSegment( string.Empty, new List(), string.Empty, StringComparison.OrdinalIgnoreCase); @@ -71,4 +71,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.FileSystemGlobbing.Internal.Pat return true; } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/PatternContexts/PatternContext.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/PatternContexts/PatternContext.cs index 6afc07c3d..d846541dc 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/PatternContexts/PatternContext.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/PatternContexts/PatternContext.cs @@ -36,4 +36,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.FileSystemGlobbing.Internal.Pat return _stack.Count == 0; } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/PatternTestResult.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/PatternTestResult.cs index 20146a528..58d6dabd9 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/PatternTestResult.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/PatternTestResult.cs @@ -21,4 +21,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.FileSystemGlobbing.Internal return new PatternTestResult(isSuccessful: true, stem: stem); } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/Patterns/PatternBuilder.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/Patterns/PatternBuilder.cs index fc275fe06..7684ee502 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/Patterns/PatternBuilder.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Internal/Patterns/PatternBuilder.cs @@ -104,7 +104,7 @@ namespace Microsoft.DotNet.Internal.ProjectModel.FileSystemGlobbing.Internal.Pat pattern[beginSegment + 2] == '.') { // recognize **. - // swallow the first *, add the recursive path segment and + // swallow the first *, add the recursive path segment and // the remaining part will be treat as wild card in next loop. segment = new RecursiveWildcardSegment(); endSegment = beginSegment; @@ -269,4 +269,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.FileSystemGlobbing.Internal.Pat } } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Matcher.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Matcher.cs index 1b93f480a..b08855011 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Matcher.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/Matcher.cs @@ -45,4 +45,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.FileSystemGlobbing return context.Execute(); } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/MatcherExtensions.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/MatcherExtensions.cs index be4cfba4c..e2aa7fb68 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/MatcherExtensions.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/MatcherExtensions.cs @@ -41,4 +41,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.FileSystemGlobbing return result; } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/PatternMatchingResult.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/PatternMatchingResult.cs index 1cc933c01..3e2a10fa4 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/PatternMatchingResult.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileSystemGlobbing/PatternMatchingResult.cs @@ -14,4 +14,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.FileSystemGlobbing public IEnumerable Files { get; set; } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Files/PackIncludeEntry.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Files/PackIncludeEntry.cs index 40bc57f1b..260891bcf 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Files/PackIncludeEntry.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Files/PackIncludeEntry.cs @@ -46,4 +46,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.Files return new string[0]; } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Graph/ExportFile.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Graph/ExportFile.cs index 92f586592..30b7bdde8 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Graph/ExportFile.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Graph/ExportFile.cs @@ -20,4 +20,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.Graph Exports = exports.Any() ? exports : new List(0); } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Graph/LockFileExtensions.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Graph/LockFileExtensions.cs index 0a6d879f3..14ccc88a4 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Graph/LockFileExtensions.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Graph/LockFileExtensions.cs @@ -70,4 +70,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.Graph return true; } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Graph/ProjectLibraryDependency.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Graph/ProjectLibraryDependency.cs index 5b2c015d5..4c0169663 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Graph/ProjectLibraryDependency.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Graph/ProjectLibraryDependency.cs @@ -17,4 +17,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel LibraryRange = libraryRange; } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/IProjectReader.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/IProjectReader.cs index a9e8c61a2..b46bf0ce8 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/IProjectReader.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/IProjectReader.cs @@ -7,4 +7,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel { Project ReadProject(string projectPath, ProjectReaderSettings settings = null); } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/OutputPathsCalculator.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/OutputPathsCalculator.cs index d3269f61e..dac398927 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/OutputPathsCalculator.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/OutputPathsCalculator.cs @@ -74,4 +74,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel return new OutputPaths(intermediateOutputPath, compilationOutputPath, runtimeOutputPath, compilationFiles, runtimeFiles); } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/PackOptions.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/PackOptions.cs index cd5677bb9..0172c5fd0 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/PackOptions.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/PackOptions.cs @@ -29,4 +29,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel public IncludeContext PackInclude { get; set; } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/ProjectContextIdentity.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/ProjectContextIdentity.cs index 4278a9aca..fbd95238f 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/ProjectContextIdentity.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/ProjectContextIdentity.cs @@ -36,4 +36,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel return combiner.CombinedHash; } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/ProjectFileDependencyGroup.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/ProjectFileDependencyGroup.cs index eea721847..a82db9434 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/ProjectFileDependencyGroup.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/ProjectFileDependencyGroup.cs @@ -18,4 +18,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel public IEnumerable Dependencies { get; } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Resolution/FrameworkInformation.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Resolution/FrameworkInformation.cs index 4638b9674..3e44a3430 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Resolution/FrameworkInformation.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Resolution/FrameworkInformation.cs @@ -49,4 +49,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.Resolution public string Path { get; set; } public Version Version { get; set; } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Resources/CultureInfoCache.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Resources/CultureInfoCache.cs index b414e9028..ac6404a18 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Resources/CultureInfoCache.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Resources/CultureInfoCache.cs @@ -436,4 +436,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.Resources "zh-CHT" }; } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Resources/ResourceUtility.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Resources/ResourceUtility.cs index 436007fba..b3f7eb16c 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Resources/ResourceUtility.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Resources/ResourceUtility.cs @@ -76,4 +76,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.Resources return string.Empty; } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/RuntimeConfig/RuntimeConfig.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/RuntimeConfig/RuntimeConfig.cs index 7c7e20102..0fa019796 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/RuntimeConfig/RuntimeConfig.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/RuntimeConfig/RuntimeConfig.cs @@ -57,4 +57,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel return RuntimeConfigFramework.ParseFromFrameworkRoot(framework); } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/RuntimeConfig/RuntimeConfigFramework.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/RuntimeConfig/RuntimeConfigFramework.cs index ca1d4a396..2c94490b0 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/RuntimeConfig/RuntimeConfigFramework.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/RuntimeConfig/RuntimeConfigFramework.cs @@ -33,4 +33,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel }; } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/RuntimeGraphCollector.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/RuntimeGraphCollector.cs index f1b5c7dbd..4e92196c5 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/RuntimeGraphCollector.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/RuntimeGraphCollector.cs @@ -31,4 +31,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel return graph; } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/RuntimeOptions.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/RuntimeOptions.cs index 2c9fac1dd..a03d22ca8 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/RuntimeOptions.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/RuntimeOptions.cs @@ -9,4 +9,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel public bool GcConcurrent { get; set; } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Utilities/PathUtility.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Utilities/PathUtility.cs index 90f2bab76..73257f35c 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Utilities/PathUtility.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Utilities/PathUtility.cs @@ -57,7 +57,7 @@ namespace Microsoft.DotNet.Internal.ProjectModel.Utilities EnsureDirectoryExists(directory); } - + public static void EnsureDirectoryExists(string directoryPath) { if (!Directory.Exists(directoryPath)) @@ -213,4 +213,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.Utilities } } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Utilities/ResilientFileStreamOpener.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Utilities/ResilientFileStreamOpener.cs index e2f4e29d0..ab31cbaa5 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Utilities/ResilientFileStreamOpener.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Utilities/ResilientFileStreamOpener.cs @@ -42,4 +42,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.Utilities } } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Utilities/VersionUtility.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Utilities/VersionUtility.cs index 90a721e38..cfc75f6a6 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Utilities/VersionUtility.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Utilities/VersionUtility.cs @@ -120,4 +120,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.Utilities return sb.ToString(); } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/MigrationError.cs b/src/Microsoft.DotNet.ProjectJsonMigration/MigrationError.cs index 868292fc7..b79bcea32 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/MigrationError.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/MigrationError.cs @@ -28,4 +28,4 @@ namespace Microsoft.DotNet.ProjectJsonMigration return $"{ErrorCode}::{GeneralErrorReason}: {Message}"; } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/MigrationErrorCodes.cs b/src/Microsoft.DotNet.ProjectJsonMigration/MigrationErrorCodes.cs index 1d5818b5d..9fd5a3f51 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/MigrationErrorCodes.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/MigrationErrorCodes.cs @@ -47,4 +47,4 @@ namespace Microsoft.DotNet.ProjectJsonMigration public static Func MIGRATE20018 => (message) => new MigrationError(nameof(MIGRATE20018), LocalizableStrings.MIGRATE20018, message); } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/MigrationException.cs b/src/Microsoft.DotNet.ProjectJsonMigration/MigrationException.cs index 08047e66e..31652bc43 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/MigrationException.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/MigrationException.cs @@ -5,12 +5,12 @@ using System; namespace Microsoft.DotNet.ProjectJsonMigration { - internal class MigrationException : Exception - { + internal class MigrationException : Exception + { public MigrationError Error { get; } - public MigrationException(MigrationError error, string message) : base(message) - { + public MigrationException(MigrationError error, string message) : base(message) + { Error = error; } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/MigrationTrace.cs b/src/Microsoft.DotNet.ProjectJsonMigration/MigrationTrace.cs index ab2029f24..46eff9e46 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/MigrationTrace.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/MigrationTrace.cs @@ -46,4 +46,4 @@ namespace Microsoft.DotNet.ProjectJsonMigration } } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Models/DefaultProjectItemInfo.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Models/DefaultProjectItemInfo.cs index 5cbd37153..657edd357 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Models/DefaultProjectItemInfo.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Models/DefaultProjectItemInfo.cs @@ -14,4 +14,4 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Models public string Condition {get; set;} public string ParentCondition {get; set;} } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Models/DefaultProjectPropertyInfo.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Models/DefaultProjectPropertyInfo.cs index cb4097e79..e93482913 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Models/DefaultProjectPropertyInfo.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Models/DefaultProjectPropertyInfo.cs @@ -14,4 +14,4 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Models } } - \ No newline at end of file + diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Models/SerializableMigrationDefaultsInfo.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Models/SerializableMigrationDefaultsInfo.cs index 25dc7b08d..2b0770d25 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Models/SerializableMigrationDefaultsInfo.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Models/SerializableMigrationDefaultsInfo.cs @@ -10,4 +10,4 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Models public IEnumerable Items { get; set; } public IEnumerable Properties { get; set; } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/ProjectExtensions.cs b/src/Microsoft.DotNet.ProjectJsonMigration/ProjectExtensions.cs index 9bca917b0..f7db81b49 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/ProjectExtensions.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/ProjectExtensions.cs @@ -68,4 +68,4 @@ namespace Microsoft.DotNet.ProjectJsonMigration return dependencies.Any(pred); } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/ProjectType.cs b/src/Microsoft.DotNet.ProjectJsonMigration/ProjectType.cs index 93349d576..d21526edb 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/ProjectType.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/ProjectType.cs @@ -7,4 +7,4 @@ namespace Microsoft.DotNet.ProjectJsonMigration Test, Web } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Rules/MigrateAssemblyInfoRule.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Rules/MigrateAssemblyInfoRule.cs index 4b6d3ec9e..46f51cb5e 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Rules/MigrateAssemblyInfoRule.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Rules/MigrateAssemblyInfoRule.cs @@ -167,4 +167,4 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Rules } } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Rules/MigratePackOptionsRule.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Rules/MigratePackOptionsRule.cs index 570e8e648..d98e6e5e1 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Rules/MigratePackOptionsRule.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Rules/MigratePackOptionsRule.cs @@ -17,42 +17,42 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Rules internal class MigratePackOptionsRule : IMigrationRule { private AddPropertyTransform TagsTransform => new AddPropertyTransform( - "PackageTags", + "PackageTags", packOptions => string.Join(";", packOptions.Tags), packOptions => packOptions.Tags != null && packOptions.Tags.Any()); private AddPropertyTransform ReleaseNotesTransform => new AddPropertyTransform( - "PackageReleaseNotes", + "PackageReleaseNotes", packOptions => packOptions.ReleaseNotes, packOptions => !string.IsNullOrEmpty(packOptions.ReleaseNotes)); private AddPropertyTransform IconUrlTransform => new AddPropertyTransform( - "PackageIconUrl", + "PackageIconUrl", packOptions => packOptions.IconUrl, packOptions => !string.IsNullOrEmpty(packOptions.IconUrl)); private AddPropertyTransform ProjectUrlTransform => new AddPropertyTransform( - "PackageProjectUrl", + "PackageProjectUrl", packOptions => packOptions.ProjectUrl, packOptions => !string.IsNullOrEmpty(packOptions.ProjectUrl)); private AddPropertyTransform LicenseUrlTransform => new AddPropertyTransform( - "PackageLicenseUrl", + "PackageLicenseUrl", packOptions => packOptions.LicenseUrl, packOptions => !string.IsNullOrEmpty(packOptions.LicenseUrl)); private AddPropertyTransform RequireLicenseAcceptanceTransform => new AddPropertyTransform( - "PackageRequireLicenseAcceptance", + "PackageRequireLicenseAcceptance", packOptions => packOptions.RequireLicenseAcceptance.ToString().ToLower(), packOptions => true); private AddPropertyTransform RepositoryTypeTransform => new AddPropertyTransform( - "RepositoryType", + "RepositoryType", packOptions => packOptions.RepositoryType, packOptions => !string.IsNullOrEmpty(packOptions.RepositoryType)); private AddPropertyTransform RepositoryUrlTransform => new AddPropertyTransform( - "RepositoryUrl", + "RepositoryUrl", packOptions => packOptions.RepositoryUrl, packOptions => !string.IsNullOrEmpty(packOptions.RepositoryUrl)); @@ -145,4 +145,4 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Rules return normalizedTargetPath[normalizedTargetPath.Length - 1] == Path.DirectorySeparatorChar; } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/SupportedPackageVersions.cs b/src/Microsoft.DotNet.ProjectJsonMigration/SupportedPackageVersions.cs index 511763603..1ea5aa239 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/SupportedPackageVersions.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/SupportedPackageVersions.cs @@ -17,7 +17,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration { get { - return !string.IsNullOrEmpty(Name) && + return !string.IsNullOrEmpty(Name) && (Name.Equals("Microsoft.NETCore.App", StringComparison.OrdinalIgnoreCase) || Name.Equals("NETStandard.Library", StringComparison.OrdinalIgnoreCase)); } @@ -287,4 +287,4 @@ namespace Microsoft.DotNet.ProjectJsonMigration .AddDotnetSupportedPackageVersions(ProjectDependencyPackages); } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Transforms/UpdateContextTransform.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Transforms/UpdateContextTransform.cs index 4e3080f52..7418274fc 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Transforms/UpdateContextTransform.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Transforms/UpdateContextTransform.cs @@ -60,4 +60,4 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Transforms { } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/transforms/ITransform.cs b/src/Microsoft.DotNet.ProjectJsonMigration/transforms/ITransform.cs index 23e82b8f7..df8eaf24b 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/transforms/ITransform.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/transforms/ITransform.cs @@ -7,4 +7,4 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Transforms { U Transform(T source); } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/transforms/ITransformApplicator.cs b/src/Microsoft.DotNet.ProjectJsonMigration/transforms/ITransformApplicator.cs index 6b1bb5f52..f1af39fad 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/transforms/ITransformApplicator.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/transforms/ITransformApplicator.cs @@ -18,4 +18,4 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Transforms U destinationElement, bool mergeExisting) where T : ProjectElement where U : ProjectElementContainer; } -} \ No newline at end of file +} diff --git a/src/dotnet/CommandLine/CommandOption.cs b/src/dotnet/CommandLine/CommandOption.cs index f7de40e48..caed0bd77 100644 --- a/src/dotnet/CommandLine/CommandOption.cs +++ b/src/dotnet/CommandLine/CommandOption.cs @@ -44,7 +44,7 @@ namespace Microsoft.DotNet.Cli.CommandLine ValueName = part.Substring(1, part.Length - 5); } else - { + { throw new ArgumentException(String.Format(LocalizableStrings.InvalidTemplateError, nameof(template))); } } @@ -132,4 +132,4 @@ namespace Microsoft.DotNet.Cli.CommandLine return (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z'); } } -} \ No newline at end of file +} diff --git a/src/dotnet/CommandLine/LocalizableStrings.cs b/src/dotnet/CommandLine/LocalizableStrings.cs index de0570b96..efe3169ad 100644 --- a/src/dotnet/CommandLine/LocalizableStrings.cs +++ b/src/dotnet/CommandLine/LocalizableStrings.cs @@ -44,4 +44,4 @@ namespace Microsoft.DotNet.Cli.CommandLine public const string MSBuildAdditionalArgsHelpText = "Any extra options that should be passed to MSBuild. See 'dotnet msbuild -h' for available options."; } -} \ No newline at end of file +} diff --git a/src/dotnet/MsbuildProject.cs b/src/dotnet/MsbuildProject.cs index bceeb144d..1f5811cd2 100644 --- a/src/dotnet/MsbuildProject.cs +++ b/src/dotnet/MsbuildProject.cs @@ -268,4 +268,4 @@ namespace Microsoft.DotNet.Tools } } } -} \ No newline at end of file +} diff --git a/src/dotnet/ProjectGlobbingResolver.cs b/src/dotnet/ProjectGlobbingResolver.cs index 2a3054489..28591b9de 100644 --- a/src/dotnet/ProjectGlobbingResolver.cs +++ b/src/dotnet/ProjectGlobbingResolver.cs @@ -67,4 +67,4 @@ namespace Microsoft.DotNet.Tools.Compiler } } } -} \ No newline at end of file +} diff --git a/src/dotnet/commands/dotnet-add/LocalizableStrings.cs b/src/dotnet/commands/dotnet-add/LocalizableStrings.cs index 2e6868f4b..cca914239 100644 --- a/src/dotnet/commands/dotnet-add/LocalizableStrings.cs +++ b/src/dotnet/commands/dotnet-add/LocalizableStrings.cs @@ -7,4 +7,4 @@ namespace Microsoft.DotNet.Tools.Add { public const string NetAddCommand = ".NET Add Command"; } -} \ No newline at end of file +} diff --git a/src/dotnet/commands/dotnet-add/Program.cs b/src/dotnet/commands/dotnet-add/Program.cs index 6ed977a98..09de6a9f9 100644 --- a/src/dotnet/commands/dotnet-add/Program.cs +++ b/src/dotnet/commands/dotnet-add/Program.cs @@ -29,4 +29,4 @@ namespace Microsoft.DotNet.Tools.Add return command.RunCommand(args); } } -} \ No newline at end of file +} diff --git a/src/dotnet/commands/dotnet-add/dotnet-add-package/LocalizableStrings.cs b/src/dotnet/commands/dotnet-add/dotnet-add-package/LocalizableStrings.cs index 5c5bf6287..6713d6c64 100644 --- a/src/dotnet/commands/dotnet-add/dotnet-add-package/LocalizableStrings.cs +++ b/src/dotnet/commands/dotnet-add/dotnet-add-package/LocalizableStrings.cs @@ -35,4 +35,4 @@ namespace Microsoft.DotNet.Tools.Add.PackageReference public const string CmdPackageDirectory = "PACKAGE_DIRECTORY"; } -} \ No newline at end of file +} diff --git a/src/dotnet/commands/dotnet-add/dotnet-add-package/Program.cs b/src/dotnet/commands/dotnet-add/dotnet-add-package/Program.cs index 2336df766..c5a1fa054 100644 --- a/src/dotnet/commands/dotnet-add/dotnet-add-package/Program.cs +++ b/src/dotnet/commands/dotnet-add/dotnet-add-package/Program.cs @@ -178,4 +178,4 @@ namespace Microsoft.DotNet.Tools.Add.PackageReference return args.ToArray(); } } -} \ No newline at end of file +} diff --git a/src/dotnet/commands/dotnet-migrate/ProjectRootElementExtensions.cs b/src/dotnet/commands/dotnet-migrate/ProjectRootElementExtensions.cs index bf8f2b0a6..1441eb9ef 100644 --- a/src/dotnet/commands/dotnet-migrate/ProjectRootElementExtensions.cs +++ b/src/dotnet/commands/dotnet-migrate/ProjectRootElementExtensions.cs @@ -15,4 +15,4 @@ namespace Microsoft.DotNet.Tools.Migrate .GetMetadataWithName("version").Value; } } -} \ No newline at end of file +} diff --git a/src/dotnet/commands/dotnet-msbuild/LocalizableStrings.cs b/src/dotnet/commands/dotnet-msbuild/LocalizableStrings.cs index 8059f37ef..8ca83c8b8 100644 --- a/src/dotnet/commands/dotnet-msbuild/LocalizableStrings.cs +++ b/src/dotnet/commands/dotnet-msbuild/LocalizableStrings.cs @@ -4,4 +4,4 @@ namespace Microsoft.DotNet.Tools.MSBuild { public const string VerbosityOptionDescription = "Set the verbosity level of the command. Allowed values are q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic]"; } -} \ No newline at end of file +} diff --git a/src/dotnet/commands/dotnet-msbuild/MSBuildLogger.cs b/src/dotnet/commands/dotnet-msbuild/MSBuildLogger.cs index 9a7803e1e..88d64a832 100644 --- a/src/dotnet/commands/dotnet-msbuild/MSBuildLogger.cs +++ b/src/dotnet/commands/dotnet-msbuild/MSBuildLogger.cs @@ -18,7 +18,7 @@ namespace Microsoft.DotNet.Tools.MSBuild { try { - string sessionId = + string sessionId = Environment.GetEnvironmentVariable(MSBuildForwardingApp.TelemetrySessionIdEnvironmentVariableName); if (sessionId != null) @@ -71,4 +71,4 @@ namespace Microsoft.DotNet.Tools.MSBuild base.Shutdown(); } } -} \ No newline at end of file +} diff --git a/src/dotnet/commands/dotnet-remove/LocalizableStrings.cs b/src/dotnet/commands/dotnet-remove/LocalizableStrings.cs index 424151bb0..5f88aa844 100644 --- a/src/dotnet/commands/dotnet-remove/LocalizableStrings.cs +++ b/src/dotnet/commands/dotnet-remove/LocalizableStrings.cs @@ -7,4 +7,4 @@ namespace Microsoft.DotNet.Tools.Remove { public const string NetRemoveCommand = ".NET Remove Command"; } -} \ No newline at end of file +} diff --git a/src/dotnet/commands/dotnet-remove/dotnet-remove-package/LocalizableStrings.cs b/src/dotnet/commands/dotnet-remove/dotnet-remove-package/LocalizableStrings.cs index bde80c6ea..55186bf11 100644 --- a/src/dotnet/commands/dotnet-remove/dotnet-remove-package/LocalizableStrings.cs +++ b/src/dotnet/commands/dotnet-remove/dotnet-remove-package/LocalizableStrings.cs @@ -14,4 +14,4 @@ namespace Microsoft.DotNet.Tools.Remove.PackageReference public const string SpecifyExactlyOnePackageReference = "Please specify only one package reference to remove."; } -} \ No newline at end of file +} diff --git a/src/dotnet/commands/dotnet-remove/dotnet-remove-package/Program.cs b/src/dotnet/commands/dotnet-remove/dotnet-remove-package/Program.cs index b63b058e2..85af67e76 100644 --- a/src/dotnet/commands/dotnet-remove/dotnet-remove-package/Program.cs +++ b/src/dotnet/commands/dotnet-remove/dotnet-remove-package/Program.cs @@ -73,4 +73,4 @@ namespace Microsoft.DotNet.Tools.Remove.PackageReference }; } } -} \ No newline at end of file +} diff --git a/src/dotnet/commands/dotnet-run/LocalizableStrings.cs b/src/dotnet/commands/dotnet-run/LocalizableStrings.cs index c05a1b6fc..cbd0d303c 100644 --- a/src/dotnet/commands/dotnet-run/LocalizableStrings.cs +++ b/src/dotnet/commands/dotnet-run/LocalizableStrings.cs @@ -34,4 +34,4 @@ public const string RunCommandAdditionalArgsHelpText = "Arguments passed to the application that is being run."; } -} \ No newline at end of file +} diff --git a/src/dotnet/commands/dotnet-sln/Program.cs b/src/dotnet/commands/dotnet-sln/Program.cs index a1e81ad80..11e1abe65 100644 --- a/src/dotnet/commands/dotnet-sln/Program.cs +++ b/src/dotnet/commands/dotnet-sln/Program.cs @@ -31,4 +31,4 @@ namespace Microsoft.DotNet.Tools.Sln return command.RunCommand(args); } } -} \ No newline at end of file +} diff --git a/src/dotnet/commands/dotnet-vstest/Program.cs b/src/dotnet/commands/dotnet-vstest/Program.cs index 8cc29074f..6ebd5440f 100644 --- a/src/dotnet/commands/dotnet-vstest/Program.cs +++ b/src/dotnet/commands/dotnet-vstest/Program.cs @@ -14,4 +14,4 @@ namespace Microsoft.DotNet.Tools.VSTest return new VSTestForwardingApp(args).Execute(); } } -} \ No newline at end of file +} diff --git a/test/ArgumentForwardingTests/ArgumentForwardingTests.cs b/test/ArgumentForwardingTests/ArgumentForwardingTests.cs index d9cc2c6c0..2d889e043 100644 --- a/test/ArgumentForwardingTests/ArgumentForwardingTests.cs +++ b/test/ArgumentForwardingTests/ArgumentForwardingTests.cs @@ -268,4 +268,4 @@ namespace Microsoft.DotNet.Tests.ArgumentForwarding return ParseReflectorOutput(stdOut); } } -} \ No newline at end of file +} diff --git a/test/ArgumentsReflector/Reflector.cs b/test/ArgumentsReflector/Reflector.cs index 4176ebb0d..32523bfce 100644 --- a/test/ArgumentsReflector/Reflector.cs +++ b/test/ArgumentsReflector/Reflector.cs @@ -24,4 +24,4 @@ namespace Microsoft.DotNet.Tests.ArgumentForwarding } } } -} \ No newline at end of file +} diff --git a/test/Microsoft.DotNet.Cli.Utils.Tests/GivenThatWeWantToReadLockFilesQuickly.cs b/test/Microsoft.DotNet.Cli.Utils.Tests/GivenThatWeWantToReadLockFilesQuickly.cs index 410e8c9b2..156cb3d98 100644 --- a/test/Microsoft.DotNet.Cli.Utils.Tests/GivenThatWeWantToReadLockFilesQuickly.cs +++ b/test/Microsoft.DotNet.Cli.Utils.Tests/GivenThatWeWantToReadLockFilesQuickly.cs @@ -46,4 +46,4 @@ namespace Microsoft.DotNet.Cli.Utils.Tests stopWatch.ElapsedMilliseconds.Should().BeLessThan(1000); } } -} \ No newline at end of file +} diff --git a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/GivenAProjectMigrator.cs b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/GivenAProjectMigrator.cs index 368e9600b..9810e19cb 100644 --- a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/GivenAProjectMigrator.cs +++ b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/GivenAProjectMigrator.cs @@ -113,7 +113,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests public void ItHasErrorWhenMigratingAProjectJsonWithoutAFrameworks() { var testInstance = TestAssets.Get( - "NonRestoredTestProjects", + "NonRestoredTestProjects", "TestLibraryWithProjectFileWithoutFrameworks") .CreateInstance() .WithSourceFiles(); @@ -151,4 +151,4 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests } } } -} \ No newline at end of file +} diff --git a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/GivenMSBuildExtensions.cs b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/GivenMSBuildExtensions.cs index 2abb716a1..6a9069aef 100644 --- a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/GivenMSBuildExtensions.cs +++ b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/GivenMSBuildExtensions.cs @@ -260,4 +260,4 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests item2.Metadata.First().Value.Should().Be("value"); } } -} \ No newline at end of file +} diff --git a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToCleanTheOutputProject.cs b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToCleanTheOutputProject.cs index a5ee4c588..58dcde99c 100644 --- a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToCleanTheOutputProject.cs +++ b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToCleanTheOutputProject.cs @@ -35,4 +35,4 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests mockProj.Targets.Should().HaveCount(c => c == 1); } } -} \ No newline at end of file +} diff --git a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigrateAssemblyInfo.cs b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigrateAssemblyInfo.cs index 59df20f0b..61ebd00b0 100644 --- a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigrateAssemblyInfo.cs +++ b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigrateAssemblyInfo.cs @@ -127,4 +127,4 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests generateAssemblyAttributes.First().Value.Should().Be("false"); } } -} \ No newline at end of file +} diff --git a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigrateJsonProperties.cs b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigrateJsonProperties.cs index b3f109132..3aeed10b8 100644 --- a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigrateJsonProperties.cs +++ b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigrateJsonProperties.cs @@ -26,7 +26,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests { var mockProj = RunPropertiesRuleOnPj(@" { - ""userSecretsId"": ""XYZ"" + ""userSecretsId"": ""XYZ"" }"); mockProj.Properties.Count(p => p.Name == "UserSecretsId").Should().Be(1); @@ -38,7 +38,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests { var mockProj = RunPropertiesRuleOnPj(@" { - ""userSecretsId"": """" + ""userSecretsId"": """" }"); mockProj.Properties.Count(p => p.Name == "UserSecretsId").Should().Be(0); @@ -53,4 +53,4 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests }, project, testDirectory); } } -} \ No newline at end of file +} diff --git a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigratePackOptions.cs b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigratePackOptions.cs index e88dd1816..513fa4c9c 100644 --- a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigratePackOptions.cs +++ b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigratePackOptions.cs @@ -21,10 +21,10 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests { ""packOptions"": { ""summary"": ""Some not important summary"" - } + } }"); - - EmitsOnlyAlwaysEmittedPackOptionsProperties(mockProj); + + EmitsOnlyAlwaysEmittedPackOptionsProperties(mockProj); } [Fact] @@ -34,7 +34,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests { ""packOptions"": { ""owner"": ""Some not important owner"" - } + } }"); EmitsOnlyAlwaysEmittedPackOptionsProperties(mockProj); @@ -47,7 +47,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests { ""packOptions"": { ""tags"": [] - } + } }"); mockProj.Properties.Count(p => p.Name == "PackageTags").Should().Be(0); @@ -60,7 +60,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests { ""packOptions"": { ""tags"": [""hyperscale"", ""cats""] - } + } }"); mockProj.Properties.Count(p => p.Name == "PackageTags").Should().Be(1); @@ -74,7 +74,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests { ""packOptions"": { ""releaseNotes"": ""Some release notes value."" - } + } }"); mockProj.Properties.Count(p => p.Name == "PackageReleaseNotes").Should().Be(1); @@ -89,7 +89,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests { ""packOptions"": { ""iconUrl"": ""http://www.mylibrary.gov/favicon.ico"" - } + } }"); mockProj.Properties.Count(p => p.Name == "PackageIconUrl").Should().Be(1); @@ -104,7 +104,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests { ""packOptions"": { ""projectUrl"": ""http://www.url.to.library.com"" - } + } }"); mockProj.Properties.Count(p => p.Name == "PackageProjectUrl").Should().Be(1); @@ -119,7 +119,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests { ""packOptions"": { ""licenseUrl"": ""http://www.url.to.library.com/licence"" - } + } }"); mockProj.Properties.Count(p => p.Name == "PackageLicenseUrl").Should().Be(1); @@ -134,7 +134,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests { ""packOptions"": { ""requireLicenseAcceptance"": ""true"" - } + } }"); mockProj.Properties.Count(p => p.Name == "PackageRequireLicenseAcceptance").Should().Be(1); @@ -148,7 +148,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests { ""packOptions"": { ""requireLicenseAcceptance"": ""false"" - } + } }"); mockProj.Properties.Count(p => p.Name == "PackageRequireLicenseAcceptance").Should().Be(1); @@ -164,7 +164,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests ""repository"": { ""type"": ""git"" } - } + } }"); mockProj.Properties.Count(p => p.Name == "RepositoryType").Should().Be(1); @@ -277,8 +277,8 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests }"); var expectedPackagePath = string.Join( - ";", - new [] { + ";", + new [] { Path.Combine("different", "path"), Path.Combine("other", "path") }); @@ -307,6 +307,6 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests { project.Properties.Count().Should().Be(1); project.Properties.All(p => p.Name == "PackageRequireLicenseAcceptance").Should().BeTrue(); - } + } } -} \ No newline at end of file +} diff --git a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigratePackageDependencies.cs b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigratePackageDependencies.cs index 1bc10c03a..f243f096d 100644 --- a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigratePackageDependencies.cs +++ b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigratePackageDependencies.cs @@ -17,7 +17,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests [Fact] public void ItMigratesBasicPackageReference() { - var mockProj = RunPackageDependenciesRuleOnPj(@" + var mockProj = RunPackageDependenciesRuleOnPj(@" { ""dependencies"": { ""APackage"" : ""1.0.0-preview"", @@ -31,7 +31,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests [Fact] public void ItMigratesTypeBuildToPrivateAssets() { - var mockProj = RunPackageDependenciesRuleOnPj(@" + var mockProj = RunPackageDependenciesRuleOnPj(@" { ""dependencies"": { ""APackage"" : { @@ -52,7 +52,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests [Fact] public void ItMigratesSuppressParentArrayToPrivateAssets() { - var mockProj = RunPackageDependenciesRuleOnPj(@" + var mockProj = RunPackageDependenciesRuleOnPj(@" { ""dependencies"": { ""APackage"" : { @@ -71,7 +71,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests [Fact] public void ItMigratesSuppressParentStringToPrivateAssets() { - var mockProj = RunPackageDependenciesRuleOnPj(@" + var mockProj = RunPackageDependenciesRuleOnPj(@" { ""dependencies"": { ""APackage"" : { @@ -90,7 +90,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests [Fact] public void ItMigratesIncludeExcludeArraysToIncludeAssets() { - var mockProj = RunPackageDependenciesRuleOnPj(@" + var mockProj = RunPackageDependenciesRuleOnPj(@" { ""dependencies"": { ""APackage"" : { @@ -110,7 +110,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests [Fact] public void ItMigratesIncludeStringToIncludeAssets() { - var mockProj = RunPackageDependenciesRuleOnPj(@" + var mockProj = RunPackageDependenciesRuleOnPj(@" { ""dependencies"": { ""APackage"" : { @@ -130,7 +130,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests [Fact] public void ItMigratesIncludeExcludeOverlappingStringsToIncludeAssets() { - var mockProj = RunPackageDependenciesRuleOnPj(@" + var mockProj = RunPackageDependenciesRuleOnPj(@" { ""dependencies"": { ""APackage"" : { @@ -151,7 +151,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests [Fact] public void ItMigratesTools() { - var mockProj = RunPackageDependenciesRuleOnPj(@" + var mockProj = RunPackageDependenciesRuleOnPj(@" { ""tools"": { ""APackage"" : ""1.0.0-preview"", @@ -167,7 +167,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests { var importPropertyName = "PackageTargetFallback"; - var mockProj = RunPackageDependenciesRuleOnPj(@" + var mockProj = RunPackageDependenciesRuleOnPj(@" { ""frameworks"": { ""netcoreapp1.0"" : { @@ -179,7 +179,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests ""net451"" : { ""imports"": ""netstandard1.3"" } - } + } }"); var imports = mockProj.Properties.Where(p => p.Name == importPropertyName); @@ -205,7 +205,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests { var importPropertyName = "PackageTargetFallback"; - var mockProj = RunPackageDependenciesRuleOnPj(@" + var mockProj = RunPackageDependenciesRuleOnPj(@" { ""frameworks"": { ""netcoreapp1.0"" : { @@ -223,7 +223,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests [Fact] public void ItAutoAddDesktopReferencesDuringMigrate() { - var mockProj = RunPackageDependenciesRuleOnPj(@" + var mockProj = RunPackageDependenciesRuleOnPj(@" { ""frameworks"": { ""net35"" : {}, @@ -518,4 +518,4 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests netStandardImplicitPackageVersion.Condition.Should().BeEmpty(); } } -} \ No newline at end of file +} diff --git a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigratePackagesToTheirLTSVersions.cs b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigratePackagesToTheirLTSVersions.cs index d2e17fe0b..00cf1407b 100644 --- a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigratePackagesToTheirLTSVersions.cs +++ b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigratePackagesToTheirLTSVersions.cs @@ -281,4 +281,4 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests .Which.Value.Should().Be(targetVersion); } } -} \ No newline at end of file +} diff --git a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigratePublishOptions.cs b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigratePublishOptions.cs index 4c70e90c4..f4375f706 100644 --- a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigratePublishOptions.cs +++ b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigratePublishOptions.cs @@ -250,4 +250,4 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests }, s, testDirectory); } } -} \ No newline at end of file +} diff --git a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigrateRootOptions.cs b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigrateRootOptions.cs index 1ddf6dcfc..77dca900a 100644 --- a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigrateRootOptions.cs +++ b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigrateRootOptions.cs @@ -24,7 +24,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests mockProj.Properties.First(p => p.Name == "Authors").Value.Should().Be( "Some author;Some other author"); } - + private ProjectRootElement RunPropertiesRuleOnPj(string project, string testDirectory = null) { testDirectory = testDirectory ?? Temp.CreateDirectory().Path; @@ -34,4 +34,4 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests }, project, testDirectory); } } -} \ No newline at end of file +} diff --git a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigrateTools.cs b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigrateTools.cs index afcede957..fa3d7ed9a 100644 --- a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigrateTools.cs +++ b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigrateTools.cs @@ -26,7 +26,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests string targetVersion) { var mockProj = RunPackageDependenciesRuleOnPj("{ \"dependencies\": { \"" + sourceToolName + "\" : { \"version\": \"" + sourceVersion + "\", \"type\": \"build\" } } }"); - + var packageRef = mockProj.Items.First(i => i.Include == targetToolName && i.ItemType == "PackageReference"); packageRef.GetMetadataWithName("Version").Value.Should().Be(targetVersion); @@ -72,7 +72,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests { const string anyVersion = "1.0.0-preview2-final"; var mockProj = RunPackageDependenciesRuleOnPj("{ \"tools\": { \"" + sourceToolName + "\": \"" + anyVersion + "\" } }"); - + EmitsToolReferences(mockProj, Tuple.Create(targetToolName, targetVersion)); } @@ -100,4 +100,4 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests EmitsToolReferences(mockProj, Tuple.Create("Microsoft.EntityFrameworkCore.Tools.DotNet", ConstantPackageVersions.AspNetToolsVersion)); } } -} \ No newline at end of file +} diff --git a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigrateWebProjects.cs b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigrateWebProjects.cs index 403c2ddb6..81a9f475a 100644 --- a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigrateWebProjects.cs +++ b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigrateWebProjects.cs @@ -61,4 +61,4 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests return Path.GetFileName(projectDirectory); } } -} \ No newline at end of file +} diff --git a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/PackageDependenciesTestBase.cs b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/PackageDependenciesTestBase.cs index 9a5526646..f97bc4a35 100644 --- a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/PackageDependenciesTestBase.cs +++ b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/PackageDependenciesTestBase.cs @@ -60,4 +60,4 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests }, s, testDirectory); } } -} \ No newline at end of file +} diff --git a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/TemporaryProjectFileRuleRunner.cs b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/TemporaryProjectFileRuleRunner.cs index e8b7484ed..9d6ceaf6c 100644 --- a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/TemporaryProjectFileRuleRunner.cs +++ b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/TemporaryProjectFileRuleRunner.cs @@ -49,7 +49,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests if (projectContexts.Count() == 0) { projectContexts = new [] - { + { ProjectContext.Create(testPj, FrameworkConstants.CommonFrameworks.NetCoreApp10) }; } @@ -80,4 +80,4 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests return project; } } -} \ No newline at end of file +} diff --git a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Transforms/GivenATransformApplicator.cs b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Transforms/GivenATransformApplicator.cs index 667d2ca90..9bafbfd06 100644 --- a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Transforms/GivenATransformApplicator.cs +++ b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Transforms/GivenATransformApplicator.cs @@ -85,4 +85,4 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests mergedPropertyToAdd.Value.Should().Be("$(Variable2);value3;$(Variable3)"); } } -} \ No newline at end of file +} diff --git a/test/Microsoft.DotNet.Tools.Tests.Utilities/DotnetLegacyRuntimeIdentifiers.cs b/test/Microsoft.DotNet.Tools.Tests.Utilities/DotnetLegacyRuntimeIdentifiers.cs index 4c54ab034..5c96c2a9c 100644 --- a/test/Microsoft.DotNet.Tools.Tests.Utilities/DotnetLegacyRuntimeIdentifiers.cs +++ b/test/Microsoft.DotNet.Tools.Tests.Utilities/DotnetLegacyRuntimeIdentifiers.cs @@ -28,4 +28,4 @@ namespace Microsoft.DotNet.Tools.Test.Utilities } } } -} \ No newline at end of file +} diff --git a/test/Microsoft.DotNet.Tools.Tests.Utilities/NuGetConfig.cs b/test/Microsoft.DotNet.Tools.Tests.Utilities/NuGetConfig.cs index 1cbcf0273..f6f05bd51 100644 --- a/test/Microsoft.DotNet.Tools.Tests.Utilities/NuGetConfig.cs +++ b/test/Microsoft.DotNet.Tools.Tests.Utilities/NuGetConfig.cs @@ -24,4 +24,4 @@ namespace Microsoft.DotNet.Tools.Test.Utilities File.WriteAllText(path, contents); } } -} \ No newline at end of file +} diff --git a/test/Microsoft.DotNet.Tools.Tests.Utilities/PeReaderUtils.cs b/test/Microsoft.DotNet.Tools.Tests.Utilities/PeReaderUtils.cs index c8f7f34a4..fc3d19587 100644 --- a/test/Microsoft.DotNet.Tools.Tests.Utilities/PeReaderUtils.cs +++ b/test/Microsoft.DotNet.Tools.Tests.Utilities/PeReaderUtils.cs @@ -126,4 +126,4 @@ namespace Microsoft.DotNet.Tools.Test.Utilities return arguments; } } -} \ No newline at end of file +} diff --git a/test/Microsoft.DotNet.Tools.Tests.Utilities/Properties/Properties.cs b/test/Microsoft.DotNet.Tools.Tests.Utilities/Properties/Properties.cs index 88c50a9b3..af2e66750 100644 --- a/test/Microsoft.DotNet.Tools.Tests.Utilities/Properties/Properties.cs +++ b/test/Microsoft.DotNet.Tools.Tests.Utilities/Properties/Properties.cs @@ -1,4 +1,4 @@ using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("Microsoft.Extensions.DependencyModel.Tests , PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] -[assembly: InternalsVisibleTo("Microsoft.DotNet.Configurer.UnitTests , PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] \ No newline at end of file +[assembly: InternalsVisibleTo("Microsoft.DotNet.Configurer.UnitTests , PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] diff --git a/test/Microsoft.DotNet.Tools.Tests.Utilities/RepoDirectoriesProvider.cs b/test/Microsoft.DotNet.Tools.Tests.Utilities/RepoDirectoriesProvider.cs index d20542db1..75591a1c8 100644 --- a/test/Microsoft.DotNet.Tools.Tests.Utilities/RepoDirectoriesProvider.cs +++ b/test/Microsoft.DotNet.Tools.Tests.Utilities/RepoDirectoriesProvider.cs @@ -79,4 +79,4 @@ namespace Microsoft.DotNet.Tools.Test.Utilities .FullName; } } -} \ No newline at end of file +} diff --git a/test/Microsoft.DotNet.Tools.Tests.Utilities/TempFileSystem/FileNameUtilities.cs b/test/Microsoft.DotNet.Tools.Tests.Utilities/TempFileSystem/FileNameUtilities.cs index 625370ba1..e2e63d4a6 100644 --- a/test/Microsoft.DotNet.Tools.Tests.Utilities/TempFileSystem/FileNameUtilities.cs +++ b/test/Microsoft.DotNet.Tools.Tests.Utilities/TempFileSystem/FileNameUtilities.cs @@ -6,7 +6,7 @@ namespace Microsoft.DotNet.Tools.Test.Utilities /// /// Implements a few file name utilities that are needed by the compiler. /// In general the compiler is not supposed to understand the format of the paths. - /// In rare cases it needs to check if a string is a valid file name or change the extension + /// In rare cases it needs to check if a string is a valid file name or change the extension /// (embedded resources, netmodules, output name). /// The APIs are intentionally limited to cover just these rare cases. Do not add more APIs. /// @@ -18,7 +18,7 @@ namespace Microsoft.DotNet.Tools.Test.Utilities internal const char VolumeSeparatorChar = ':'; /// - /// Returns true if the string represents an unqualified file name. + /// Returns true if the string represents an unqualified file name. /// The name may contain any characters but directory and volume separators. /// /// Path. @@ -121,8 +121,8 @@ namespace Microsoft.DotNet.Tools.Test.Utilities /// /// /// Equivalent of - /// - /// If is null, returns null. + /// + /// If is null, returns null. /// If path does not end with an extension, the new extension is appended to the path. /// If extension is null, equivalent to . /// @@ -180,4 +180,4 @@ namespace Microsoft.DotNet.Tools.Test.Utilities return (fileNameStart <= 0) ? path : path.Substring(fileNameStart); } } -} \ No newline at end of file +} diff --git a/test/Microsoft.DotNet.Tools.Tests.Utilities/TempFileSystem/ImmutableArrayTestExtensions.cs b/test/Microsoft.DotNet.Tools.Tests.Utilities/TempFileSystem/ImmutableArrayTestExtensions.cs index b3dcb57bb..f7ffe420f 100644 --- a/test/Microsoft.DotNet.Tools.Tests.Utilities/TempFileSystem/ImmutableArrayTestExtensions.cs +++ b/test/Microsoft.DotNet.Tools.Tests.Utilities/TempFileSystem/ImmutableArrayTestExtensions.cs @@ -40,4 +40,4 @@ namespace Microsoft.DotNet.Tools.Test.Utilities } } } -} \ No newline at end of file +} diff --git a/test/Microsoft.DotNet.Tools.Tests.Utilities/TempFileSystem/PathKind.cs b/test/Microsoft.DotNet.Tools.Tests.Utilities/TempFileSystem/PathKind.cs index 0c37a6ffb..349ee5b3e 100644 --- a/test/Microsoft.DotNet.Tools.Tests.Utilities/TempFileSystem/PathKind.cs +++ b/test/Microsoft.DotNet.Tools.Tests.Utilities/TempFileSystem/PathKind.cs @@ -40,4 +40,4 @@ namespace Microsoft.DotNet.Tools.Test.Utilities /// Absolute, } -} \ No newline at end of file +} diff --git a/test/Microsoft.DotNet.Tools.Tests.Utilities/TempFileSystem/PathUtilities.cs b/test/Microsoft.DotNet.Tools.Tests.Utilities/TempFileSystem/PathUtilities.cs index 9b1b7b8e3..e1cfbffb6 100644 --- a/test/Microsoft.DotNet.Tools.Tests.Utilities/TempFileSystem/PathUtilities.cs +++ b/test/Microsoft.DotNet.Tools.Tests.Utilities/TempFileSystem/PathUtilities.cs @@ -12,7 +12,7 @@ namespace Microsoft.DotNet.Tools.Test.Utilities // For example we need to be able to work with invalid paths or paths containing wildcards internal static class PathUtilities { - // We consider '/' a directory separator on Unix like systems. + // We consider '/' a directory separator on Unix like systems. // On Windows both / and \ are equally accepted. internal static readonly char DirectorySeparatorChar = IsUnixLikePlatform ? '/' : '\\'; internal static readonly char AltDirectorySeparatorChar = '/'; @@ -73,7 +73,7 @@ namespace Microsoft.DotNet.Tools.Test.Utilities /// /// /// Unlike it - /// doesn't check for invalid path characters, + /// doesn't check for invalid path characters, /// doesn't strip any trailing directory separators (TODO: tomat), /// doesn't recognize UNC structure \\computer-name\share\directory-name\file-name (TODO: tomat). /// @@ -295,9 +295,9 @@ namespace Microsoft.DotNet.Tools.Test.Utilities /// Absolute root path. /// Relative path. /// - /// An absolute combined path, or null if is - /// absolute (e.g. "C:\abc", "\\machine\share\abc"), - /// relative to the current root (e.g. "\abc"), + /// An absolute combined path, or null if is + /// absolute (e.g. "C:\abc", "\\machine\share\abc"), + /// relative to the current root (e.g. "\abc"), /// or relative to a drive directory (e.g. "C:abc\def"). /// /// @@ -376,4 +376,4 @@ namespace Microsoft.DotNet.Tools.Test.Utilities || assemblyDisplayNameOrPath.IndexOf(AltDirectorySeparatorChar) != -1; } } -} \ No newline at end of file +} diff --git a/test/Msbuild.Tests.Utilities/ProjDir.cs b/test/Msbuild.Tests.Utilities/ProjDir.cs index b29adae8b..3ca2f4019 100644 --- a/test/Msbuild.Tests.Utilities/ProjDir.cs +++ b/test/Msbuild.Tests.Utilities/ProjDir.cs @@ -31,4 +31,4 @@ namespace Msbuild.Tests.Utilities return ProjectRootElement.Open(CsProjPath, new ProjectCollection()); } } -} \ No newline at end of file +} diff --git a/test/Msbuild.Tests.Utilities/ProjectRootElementExtensions.cs b/test/Msbuild.Tests.Utilities/ProjectRootElementExtensions.cs index bd960bb92..bc18d2cfb 100644 --- a/test/Msbuild.Tests.Utilities/ProjectRootElementExtensions.cs +++ b/test/Msbuild.Tests.Utilities/ProjectRootElementExtensions.cs @@ -41,8 +41,8 @@ namespace Msbuild.Tests.Utilities } public static int NumberOfProjectReferencesWithIncludeAndConditionContaining( - this ProjectRootElement root, - string includePattern, + this ProjectRootElement root, + string includePattern, string patternInCondition) { return root.ItemsWithIncludeAndConditionContaining( @@ -68,4 +68,4 @@ namespace Msbuild.Tests.Utilities return root.ItemsWithIncludeContaining("ProjectReference", includePattern).Count(); } } -} \ No newline at end of file +} diff --git a/test/dotnet-migrate.Tests/GivenThatIWantToMigrateAppsUsingGlobalJson.cs b/test/dotnet-migrate.Tests/GivenThatIWantToMigrateAppsUsingGlobalJson.cs index 3f7fea788..d4072691a 100644 --- a/test/dotnet-migrate.Tests/GivenThatIWantToMigrateAppsUsingGlobalJson.cs +++ b/test/dotnet-migrate.Tests/GivenThatIWantToMigrateAppsUsingGlobalJson.cs @@ -77,4 +77,4 @@ namespace Microsoft.DotNet.Migration.Tests .Pass(); } } -} \ No newline at end of file +} diff --git a/test/dotnet-run.Tests/GivenDotnetRunRunsCsProj.cs b/test/dotnet-run.Tests/GivenDotnetRunRunsCsProj.cs index adbf0d15c..565807b7f 100644 --- a/test/dotnet-run.Tests/GivenDotnetRunRunsCsProj.cs +++ b/test/dotnet-run.Tests/GivenDotnetRunRunsCsProj.cs @@ -77,45 +77,45 @@ namespace Microsoft.DotNet.Cli.Run.Tests .WithWorkingDirectory(testProjectDirectory) .ExecuteWithCapturedOutput("--framework netcoreapp1.0") .Should().Pass() - .And.HaveStdOutContaining("Hello World!"); + .And.HaveStdOutContaining("Hello World!"); } - - [Fact] - public void ItRunsPortableAppsFromADifferentPathAfterBuilding() + + [Fact] + public void ItRunsPortableAppsFromADifferentPathAfterBuilding() { var testInstance = TestAssets.Get("MSBuildTestApp") .CreateInstance() .WithSourceFiles() .WithRestoreFiles(); - - new BuildCommand() - .WithWorkingDirectory(testInstance.Root) - .Execute() - .Should().Pass(); - new RunCommand() - .WithWorkingDirectory(testInstance.Root) - .ExecuteWithCapturedOutput($"--no-build") - .Should().Pass() - .And.HaveStdOutContaining("Hello World!"); - } - - [Fact] - public void ItRunsPortableAppsFromADifferentPathWithoutBuilding() - { - var testAppName = "MSBuildTestApp"; + new BuildCommand() + .WithWorkingDirectory(testInstance.Root) + .Execute() + .Should().Pass(); + + new RunCommand() + .WithWorkingDirectory(testInstance.Root) + .ExecuteWithCapturedOutput($"--no-build") + .Should().Pass() + .And.HaveStdOutContaining("Hello World!"); + } + + [Fact] + public void ItRunsPortableAppsFromADifferentPathWithoutBuilding() + { + var testAppName = "MSBuildTestApp"; var testInstance = TestAssets.Get(testAppName) .CreateInstance() .WithSourceFiles() .WithRestoreFiles(); - var projectFile = testInstance.Root.GetFile(testAppName + ".csproj"); + var projectFile = testInstance.Root.GetFile(testAppName + ".csproj"); - new RunCommand() - .WithWorkingDirectory(testInstance.Root.Parent) - .ExecuteWithCapturedOutput($"--project {projectFile.FullName}") - .Should().Pass() - .And.HaveStdOutContaining("Hello World!"); + new RunCommand() + .WithWorkingDirectory(testInstance.Root.Parent) + .ExecuteWithCapturedOutput($"--project {projectFile.FullName}") + .Should().Pass() + .And.HaveStdOutContaining("Hello World!"); } [Fact] @@ -146,4 +146,4 @@ namespace Microsoft.DotNet.Cli.Run.Tests .And.HaveStdOutContaining("Hello World"); } } -} \ No newline at end of file +} diff --git a/test/dotnet.Tests/GivenThatTheUserIsRunningDotNetForTheFirstTime.cs b/test/dotnet.Tests/GivenThatTheUserIsRunningDotNetForTheFirstTime.cs index f8b38332e..871edb5cd 100644 --- a/test/dotnet.Tests/GivenThatTheUserIsRunningDotNetForTheFirstTime.cs +++ b/test/dotnet.Tests/GivenThatTheUserIsRunningDotNetForTheFirstTime.cs @@ -36,7 +36,7 @@ namespace Microsoft.DotNet.Tests _firstDotnetVerbUseCommandResult = command.ExecuteWithCapturedOutput("new --debug:ephemeral-hive"); _nugetCacheFolder = new DirectoryInfo(testNugetCache); - } + } [Fact] public void UsingDotnetForTheFirstTimeSucceeds() @@ -135,4 +135,4 @@ A command is running to initially populate your local package cache, to improve return s.Replace("\r\n", "\n").Replace("\r", "\n"); } } -} \ No newline at end of file +} From 841846f32b640886afef39532b5e5505b335cbfe Mon Sep 17 00:00:00 2001 From: Piotr Puszkiewicz Date: Thu, 2 Mar 2017 20:38:56 -0800 Subject: [PATCH 28/33] Standardize on newline between Property|ItemGroup areas --- TestAssets/DesktopTestProjects/AppWithProjTool2Fx/App.csproj | 1 + TestAssets/DesktopTestProjects/LibWithProjTool2Fx/Lib.csproj | 1 + .../DotnetAddP2PProjects/Broken/Broken.csproj | 1 + .../EmptyItemGroup/EmptyItemGroup.csproj | 1 + .../DotnetAddP2PProjects/MoreThanOne/a.csproj | 1 + .../DotnetAddP2PProjects/MoreThanOne/b.csproj | 1 + .../WithDoubledRef/WithDoubledRef.csproj | 1 + .../WithExistingRefCondOnItem.csproj | 1 + .../WithRefNoCondNonUniform/WithRefNoCondNonUniform.csproj | 1 + .../TestProjectWithUnresolvedPlatformDependency.csproj | 1 + .../dotnet-dependency-tool-invoker.csproj | 2 ++ .../AppWithDepOnToolWithOutputName.csproj | 1 + .../AppWithDirectAndToolDep/AppWithDirectAndToolDep.csproj | 1 + .../AppWithDirectDepWithOutputName.csproj | 1 + .../AppWithToolDependency/AppWithToolDependency.csproj | 1 + .../DependencyContextFromTool.csproj | 1 + .../NewtonSoftDependentProject.csproj | 1 + .../SingleTargetApp/SingleTargetApp.csproj | 2 ++ .../SingleTargetGraph/SingleTargetP0/SingleTargetP0.csproj | 3 +++ .../SingleTargetGraph/SingleTargetP1/SingleTargetP1.csproj | 3 +++ .../SingleTargetGraph/SingleTargetP2/SingleTargetP2.csproj | 2 ++ .../PerformanceTestProjects/TwoTargetApp/TwoTargetApp.csproj | 2 ++ .../TwoTargetGraph/TwoTargetP0/TwoTargetP0.csproj | 3 +++ .../TwoTargetGraph/TwoTargetP1/TwoTargetP1.csproj | 3 +++ .../TwoTargetGraph/TwoTargetP2/TwoTargetP2.csproj | 2 ++ .../TwoTargetLargeP0/TwoTargetLargeP0.csproj | 3 +++ .../TwoTargetLargeP1/TwoTargetLargeP1.csproj | 3 +++ .../TwoTargetLargeP2/TwoTargetLargeP2.csproj | 3 +++ .../TwoTargetLargeP3/TwoTargetLargeP3.csproj | 3 +++ .../TwoTargetLargeP4/TwoTargetLargeP4.csproj | 3 +++ .../TwoTargetLargeP5/TwoTargetLargeP5.csproj | 2 ++ .../TwoTargetLargeP6/TwoTargetLargeP6.csproj | 2 ++ .../CSharpProject/CSharpProject.csproj | 3 +++ TestAssets/TestProjects/TestAppSimple/TestAppSimple.csproj | 1 + .../TestAppWithSlnAndCsprojInSubDirToRemove/App.csproj | 1 + build_projects/dotnet-cli-build/dotnet-cli-build.csproj | 2 ++ src/Microsoft.DotNet.Archive/Microsoft.DotNet.Archive.csproj | 1 + .../Microsoft.DotNet.ProjectJsonMigration.csproj | 3 +++ src/dotnet-archive/dotnet-archive.csproj | 5 ++++- src/tool_msbuild/tool_msbuild.csproj | 3 ++- src/tool_nuget/tool_nuget.csproj | 1 + .../Microsoft.DotNet.Tools.Tests.Utilities.csproj | 2 ++ test/Msbuild.Tests.Utilities/Msbuild.Tests.Utilities.csproj | 4 +++- .../dotnet-list-reference.Tests.csproj | 1 + .../dotnet-remove-reference.Tests.csproj | 1 + tools/Archiver/Archiver.csproj | 3 +++ 46 files changed, 85 insertions(+), 3 deletions(-) diff --git a/TestAssets/DesktopTestProjects/AppWithProjTool2Fx/App.csproj b/TestAssets/DesktopTestProjects/AppWithProjTool2Fx/App.csproj index a12a68f6d..f71697c30 100644 --- a/TestAssets/DesktopTestProjects/AppWithProjTool2Fx/App.csproj +++ b/TestAssets/DesktopTestProjects/AppWithProjTool2Fx/App.csproj @@ -16,6 +16,7 @@ + + diff --git a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/EmptyItemGroup/EmptyItemGroup.csproj b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/EmptyItemGroup/EmptyItemGroup.csproj index 6b6720e7d..63981a52b 100644 --- a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/EmptyItemGroup/EmptyItemGroup.csproj +++ b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/EmptyItemGroup/EmptyItemGroup.csproj @@ -7,6 +7,7 @@ + diff --git a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/MoreThanOne/a.csproj b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/MoreThanOne/a.csproj index 15c2eced6..910fe9d35 100644 --- a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/MoreThanOne/a.csproj +++ b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/MoreThanOne/a.csproj @@ -3,6 +3,7 @@ Library netcoreapp1.0 + diff --git a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/MoreThanOne/b.csproj b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/MoreThanOne/b.csproj index 15c2eced6..910fe9d35 100644 --- a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/MoreThanOne/b.csproj +++ b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/MoreThanOne/b.csproj @@ -3,6 +3,7 @@ Library netcoreapp1.0 + diff --git a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithDoubledRef/WithDoubledRef.csproj b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithDoubledRef/WithDoubledRef.csproj index c68609c55..1e64e020d 100644 --- a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithDoubledRef/WithDoubledRef.csproj +++ b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithDoubledRef/WithDoubledRef.csproj @@ -6,6 +6,7 @@ + diff --git a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithExistingRefCondOnItem/WithExistingRefCondOnItem.csproj b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithExistingRefCondOnItem/WithExistingRefCondOnItem.csproj index 2758b95c1..16e365509 100644 --- a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithExistingRefCondOnItem/WithExistingRefCondOnItem.csproj +++ b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithExistingRefCondOnItem/WithExistingRefCondOnItem.csproj @@ -6,6 +6,7 @@ + diff --git a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithRefNoCondNonUniform/WithRefNoCondNonUniform.csproj b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithRefNoCondNonUniform/WithRefNoCondNonUniform.csproj index 35488c294..c7851c862 100644 --- a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithRefNoCondNonUniform/WithRefNoCondNonUniform.csproj +++ b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithRefNoCondNonUniform/WithRefNoCondNonUniform.csproj @@ -6,6 +6,7 @@ + diff --git a/TestAssets/NonRestoredTestProjects/TestProjectWithUnresolvedPlatformDependency/TestProjectWithUnresolvedPlatformDependency.csproj b/TestAssets/NonRestoredTestProjects/TestProjectWithUnresolvedPlatformDependency/TestProjectWithUnresolvedPlatformDependency.csproj index 8d2d6aae9..a74e1a868 100755 --- a/TestAssets/NonRestoredTestProjects/TestProjectWithUnresolvedPlatformDependency/TestProjectWithUnresolvedPlatformDependency.csproj +++ b/TestAssets/NonRestoredTestProjects/TestProjectWithUnresolvedPlatformDependency/TestProjectWithUnresolvedPlatformDependency.csproj @@ -4,6 +4,7 @@ Exe $(PackageTargetFallback);dnxcore50 + 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 7e0d81cb4..7222996bc 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 @@ -17,11 +17,13 @@ + $(ProjectRuntimeConfigFilePath) + diff --git a/TestAssets/TestProjects/AppWithDepOnToolWithOutputName/AppWithDepOnToolWithOutputName.csproj b/TestAssets/TestProjects/AppWithDepOnToolWithOutputName/AppWithDepOnToolWithOutputName.csproj index 177b708cf..a9b3f7cd4 100755 --- a/TestAssets/TestProjects/AppWithDepOnToolWithOutputName/AppWithDepOnToolWithOutputName.csproj +++ b/TestAssets/TestProjects/AppWithDepOnToolWithOutputName/AppWithDepOnToolWithOutputName.csproj @@ -7,6 +7,7 @@ + + + diff --git a/TestAssets/TestProjects/AppWithToolDependency/AppWithToolDependency.csproj b/TestAssets/TestProjects/AppWithToolDependency/AppWithToolDependency.csproj index 5b1175d71..c1f39d820 100755 --- a/TestAssets/TestProjects/AppWithToolDependency/AppWithToolDependency.csproj +++ b/TestAssets/TestProjects/AppWithToolDependency/AppWithToolDependency.csproj @@ -7,6 +7,7 @@ + diff --git a/TestAssets/TestProjects/DependencyContextFromTool/DependencyContextFromTool.csproj b/TestAssets/TestProjects/DependencyContextFromTool/DependencyContextFromTool.csproj index cf21abda0..05bc0cfaf 100755 --- a/TestAssets/TestProjects/DependencyContextFromTool/DependencyContextFromTool.csproj +++ b/TestAssets/TestProjects/DependencyContextFromTool/DependencyContextFromTool.csproj @@ -11,6 +11,7 @@ + diff --git a/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetApp/SingleTargetApp.csproj b/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetApp/SingleTargetApp.csproj index ebc2be369..4d703151d 100755 --- a/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetApp/SingleTargetApp.csproj +++ b/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetApp/SingleTargetApp.csproj @@ -6,11 +6,13 @@ netcoreapp1.0 Exe + + + + + + + + + + + + + + + + + + + + + + + + + @@ -41,10 +42,12 @@ + + diff --git a/TestAssets/TestProjects/TestAppSimple/TestAppSimple.csproj b/TestAssets/TestProjects/TestAppSimple/TestAppSimple.csproj index bbd64e605..3d080eec3 100755 --- a/TestAssets/TestProjects/TestAppSimple/TestAppSimple.csproj +++ b/TestAssets/TestProjects/TestAppSimple/TestAppSimple.csproj @@ -3,6 +3,7 @@ netcoreapp1.0 Exe + diff --git a/TestAssets/TestProjects/TestAppWithSlnAndCsprojInSubDirToRemove/App.csproj b/TestAssets/TestProjects/TestAppWithSlnAndCsprojInSubDirToRemove/App.csproj index 7b66a1185..ce2fa0a6b 100644 --- a/TestAssets/TestProjects/TestAppWithSlnAndCsprojInSubDirToRemove/App.csproj +++ b/TestAssets/TestProjects/TestAppWithSlnAndCsprojInSubDirToRemove/App.csproj @@ -3,6 +3,7 @@ Exe netcoreapp1.0 + diff --git a/build_projects/dotnet-cli-build/dotnet-cli-build.csproj b/build_projects/dotnet-cli-build/dotnet-cli-build.csproj index 423365cd1..2250e9540 100644 --- a/build_projects/dotnet-cli-build/dotnet-cli-build.csproj +++ b/build_projects/dotnet-cli-build/dotnet-cli-build.csproj @@ -8,10 +8,12 @@ bin\$(Configuration) $(PackageTargetFallback);portable-net45+win8+wp8+wpa81 + + diff --git a/src/Microsoft.DotNet.Archive/Microsoft.DotNet.Archive.csproj b/src/Microsoft.DotNet.Archive/Microsoft.DotNet.Archive.csproj index bb434b999..9a2cd2cdf 100644 --- a/src/Microsoft.DotNet.Archive/Microsoft.DotNet.Archive.csproj +++ b/src/Microsoft.DotNet.Archive/Microsoft.DotNet.Archive.csproj @@ -9,6 +9,7 @@ true true + diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.ProjectJsonMigration.csproj b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.ProjectJsonMigration.csproj index efdc3fa77..3c0c013f2 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.ProjectJsonMigration.csproj +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.ProjectJsonMigration.csproj @@ -9,16 +9,19 @@ true true + PreserveNewest + + diff --git a/src/dotnet-archive/dotnet-archive.csproj b/src/dotnet-archive/dotnet-archive.csproj index baf11b332..a983cefce 100644 --- a/src/dotnet-archive/dotnet-archive.csproj +++ b/src/dotnet-archive/dotnet-archive.csproj @@ -1,16 +1,19 @@  - + $(CliTargetFramework) Exe + + + diff --git a/src/tool_msbuild/tool_msbuild.csproj b/src/tool_msbuild/tool_msbuild.csproj index 62ce1e4e5..ba18663e9 100644 --- a/src/tool_msbuild/tool_msbuild.csproj +++ b/src/tool_msbuild/tool_msbuild.csproj @@ -1,12 +1,13 @@  - + $(CliVersionPrefix) $(CliTargetFramework) false false + diff --git a/src/tool_nuget/tool_nuget.csproj b/src/tool_nuget/tool_nuget.csproj index 19ff7b73e..5a4e4121f 100644 --- a/src/tool_nuget/tool_nuget.csproj +++ b/src/tool_nuget/tool_nuget.csproj @@ -7,6 +7,7 @@ false false + diff --git a/test/Microsoft.DotNet.Tools.Tests.Utilities/Microsoft.DotNet.Tools.Tests.Utilities.csproj b/test/Microsoft.DotNet.Tools.Tests.Utilities/Microsoft.DotNet.Tools.Tests.Utilities.csproj index fcf6a8cfc..c37a13777 100644 --- a/test/Microsoft.DotNet.Tools.Tests.Utilities/Microsoft.DotNet.Tools.Tests.Utilities.csproj +++ b/test/Microsoft.DotNet.Tools.Tests.Utilities/Microsoft.DotNet.Tools.Tests.Utilities.csproj @@ -10,11 +10,13 @@ true $(PackageTargetFallback);dotnet5.4;portable-net451+win8 + + diff --git a/test/Msbuild.Tests.Utilities/Msbuild.Tests.Utilities.csproj b/test/Msbuild.Tests.Utilities/Msbuild.Tests.Utilities.csproj index b1e4e5329..686afe6a3 100644 --- a/test/Msbuild.Tests.Utilities/Msbuild.Tests.Utilities.csproj +++ b/test/Msbuild.Tests.Utilities/Msbuild.Tests.Utilities.csproj @@ -1,12 +1,13 @@  - + $(CliTargetFramework) $(CLI_SharedFrameworkVersion) Msbuild.Tests.Utilities $(PackageTargetFallback);dotnet5.4;portable-net451+win8 + @@ -15,6 +16,7 @@ + diff --git a/test/dotnet-list-reference.Tests/dotnet-list-reference.Tests.csproj b/test/dotnet-list-reference.Tests/dotnet-list-reference.Tests.csproj index 6e59dc226..be7c7c2e4 100644 --- a/test/dotnet-list-reference.Tests/dotnet-list-reference.Tests.csproj +++ b/test/dotnet-list-reference.Tests/dotnet-list-reference.Tests.csproj @@ -14,6 +14,7 @@ + diff --git a/test/dotnet-remove-reference.Tests/dotnet-remove-reference.Tests.csproj b/test/dotnet-remove-reference.Tests/dotnet-remove-reference.Tests.csproj index 444afeafb..b3d7f3b16 100644 --- a/test/dotnet-remove-reference.Tests/dotnet-remove-reference.Tests.csproj +++ b/test/dotnet-remove-reference.Tests/dotnet-remove-reference.Tests.csproj @@ -14,6 +14,7 @@ + diff --git a/tools/Archiver/Archiver.csproj b/tools/Archiver/Archiver.csproj index 9f168dae6..2a63e855f 100644 --- a/tools/Archiver/Archiver.csproj +++ b/tools/Archiver/Archiver.csproj @@ -6,13 +6,16 @@ Exe $(CLI_SharedFrameworkVersion) + + + From bc5a53ed354d44fa6502ee273a3bb934205a7ba9 Mon Sep 17 00:00:00 2001 From: Piotr Puszkiewicz Date: Thu, 2 Mar 2017 20:51:03 -0800 Subject: [PATCH 29/33] Fix excessive removals --- test/dotnet-publish.Tests/dotnet-publish.Tests.csproj | 4 ++++ test/dotnet-run.Tests/dotnet-run.Tests.csproj | 4 ++++ test/dotnet-test.Tests/dotnet-test.Tests.csproj | 4 ++++ test/dotnet-vstest.Tests/dotnet-vstest.Tests.csproj | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/test/dotnet-publish.Tests/dotnet-publish.Tests.csproj b/test/dotnet-publish.Tests/dotnet-publish.Tests.csproj index e9f481bcc..ea8493b24 100644 --- a/test/dotnet-publish.Tests/dotnet-publish.Tests.csproj +++ b/test/dotnet-publish.Tests/dotnet-publish.Tests.csproj @@ -16,6 +16,10 @@ + + + + diff --git a/test/dotnet-run.Tests/dotnet-run.Tests.csproj b/test/dotnet-run.Tests/dotnet-run.Tests.csproj index b74920b1d..baf437495 100644 --- a/test/dotnet-run.Tests/dotnet-run.Tests.csproj +++ b/test/dotnet-run.Tests/dotnet-run.Tests.csproj @@ -9,6 +9,10 @@ $(PackageTargetFallback);dotnet5.4;portable-net451+win8 + + + + diff --git a/test/dotnet-test.Tests/dotnet-test.Tests.csproj b/test/dotnet-test.Tests/dotnet-test.Tests.csproj index 78087dca4..d0ec87860 100644 --- a/test/dotnet-test.Tests/dotnet-test.Tests.csproj +++ b/test/dotnet-test.Tests/dotnet-test.Tests.csproj @@ -9,6 +9,10 @@ $(PackageTargetFallback);dotnet5.4;portable-net451+win8 + + + + diff --git a/test/dotnet-vstest.Tests/dotnet-vstest.Tests.csproj b/test/dotnet-vstest.Tests/dotnet-vstest.Tests.csproj index 74830ac09..8b3592d0f 100644 --- a/test/dotnet-vstest.Tests/dotnet-vstest.Tests.csproj +++ b/test/dotnet-vstest.Tests/dotnet-vstest.Tests.csproj @@ -9,6 +9,10 @@ $(PackageTargetFallback);dotnet5.4;portable-net451+win8 + + + + From d55a8f81881e9e319b4074bbb46e7d122ce9e951 Mon Sep 17 00:00:00 2001 From: Piotr Puszkiewicz Date: Thu, 2 Mar 2017 21:04:03 -0800 Subject: [PATCH 30/33] Add missing copyright headers to all cs files --- .../AppWithProjTool2Fx/Program.cs | 5 +- .../Program.cs | 5 +- .../BindingRedirectSample/src/Program.cs | 5 +- .../DesktopAppWithNativeDep/Program.cs | 3 + .../DesktopAppWithRuntimes/Program.cs | 3 + .../LibWithProjTool2Fx/Program.cs | 5 +- .../AppThrowingException/App/Program.cs | 3 + .../AppDependingOnOtherAsTool/Program.cs | 3 + .../Program.cs | 5 +- .../TestApp/Program.cs | 3 + .../EmptyItemGroup/EmptyItemGroup.cs | 5 +- .../MoreThanOne/SomeSourceFile.cs | 5 +- .../Net452AndNetCoreApp10Lib.cs | 5 +- .../DotnetAddP2PProjects/Net45Lib/Net45Lib.cs | 5 +- .../WithDoubledRef/WithDoubledRef.cs | 5 +- .../WithExistingRefCondOnItem.cs | 5 +- .../WithExistingRefCondWhitespaces.cs | 5 +- .../WithRefCondNonUniform.cs | 5 +- .../WithRefNoCondNonUniform.cs | 5 +- .../TestApp/Program.cs | 5 +- .../TestLibrary/Helper.cs | 5 +- .../TestApp/TestAssets/TestAsset/Program.cs | 3 + .../PJDeprecatedCompilation/Program.cs | 5 +- .../PJDeprecatedCompile/Helper1.cs | 3 + .../PJDeprecatedCompile/Helper2.cs | 3 + .../project/IncludeThis.cs | 3 + .../PJDeprecatedCompile/project/Program.cs | 5 +- .../HelperBuiltIn1.cs | 3 + .../HelperBuiltIn2.cs | 3 + .../project/IncludeThis.cs | 3 + .../project/Program.cs | 5 +- .../ExcludeThis1.cs | 3 + .../ExcludeThis2.cs | 3 + .../PJDeprecatedCompileExclude/Program.cs | 5 +- .../PJDeprecatedContent/project/Program.cs | 5 +- .../PJDeprecatedNamedResource/Program.cs | 3 + .../PJDeprecatedPack/Program.cs | 5 +- .../PJDeprecatedResource/project/Program.cs | 5 +- .../project/Program.cs | 5 +- .../PJDeprecatedResourceExclude/Program.cs | 5 +- .../PJHalfMigrated/ProjectB/Program.cs | 5 +- .../PJHalfMigrated/src/ProjectA/Program.cs | 5 +- .../Program.cs | 3 + .../Program.cs | 5 +- .../Program.cs | 5 +- .../AppWithDepOnTool/Program.cs | 3 + .../ToolWithRandomPackageName/Program.cs | 3 + .../PackageWithFakeNativeDep/Lib.cs | 3 + .../ToolWithOutputName/Program.cs | 3 + .../dotnet-dependency-context-test/Program.cs | 5 +- .../dotnet-dependency-tool-invoker/Program.cs | 11 +- .../dotnet-desktop-and-portable/Program.cs | 5 +- .../Program.cs | 5 +- .../dotnet-hello/v1/dotnet-hello/Program.cs | 5 +- .../dotnet-hello/v2/dotnet-hello/Program.cs | 5 +- .../TestPackages/dotnet-portable/Program.cs | 5 +- .../dotnet-prefercliruntime/Program.cs | 5 +- .../TestProjects/AppWith2Tfm0Rid/Program.cs | 5 +- .../AppWith4netTfm0Rid/Program.cs | 5 +- .../AppWithAppDependency/TestApp1/Program.cs | 5 +- .../AppWithAppDependency/TestApp2/Program.cs | 5 +- .../AppWithAssemblyInfo/Program.cs | 5 +- .../Properties/AssemblyInfo.cs | 5 +- .../AppWithDepOnToolWithOutputName/Program.cs | 3 + .../AppWithDirectAndToolDep/Program.cs | 5 +- .../TestProjects/AppWithDirectDep/Program.cs | 5 +- .../AppWithDirectDepWithOutputName/Program.cs | 3 + .../AppWithMultipleFxAndTools/Program.cs | 5 +- .../AppWithOutputAssemblyName/Program.cs | 3 + .../TestAssets/TestAsset/Program.cs | 3 + .../test/App.Tests/EntityFramework/Program.cs | 3 + .../AppWithToolDependency/Program.cs | 5 +- .../InvalidSolution/Lib/Library.cs | 3 + .../LibraryWithNetStandardLibRef/Program.cs | 3 + .../LibraryWithOutputAssemblyName/Class.cs | 3 + .../Program.cs | 3 + .../Program.cs | 5 +- .../TestProjects/MSBuildTestApp/Program.cs | 5 +- .../NewtonSoftDependentProject/Program.cs | 3 + .../PJAppWithMultipleFrameworks/Program.cs | 5 +- .../PJLibWithMultipleFrameworks/Program.cs | 5 +- .../TestProjects/PJTestAppSimple/Program.cs | 5 +- .../SingleTargetApp/Program.cs | 5 +- .../SingleTargetP0/Program.cs | 5 +- .../SingleTargetP1/Program.cs | 5 +- .../SingleTargetP2/Program.cs | 5 +- .../TwoTargetApp/Program.cs | 5 +- .../TwoTargetGraph/TwoTargetP0/Program.cs | 5 +- .../TwoTargetGraph/TwoTargetP1/Program.cs | 5 +- .../TwoTargetGraph/TwoTargetP2/Program.cs | 5 +- .../TwoTargetLargeP0/Program.cs | 5 +- .../TwoTargetLargeP1/Program.cs | 5 +- .../TwoTargetLargeP2/Program.cs | 5 +- .../TwoTargetLargeP3/Program.cs | 5 +- .../TwoTargetLargeP4/Program.cs | 5 +- .../TwoTargetLargeP5/Program.cs | 5 +- .../TwoTargetLargeP6/Program.cs | 5 +- .../ProjectJsonConsoleTemplate/Program.cs | 3 + .../Controllers/AccountController.cs | 3 + .../Controllers/HomeController.cs | 3 + .../Controllers/ManageController.cs | 3 + .../Data/ApplicationDbContext.cs | 3 + ...000000000_CreateIdentitySchema.Designer.cs | 3 + .../00000000000000_CreateIdentitySchema.cs | 3 + .../ApplicationDbContextModelSnapshot.cs | 3 + .../ExternalLoginConfirmationViewModel.cs | 3 + .../ForgotPasswordViewModel.cs | 3 + .../AccountViewModels/LoginViewModel.cs | 3 + .../AccountViewModels/RegisterViewModel.cs | 3 + .../ResetPasswordViewModel.cs | 3 + .../AccountViewModels/SendCodeViewModel.cs | 3 + .../AccountViewModels/VerifyCodeViewModel.cs | 3 + .../Models/ApplicationUser.cs | 3 + .../AddPhoneNumberViewModel.cs | 3 + .../ChangePasswordViewModel.cs | 3 + .../ConfigureTwoFactorViewModel.cs | 3 + .../ManageViewModels/FactorViewModel.cs | 3 + .../Models/ManageViewModels/IndexViewModel.cs | 3 + .../ManageViewModels/ManageLoginsViewModel.cs | 3 + .../ManageViewModels/RemoveLoginViewModel.cs | 3 + .../ManageViewModels/SetPasswordViewModel.cs | 3 + .../VerifyPhoneNumberViewModel.cs | 3 + .../ProjectJsonWebTemplate/Program.cs | 3 + .../Services/IEmailSender.cs | 3 + .../Services/ISmsSender.cs | 3 + .../Services/MessageServices.cs | 3 + .../ProjectJsonWebTemplate/Startup.cs | 3 + .../CSharpProject/Program.cs | 5 +- .../CSharpProject/Properties/AssemblyInfo.cs | 5 +- .../TestProjects/TestAppSimple/Program.cs | 5 +- .../TestAppWithContents/Program.cs | 5 +- .../TestAppWithEmbeddedResources/Program.cs | 7 +- .../TestAppWithEmptySln/App/Program.cs | 3 + .../TestAppWithEmptySln/Lib/Library.cs | 3 + .../TestAppWithExplicitInclude/Program.cs | 3 + .../TestAppWithExplicitIncludeGlob/Program.cs | 3 + .../Program.cs | 5 +- .../App/Program.cs | 3 + .../TestAppWithProjDepTool/Program.cs | 5 +- .../TestAppWithRuntimeOptions/Program.cs | 5 +- .../TestAppWithSigning/Program.cs | 5 +- .../src/App/Program.cs | 3 + .../src/Lib/Library.cs | 3 + .../App/Program.cs | 3 + .../Lib/Library.cs | 3 + .../Program.cs | 3 + .../src/Lib/Library.cs | 3 + .../Program.cs | 3 + .../src/Lib/Library.cs | 3 + .../App/Program.cs | 3 + .../Lib/Library.cs | 3 + .../App/Program.cs | 3 + .../Lib/Library.cs | 3 + .../App/Program.cs | 3 + .../Lib/Library.cs | 3 + .../App/Program.cs | 3 + .../Lib/Library.cs | 3 + .../App/Program.cs | 3 + .../Lib/Library.cs | 3 + .../Program.cs | 3 + .../src/Lib/Library.cs | 3 + .../src/App/Program.cs | 3 + .../src/src/Lib/Library.cs | 3 + .../TestLibraryWithAnalyzer/Program.cs | 5 +- .../Program.cs | 5 +- .../TestLibraryWithTwoFrameworks/Program.cs | 5 +- .../VSTestDesktopAndNetCore/Tests.cs | 5 +- .../TestProjects/VSTestDotNetCore/Tests.cs | 5 +- .../VSTestXunitDesktopAndNetCore/UnitTest1.cs | 3 + .../VSTestXunitDotNetCore/UnitTest1.cs | 3 + .../Controllers/AccountController.cs | 3 + .../Controllers/HomeController.cs | 3 + .../Controllers/ManageController.cs | 3 + .../Data/ApplicationDbContext.cs | 3 + ...000000000_CreateIdentitySchema.Designer.cs | 3 + .../00000000000000_CreateIdentitySchema.cs | 3 + .../ApplicationDbContextModelSnapshot.cs | 3 + .../ExternalLoginConfirmationViewModel.cs | 3 + .../ForgotPasswordViewModel.cs | 3 + .../AccountViewModels/LoginViewModel.cs | 3 + .../AccountViewModels/RegisterViewModel.cs | 3 + .../ResetPasswordViewModel.cs | 3 + .../AccountViewModels/SendCodeViewModel.cs | 3 + .../AccountViewModels/VerifyCodeViewModel.cs | 3 + .../Models/ApplicationUser.cs | 3 + .../AddPhoneNumberViewModel.cs | 3 + .../ChangePasswordViewModel.cs | 3 + .../ConfigureTwoFactorViewModel.cs | 3 + .../ManageViewModels/FactorViewModel.cs | 3 + .../Models/ManageViewModels/IndexViewModel.cs | 3 + .../ManageViewModels/ManageLoginsViewModel.cs | 3 + .../ManageViewModels/RemoveLoginViewModel.cs | 3 + .../ManageViewModels/SetPasswordViewModel.cs | 3 + .../VerifyPhoneNumberViewModel.cs | 3 + .../Program.cs | 3 + .../Services/IEmailSender.cs | 3 + .../Services/ISmsSender.cs | 3 + .../Services/MessageServices.cs | 3 + .../Startup.cs | 3 + .../CurrentArchitecture.cs | 3 + .../CurrentPlatform.cs | 3 + .../Enumerations/BuildArchitecture.cs | 3 + .../Enumerations/BuildPlatform.cs | 3 + .../SetBlobPropertiesBasedOnFileTypeTask.cs | 3 + .../BuildFailureException.cs | 5 +- .../Publishing/AzurePublisher.cs | 7 +- .../Utils/BuildVersion.cs | 5 +- .../shared-build-targets-utils/Utils/Dirs.cs | 5 +- .../Utils/EnvVars.cs | 5 +- .../shared-build-targets-utils/Utils/FS.cs | 5 +- .../Utils/PublishMutationUtilties.cs | 5 +- .../shared-build-targets-utils/Utils/Utils.cs | 5 +- .../Utils/Version.cs | 3 + .../VersionRepoUpdater.cs | 5 +- .../Properties/AssemblyInfo.cs | 3 + .../LocalizableStrings.cs | 5 +- .../AbstractPathBasedCommandResolver.cs | 3 + .../AppBaseCommandResolver.cs | 5 +- .../AppBaseDllCommandResolver.cs | 5 +- .../CommandResolutionStrategy.cs | 5 +- .../CommandResolverArguments.cs | 5 +- .../CompositeCommandResolver.cs | 3 + .../DefaultCommandResolverPolicy.cs | 3 + .../DepsJsonCommandResolver.cs | 3 + .../GenericPlatformCommandSpecFactory.cs | 3 + .../CommandResolution/ICommandResolver.cs | 5 +- .../ICommandResolverPolicy.cs | 3 + .../IPackagedCommandSpecFactory.cs | 5 +- .../IPlatformCommandSpecFactory.cs | 3 + .../CommandResolution/MuxerCommandResolver.cs | 5 +- .../OutputPathCommandResolver.cs | 9 +- .../PackagedCommandSpecFactory.cs | 33 ++-- ...ackagedCommandSpecFactoryWithCliRuntime.cs | 3 + .../CommandResolution/PathCommandResolver.cs | 5 +- .../PathCommandResolverPolicy.cs | 3 + .../ProjectDependenciesCommandResolver.cs | 3 + .../ProjectPathCommandResolver.cs | 5 +- .../RootedCommandResolver.cs | 5 +- .../ScriptCommandResolverPolicy.cs | 3 + .../WindowsExePreferredCommandSpecFactory.cs | 5 +- .../CommandResolver.cs | 5 +- src/Microsoft.DotNet.Cli.Utils/CommandSpec.cs | 3 + .../CommandUnknownException.cs | 5 +- src/Microsoft.DotNet.Cli.Utils/Env.cs | 5 +- .../EnvironmentProvider.cs | 7 +- .../FileNameSuffixes.cs | 3 + .../GracefulException.cs | 5 +- .../IEnvironmentProvider.cs | 3 + .../LocalizableStrings.cs | 3 + .../Microsoft.DotNet.Cli.Utils.csproj | 6 +- src/Microsoft.DotNet.Cli.Utils/Muxer.cs | 3 + src/Microsoft.DotNet.Cli.Utils/Product.cs | 3 + .../Properties/AssemblyInfo.cs | 3 + .../RuntimeEnvironmentRidExtensions.cs | 165 +++++++++--------- .../Properties/Properties.cs | 3 + ...crosoft.DotNet.InternalAbstractions.csproj | 1 + .../Properties/Properties.cs | 5 +- .../DirectoryNames.cs | 3 + .../FileNameSuffixes.cs | 3 + .../Graph/ExportFile.cs | 5 +- .../Graph/LockFileExtensions.cs | 3 + .../Graph/ProjectLibraryDependency.cs | 3 + .../ProjectModelPlatformExtensions.cs | 5 +- .../ProjectReaderSettings.cs | 5 +- .../ResourceFile.cs | 5 +- .../Resources/CultureInfoCache.cs | 3 + .../Utilities/CollectionExtensions.cs | 5 +- .../ProjectType.cs | 3 + .../Microsoft.DotNet.TestFramework.csproj | 2 + .../Properties/AssemblyInfo.cs | 3 + src/dotnet/CommandCreationException.cs | 5 +- src/dotnet/CommandLine/LocalizableStrings.cs | 3 + src/dotnet/ProcessStartInfoExtensions.cs | 5 +- src/dotnet/Properties/AssemblyInfo.cs | 3 + .../dotnet-build/LocalizableStrings.cs | 5 +- .../dotnet-cache/LocalizableStrings.cs | 7 +- .../dotnet-clean/LocalizableStrings.cs | 5 +- .../dotnet-help/LocalizableStrings.cs | 5 +- .../dotnet-migrate/LocalizableStrings.cs | 5 +- .../ProjectRootElementExtensions.cs | 3 + .../TemporaryDotnetNewTemplateProject.cs | 5 +- .../dotnet-msbuild/LocalizableStrings.cs | 3 + .../dotnet-pack/LocalizableStrings.cs | 5 +- .../dotnet-publish/LocalizableStrings.cs | 5 +- .../dotnet-restore-projectjson/NuGet3.cs | 3 + .../dotnet-restore/LocalizableStrings.cs | 5 +- .../commands/dotnet-run/LocalizableStrings.cs | 5 +- .../dotnet-test/LocalizableStrings.cs | 7 +- .../InstallFixture.cs | 5 +- .../InstallationTests.cs | 5 +- .../MsiManager.cs | 5 +- .../PostInstallTests.cs | 5 +- .../PostUninstallTests.cs | 5 +- .../Properties/AssemblyInfo.cs | 15 +- .../Microsoft.DotNet.Cli.Msi.Tests/Utils.cs | 7 +- .../GivenAProjectMigrator.cs | 5 +- .../GivenMSBuildExtensions.cs | 5 +- .../ProjectJsonBuilder.cs | 9 +- .../GivenThatIWantToMigrateBuildOptions.cs | 9 +- .../GivenThatIWantToMigrateConfigurations.cs | 21 ++- ...enThatIWantToMigrateProjectDependencies.cs | 7 +- .../GivenThatIWantToMigratePublishOptions.cs | 5 +- .../Rules/GivenThatIWantToMigrateRuntimes.cs | 5 +- .../Rules/GivenThatIWantToMigrateTFMs.cs | 45 ++--- .../TemporaryProjectFileRuleRunner.cs | 5 +- .../Transforms/GivenAConditionalTransform.cs | 5 +- .../Transforms/GivenATransformApplicator.cs | 5 +- .../Transforms/GivenAnAddItemTransform.cs | 5 +- .../Transforms/GivenAnAddPropertyTransform.cs | 9 +- .../Extensions/ProcessExtensions.cs | 7 +- .../NetworkUtils/NetworkHelper.cs | 3 + .../NetworkUtils/PortManager.cs | 3 + .../Properties/Properties.cs | 5 +- .../RepoDirectoriesProvider.cs | 3 + .../GivenThatAnAppWasMigrated.cs | 7 +- .../GivenDotnetBuildInvocation.cs | 5 +- .../GivenDotnetCacheInvocation.cs | 5 +- .../GivenDotnetCleanInvocation.cs | 5 +- .../GivenDotnetPackInvocation.cs | 5 +- .../GivenDotnetPublishInvocation.cs | 5 +- .../GivenDotnetRestoreInvocation.cs | 5 +- .../GivenDotnetVsTestForwardingApp.cs | 5 +- .../GivenForwardingApp.cs | 5 +- .../GivenMsbuildForwardingApp.cs | 5 +- .../GivenThatIWantANewAppWithSpecifiedType.cs | 5 +- .../CommandLineApplicationTests.cs | 5 +- 326 files changed, 1287 insertions(+), 313 deletions(-) diff --git a/TestAssets/DesktopTestProjects/AppWithProjTool2Fx/Program.cs b/TestAssets/DesktopTestProjects/AppWithProjTool2Fx/Program.cs index 51233cffa..2130cd0a7 100644 --- a/TestAssets/DesktopTestProjects/AppWithProjTool2Fx/Program.cs +++ b/TestAssets/DesktopTestProjects/AppWithProjTool2Fx/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace ConsoleApplication { diff --git a/TestAssets/DesktopTestProjects/AutoAddDesktopReferencesDuringMigrate/Program.cs b/TestAssets/DesktopTestProjects/AutoAddDesktopReferencesDuringMigrate/Program.cs index 42b1c74d4..1bf340523 100644 --- a/TestAssets/DesktopTestProjects/AutoAddDesktopReferencesDuringMigrate/Program.cs +++ b/TestAssets/DesktopTestProjects/AutoAddDesktopReferencesDuringMigrate/Program.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System.Collections.Generic; using System.Diagnostics; using System.Linq; using Microsoft.CSharp.RuntimeBinder; diff --git a/TestAssets/DesktopTestProjects/BindingRedirectSample/src/Program.cs b/TestAssets/DesktopTestProjects/BindingRedirectSample/src/Program.cs index a71a0aed5..57ecd14fc 100644 --- a/TestAssets/DesktopTestProjects/BindingRedirectSample/src/Program.cs +++ b/TestAssets/DesktopTestProjects/BindingRedirectSample/src/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; diff --git a/TestAssets/DesktopTestProjects/DesktopAppWithNativeDep/Program.cs b/TestAssets/DesktopTestProjects/DesktopAppWithNativeDep/Program.cs index 8ef303f2d..71b9980f3 100644 --- a/TestAssets/DesktopTestProjects/DesktopAppWithNativeDep/Program.cs +++ b/TestAssets/DesktopTestProjects/DesktopAppWithNativeDep/Program.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; namespace DesktopAppWithNativeDep diff --git a/TestAssets/DesktopTestProjects/DesktopAppWithRuntimes/Program.cs b/TestAssets/DesktopTestProjects/DesktopAppWithRuntimes/Program.cs index bb5a31488..758142805 100644 --- a/TestAssets/DesktopTestProjects/DesktopAppWithRuntimes/Program.cs +++ b/TestAssets/DesktopTestProjects/DesktopAppWithRuntimes/Program.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; namespace DesktopAppWithRuntimes diff --git a/TestAssets/DesktopTestProjects/LibWithProjTool2Fx/Program.cs b/TestAssets/DesktopTestProjects/LibWithProjTool2Fx/Program.cs index 51233cffa..2130cd0a7 100644 --- a/TestAssets/DesktopTestProjects/LibWithProjTool2Fx/Program.cs +++ b/TestAssets/DesktopTestProjects/LibWithProjTool2Fx/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace ConsoleApplication { diff --git a/TestAssets/NonRestoredTestProjects/AppThrowingException/App/Program.cs b/TestAssets/NonRestoredTestProjects/AppThrowingException/App/Program.cs index 5d25e910e..eadcb36e6 100644 --- a/TestAssets/NonRestoredTestProjects/AppThrowingException/App/Program.cs +++ b/TestAssets/NonRestoredTestProjects/AppThrowingException/App/Program.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; namespace AppThrowing diff --git a/TestAssets/NonRestoredTestProjects/AppThrowingException/AppDependingOnOtherAsTool/Program.cs b/TestAssets/NonRestoredTestProjects/AppThrowingException/AppDependingOnOtherAsTool/Program.cs index 846370cce..d2db0fffd 100644 --- a/TestAssets/NonRestoredTestProjects/AppThrowingException/AppDependingOnOtherAsTool/Program.cs +++ b/TestAssets/NonRestoredTestProjects/AppThrowingException/AppDependingOnOtherAsTool/Program.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; class Program diff --git a/TestAssets/NonRestoredTestProjects/AppWithNonExistingToolDependency/Program.cs b/TestAssets/NonRestoredTestProjects/AppWithNonExistingToolDependency/Program.cs index 51233cffa..2130cd0a7 100644 --- a/TestAssets/NonRestoredTestProjects/AppWithNonExistingToolDependency/Program.cs +++ b/TestAssets/NonRestoredTestProjects/AppWithNonExistingToolDependency/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace ConsoleApplication { diff --git a/TestAssets/NonRestoredTestProjects/AppWithProjectDependencyAsTarget/TestApp/Program.cs b/TestAssets/NonRestoredTestProjects/AppWithProjectDependencyAsTarget/TestApp/Program.cs index 24b0cd5f1..855776696 100644 --- a/TestAssets/NonRestoredTestProjects/AppWithProjectDependencyAsTarget/TestApp/Program.cs +++ b/TestAssets/NonRestoredTestProjects/AppWithProjectDependencyAsTarget/TestApp/Program.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; namespace ConsoleApplication diff --git a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/EmptyItemGroup/EmptyItemGroup.cs b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/EmptyItemGroup/EmptyItemGroup.cs index dc59a0133..6b4e993f1 100644 --- a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/EmptyItemGroup/EmptyItemGroup.cs +++ b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/EmptyItemGroup/EmptyItemGroup.cs @@ -1,3 +1,6 @@ -public class EmptyItemGroup +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +public class EmptyItemGroup { } diff --git a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/MoreThanOne/SomeSourceFile.cs b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/MoreThanOne/SomeSourceFile.cs index d99a03229..4b9f356dc 100644 --- a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/MoreThanOne/SomeSourceFile.cs +++ b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/MoreThanOne/SomeSourceFile.cs @@ -1,3 +1,6 @@ -public class SomeClass +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +public class SomeClass { } diff --git a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/Net452AndNetCoreApp10Lib/Net452AndNetCoreApp10Lib.cs b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/Net452AndNetCoreApp10Lib/Net452AndNetCoreApp10Lib.cs index ead0b80b3..7fd23b9ef 100644 --- a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/Net452AndNetCoreApp10Lib/Net452AndNetCoreApp10Lib.cs +++ b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/Net452AndNetCoreApp10Lib/Net452AndNetCoreApp10Lib.cs @@ -1,3 +1,6 @@ -public class Net452AndNetCoreApp10Lib +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +public class Net452AndNetCoreApp10Lib { } diff --git a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/Net45Lib/Net45Lib.cs b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/Net45Lib/Net45Lib.cs index 8f0ebe8b1..a0e97f3ee 100644 --- a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/Net45Lib/Net45Lib.cs +++ b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/Net45Lib/Net45Lib.cs @@ -1,3 +1,6 @@ -public class Net45Lib +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +public class Net45Lib { } diff --git a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithDoubledRef/WithDoubledRef.cs b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithDoubledRef/WithDoubledRef.cs index 23621fc60..d093e4a49 100644 --- a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithDoubledRef/WithDoubledRef.cs +++ b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithDoubledRef/WithDoubledRef.cs @@ -1,3 +1,6 @@ -public class WithDoubledRef +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +public class WithDoubledRef { } diff --git a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithExistingRefCondOnItem/WithExistingRefCondOnItem.cs b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithExistingRefCondOnItem/WithExistingRefCondOnItem.cs index 760d7d5c4..4d402e492 100644 --- a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithExistingRefCondOnItem/WithExistingRefCondOnItem.cs +++ b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithExistingRefCondOnItem/WithExistingRefCondOnItem.cs @@ -1,3 +1,6 @@ -public class WithExistingRefCondOnItem +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +public class WithExistingRefCondOnItem { } diff --git a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithExistingRefCondWhitespaces/WithExistingRefCondWhitespaces.cs b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithExistingRefCondWhitespaces/WithExistingRefCondWhitespaces.cs index fafa14287..1bcd39cfd 100644 --- a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithExistingRefCondWhitespaces/WithExistingRefCondWhitespaces.cs +++ b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithExistingRefCondWhitespaces/WithExistingRefCondWhitespaces.cs @@ -1,3 +1,6 @@ -public class WithExistingRefCondWhitespaces +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +public class WithExistingRefCondWhitespaces { } diff --git a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithRefCondNonUniform/WithRefCondNonUniform.cs b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithRefCondNonUniform/WithRefCondNonUniform.cs index 0adf4b61f..f3fcd06dc 100644 --- a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithRefCondNonUniform/WithRefCondNonUniform.cs +++ b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithRefCondNonUniform/WithRefCondNonUniform.cs @@ -1,3 +1,6 @@ -public class WithRefCondNonUniform +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +public class WithRefCondNonUniform { } diff --git a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithRefNoCondNonUniform/WithRefNoCondNonUniform.cs b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithRefNoCondNonUniform/WithRefNoCondNonUniform.cs index a2dba6130..931aa9634 100644 --- a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithRefNoCondNonUniform/WithRefNoCondNonUniform.cs +++ b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithRefNoCondNonUniform/WithRefNoCondNonUniform.cs @@ -1,3 +1,6 @@ -public class WithRefNoCondNonUniform +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +public class WithRefNoCondNonUniform { } diff --git a/TestAssets/NonRestoredTestProjects/PJAppWithSlnAndXprojRefThatRefsCsprojWhereSlnDoesNotRefCsproj/TestApp/Program.cs b/TestAssets/NonRestoredTestProjects/PJAppWithSlnAndXprojRefThatRefsCsprojWhereSlnDoesNotRefCsproj/TestApp/Program.cs index 7ae090941..3263737e1 100644 --- a/TestAssets/NonRestoredTestProjects/PJAppWithSlnAndXprojRefThatRefsCsprojWhereSlnDoesNotRefCsproj/TestApp/Program.cs +++ b/TestAssets/NonRestoredTestProjects/PJAppWithSlnAndXprojRefThatRefsCsprojWhereSlnDoesNotRefCsproj/TestApp/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/TestAssets/NonRestoredTestProjects/PJAppWithSlnAndXprojRefThatRefsCsprojWhereSlnDoesNotRefCsproj/TestLibrary/Helper.cs b/TestAssets/NonRestoredTestProjects/PJAppWithSlnAndXprojRefThatRefsCsprojWhereSlnDoesNotRefCsproj/TestLibrary/Helper.cs index 768391535..46ad7bb9d 100644 --- a/TestAssets/NonRestoredTestProjects/PJAppWithSlnAndXprojRefThatRefsCsprojWhereSlnDoesNotRefCsproj/TestLibrary/Helper.cs +++ b/TestAssets/NonRestoredTestProjects/PJAppWithSlnAndXprojRefThatRefsCsprojWhereSlnDoesNotRefCsproj/TestLibrary/Helper.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/TestAssets/NonRestoredTestProjects/PJAppWithSlnAndXprojRefs/TestApp/TestAssets/TestAsset/Program.cs b/TestAssets/NonRestoredTestProjects/PJAppWithSlnAndXprojRefs/TestApp/TestAssets/TestAsset/Program.cs index 2906f8bbf..dc6aad3b3 100644 --- a/TestAssets/NonRestoredTestProjects/PJAppWithSlnAndXprojRefs/TestApp/TestAssets/TestAsset/Program.cs +++ b/TestAssets/NonRestoredTestProjects/PJAppWithSlnAndXprojRefs/TestApp/TestAssets/TestAsset/Program.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; namespace App.Tests diff --git a/TestAssets/NonRestoredTestProjects/PJDeprecatedCompilation/Program.cs b/TestAssets/NonRestoredTestProjects/PJDeprecatedCompilation/Program.cs index 51233cffa..2130cd0a7 100644 --- a/TestAssets/NonRestoredTestProjects/PJDeprecatedCompilation/Program.cs +++ b/TestAssets/NonRestoredTestProjects/PJDeprecatedCompilation/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace ConsoleApplication { diff --git a/TestAssets/NonRestoredTestProjects/PJDeprecatedCompile/Helper1.cs b/TestAssets/NonRestoredTestProjects/PJDeprecatedCompile/Helper1.cs index dd2447c0f..cead047c5 100644 --- a/TestAssets/NonRestoredTestProjects/PJDeprecatedCompile/Helper1.cs +++ b/TestAssets/NonRestoredTestProjects/PJDeprecatedCompile/Helper1.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; namespace ConsoleApplication diff --git a/TestAssets/NonRestoredTestProjects/PJDeprecatedCompile/Helper2.cs b/TestAssets/NonRestoredTestProjects/PJDeprecatedCompile/Helper2.cs index eeabb8a3d..15f4cd39a 100644 --- a/TestAssets/NonRestoredTestProjects/PJDeprecatedCompile/Helper2.cs +++ b/TestAssets/NonRestoredTestProjects/PJDeprecatedCompile/Helper2.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; namespace ConsoleApplication diff --git a/TestAssets/NonRestoredTestProjects/PJDeprecatedCompile/project/IncludeThis.cs b/TestAssets/NonRestoredTestProjects/PJDeprecatedCompile/project/IncludeThis.cs index d9300fe2d..74b1d71d1 100644 --- a/TestAssets/NonRestoredTestProjects/PJDeprecatedCompile/project/IncludeThis.cs +++ b/TestAssets/NonRestoredTestProjects/PJDeprecatedCompile/project/IncludeThis.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; namespace ConsoleApplication diff --git a/TestAssets/NonRestoredTestProjects/PJDeprecatedCompile/project/Program.cs b/TestAssets/NonRestoredTestProjects/PJDeprecatedCompile/project/Program.cs index 67d7bea12..e3e9eebc3 100644 --- a/TestAssets/NonRestoredTestProjects/PJDeprecatedCompile/project/Program.cs +++ b/TestAssets/NonRestoredTestProjects/PJDeprecatedCompile/project/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace ConsoleApplication { diff --git a/TestAssets/NonRestoredTestProjects/PJDeprecatedCompileBuiltIn/HelperBuiltIn1.cs b/TestAssets/NonRestoredTestProjects/PJDeprecatedCompileBuiltIn/HelperBuiltIn1.cs index 042fc53d1..99421a7a7 100644 --- a/TestAssets/NonRestoredTestProjects/PJDeprecatedCompileBuiltIn/HelperBuiltIn1.cs +++ b/TestAssets/NonRestoredTestProjects/PJDeprecatedCompileBuiltIn/HelperBuiltIn1.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; namespace ConsoleApplication diff --git a/TestAssets/NonRestoredTestProjects/PJDeprecatedCompileBuiltIn/HelperBuiltIn2.cs b/TestAssets/NonRestoredTestProjects/PJDeprecatedCompileBuiltIn/HelperBuiltIn2.cs index 5ba00add3..d80d2f47d 100644 --- a/TestAssets/NonRestoredTestProjects/PJDeprecatedCompileBuiltIn/HelperBuiltIn2.cs +++ b/TestAssets/NonRestoredTestProjects/PJDeprecatedCompileBuiltIn/HelperBuiltIn2.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; namespace ConsoleApplication diff --git a/TestAssets/NonRestoredTestProjects/PJDeprecatedCompileBuiltIn/project/IncludeThis.cs b/TestAssets/NonRestoredTestProjects/PJDeprecatedCompileBuiltIn/project/IncludeThis.cs index d9300fe2d..74b1d71d1 100644 --- a/TestAssets/NonRestoredTestProjects/PJDeprecatedCompileBuiltIn/project/IncludeThis.cs +++ b/TestAssets/NonRestoredTestProjects/PJDeprecatedCompileBuiltIn/project/IncludeThis.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; namespace ConsoleApplication diff --git a/TestAssets/NonRestoredTestProjects/PJDeprecatedCompileBuiltIn/project/Program.cs b/TestAssets/NonRestoredTestProjects/PJDeprecatedCompileBuiltIn/project/Program.cs index bf3f8b064..ab14e18ba 100644 --- a/TestAssets/NonRestoredTestProjects/PJDeprecatedCompileBuiltIn/project/Program.cs +++ b/TestAssets/NonRestoredTestProjects/PJDeprecatedCompileBuiltIn/project/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace ConsoleApplication { diff --git a/TestAssets/NonRestoredTestProjects/PJDeprecatedCompileExclude/ExcludeThis1.cs b/TestAssets/NonRestoredTestProjects/PJDeprecatedCompileExclude/ExcludeThis1.cs index c8ee6c75e..b4c0e60fb 100644 --- a/TestAssets/NonRestoredTestProjects/PJDeprecatedCompileExclude/ExcludeThis1.cs +++ b/TestAssets/NonRestoredTestProjects/PJDeprecatedCompileExclude/ExcludeThis1.cs @@ -1 +1,4 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + This does not compile but is used to test compile exclusion. diff --git a/TestAssets/NonRestoredTestProjects/PJDeprecatedCompileExclude/ExcludeThis2.cs b/TestAssets/NonRestoredTestProjects/PJDeprecatedCompileExclude/ExcludeThis2.cs index c8ee6c75e..b4c0e60fb 100644 --- a/TestAssets/NonRestoredTestProjects/PJDeprecatedCompileExclude/ExcludeThis2.cs +++ b/TestAssets/NonRestoredTestProjects/PJDeprecatedCompileExclude/ExcludeThis2.cs @@ -1 +1,4 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + This does not compile but is used to test compile exclusion. diff --git a/TestAssets/NonRestoredTestProjects/PJDeprecatedCompileExclude/Program.cs b/TestAssets/NonRestoredTestProjects/PJDeprecatedCompileExclude/Program.cs index 51233cffa..2130cd0a7 100644 --- a/TestAssets/NonRestoredTestProjects/PJDeprecatedCompileExclude/Program.cs +++ b/TestAssets/NonRestoredTestProjects/PJDeprecatedCompileExclude/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace ConsoleApplication { diff --git a/TestAssets/NonRestoredTestProjects/PJDeprecatedContent/project/Program.cs b/TestAssets/NonRestoredTestProjects/PJDeprecatedContent/project/Program.cs index 51233cffa..2130cd0a7 100644 --- a/TestAssets/NonRestoredTestProjects/PJDeprecatedContent/project/Program.cs +++ b/TestAssets/NonRestoredTestProjects/PJDeprecatedContent/project/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace ConsoleApplication { diff --git a/TestAssets/NonRestoredTestProjects/PJDeprecatedNamedResource/Program.cs b/TestAssets/NonRestoredTestProjects/PJDeprecatedNamedResource/Program.cs index 8fdd24dff..ca20e2e00 100644 --- a/TestAssets/NonRestoredTestProjects/PJDeprecatedNamedResource/Program.cs +++ b/TestAssets/NonRestoredTestProjects/PJDeprecatedNamedResource/Program.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Linq; using System.Reflection; diff --git a/TestAssets/NonRestoredTestProjects/PJDeprecatedPack/Program.cs b/TestAssets/NonRestoredTestProjects/PJDeprecatedPack/Program.cs index 51233cffa..2130cd0a7 100644 --- a/TestAssets/NonRestoredTestProjects/PJDeprecatedPack/Program.cs +++ b/TestAssets/NonRestoredTestProjects/PJDeprecatedPack/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace ConsoleApplication { diff --git a/TestAssets/NonRestoredTestProjects/PJDeprecatedResource/project/Program.cs b/TestAssets/NonRestoredTestProjects/PJDeprecatedResource/project/Program.cs index d0134277c..b0df821a7 100644 --- a/TestAssets/NonRestoredTestProjects/PJDeprecatedResource/project/Program.cs +++ b/TestAssets/NonRestoredTestProjects/PJDeprecatedResource/project/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; using System.Linq; using System.Reflection; diff --git a/TestAssets/NonRestoredTestProjects/PJDeprecatedResourceBuiltIn/project/Program.cs b/TestAssets/NonRestoredTestProjects/PJDeprecatedResourceBuiltIn/project/Program.cs index d0134277c..b0df821a7 100644 --- a/TestAssets/NonRestoredTestProjects/PJDeprecatedResourceBuiltIn/project/Program.cs +++ b/TestAssets/NonRestoredTestProjects/PJDeprecatedResourceBuiltIn/project/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; using System.Linq; using System.Reflection; diff --git a/TestAssets/NonRestoredTestProjects/PJDeprecatedResourceExclude/Program.cs b/TestAssets/NonRestoredTestProjects/PJDeprecatedResourceExclude/Program.cs index d0134277c..b0df821a7 100644 --- a/TestAssets/NonRestoredTestProjects/PJDeprecatedResourceExclude/Program.cs +++ b/TestAssets/NonRestoredTestProjects/PJDeprecatedResourceExclude/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; using System.Linq; using System.Reflection; diff --git a/TestAssets/NonRestoredTestProjects/PJHalfMigrated/ProjectB/Program.cs b/TestAssets/NonRestoredTestProjects/PJHalfMigrated/ProjectB/Program.cs index 51233cffa..2130cd0a7 100755 --- a/TestAssets/NonRestoredTestProjects/PJHalfMigrated/ProjectB/Program.cs +++ b/TestAssets/NonRestoredTestProjects/PJHalfMigrated/ProjectB/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace ConsoleApplication { diff --git a/TestAssets/NonRestoredTestProjects/PJHalfMigrated/src/ProjectA/Program.cs b/TestAssets/NonRestoredTestProjects/PJHalfMigrated/src/ProjectA/Program.cs index 51233cffa..2130cd0a7 100755 --- a/TestAssets/NonRestoredTestProjects/PJHalfMigrated/src/ProjectA/Program.cs +++ b/TestAssets/NonRestoredTestProjects/PJHalfMigrated/src/ProjectA/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace ConsoleApplication { diff --git a/TestAssets/NonRestoredTestProjects/TestProjectWithSelfReferencingDependency/Program.cs b/TestAssets/NonRestoredTestProjects/TestProjectWithSelfReferencingDependency/Program.cs index 24b0cd5f1..855776696 100644 --- a/TestAssets/NonRestoredTestProjects/TestProjectWithSelfReferencingDependency/Program.cs +++ b/TestAssets/NonRestoredTestProjects/TestProjectWithSelfReferencingDependency/Program.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; namespace ConsoleApplication diff --git a/TestAssets/NonRestoredTestProjects/TestProjectWithUnresolvedDependency/Program.cs b/TestAssets/NonRestoredTestProjects/TestProjectWithUnresolvedDependency/Program.cs index 51233cffa..2130cd0a7 100644 --- a/TestAssets/NonRestoredTestProjects/TestProjectWithUnresolvedDependency/Program.cs +++ b/TestAssets/NonRestoredTestProjects/TestProjectWithUnresolvedDependency/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace ConsoleApplication { diff --git a/TestAssets/NonRestoredTestProjects/TestProjectWithUnresolvedPlatformDependency/Program.cs b/TestAssets/NonRestoredTestProjects/TestProjectWithUnresolvedPlatformDependency/Program.cs index 51233cffa..2130cd0a7 100644 --- a/TestAssets/NonRestoredTestProjects/TestProjectWithUnresolvedPlatformDependency/Program.cs +++ b/TestAssets/NonRestoredTestProjects/TestProjectWithUnresolvedPlatformDependency/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace ConsoleApplication { diff --git a/TestAssets/NonRestoredTestProjects/ToolWithRandomPackageName/AppWithDepOnTool/Program.cs b/TestAssets/NonRestoredTestProjects/ToolWithRandomPackageName/AppWithDepOnTool/Program.cs index 846370cce..d2db0fffd 100644 --- a/TestAssets/NonRestoredTestProjects/ToolWithRandomPackageName/AppWithDepOnTool/Program.cs +++ b/TestAssets/NonRestoredTestProjects/ToolWithRandomPackageName/AppWithDepOnTool/Program.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; class Program diff --git a/TestAssets/NonRestoredTestProjects/ToolWithRandomPackageName/ToolWithRandomPackageName/Program.cs b/TestAssets/NonRestoredTestProjects/ToolWithRandomPackageName/ToolWithRandomPackageName/Program.cs index a95e5a932..0ea7804c7 100644 --- a/TestAssets/NonRestoredTestProjects/ToolWithRandomPackageName/ToolWithRandomPackageName/Program.cs +++ b/TestAssets/NonRestoredTestProjects/ToolWithRandomPackageName/ToolWithRandomPackageName/Program.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; class Program diff --git a/TestAssets/TestPackages/PackageWithFakeNativeDep/Lib.cs b/TestAssets/TestPackages/PackageWithFakeNativeDep/Lib.cs index c0f79e226..07a5ba6b0 100644 --- a/TestAssets/TestPackages/PackageWithFakeNativeDep/Lib.cs +++ b/TestAssets/TestPackages/PackageWithFakeNativeDep/Lib.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + namespace PackageWithFakeNativeDep { public static class Lib diff --git a/TestAssets/TestPackages/ToolWithOutputName/Program.cs b/TestAssets/TestPackages/ToolWithOutputName/Program.cs index bfb5997b1..91bf8b3c7 100644 --- a/TestAssets/TestPackages/ToolWithOutputName/Program.cs +++ b/TestAssets/TestPackages/ToolWithOutputName/Program.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; namespace ConsoleApplication diff --git a/TestAssets/TestPackages/dotnet-dependency-context-test/Program.cs b/TestAssets/TestPackages/dotnet-dependency-context-test/Program.cs index ac90ffffd..c2d8368b9 100644 --- a/TestAssets/TestPackages/dotnet-dependency-context-test/Program.cs +++ b/TestAssets/TestPackages/dotnet-dependency-context-test/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; using System.Linq; using Microsoft.Extensions.DependencyModel; diff --git a/TestAssets/TestPackages/dotnet-dependency-tool-invoker/Program.cs b/TestAssets/TestPackages/dotnet-dependency-tool-invoker/Program.cs index 17b66d125..9c481c55d 100644 --- a/TestAssets/TestPackages/dotnet-dependency-tool-invoker/Program.cs +++ b/TestAssets/TestPackages/dotnet-dependency-tool-invoker/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; using System.IO; using System.Collections.Generic; using System.Linq; @@ -14,13 +17,13 @@ namespace Microsoft.DotNet.Tools.DependencyInvoker DebugHelper.HandleDebugSwitch(ref args); var dotnetParams = new DotnetBaseParams("dotnet-dependency-tool-invoker", "DotNet Dependency Tool Invoker", "Invokes tools declared as NuGet dependencies of a project"); - + dotnetParams.Parse(args); - + if (string.IsNullOrEmpty(dotnetParams.Command)) { Console.WriteLine("A command name must be provided"); - + return 1; } diff --git a/TestAssets/TestPackages/dotnet-desktop-and-portable/Program.cs b/TestAssets/TestPackages/dotnet-desktop-and-portable/Program.cs index 312fb7151..121c1f775 100644 --- a/TestAssets/TestPackages/dotnet-desktop-and-portable/Program.cs +++ b/TestAssets/TestPackages/dotnet-desktop-and-portable/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; using System.Reflection; namespace ConsoleApplication diff --git a/TestAssets/TestPackages/dotnet-desktop-binding-redirects/Program.cs b/TestAssets/TestPackages/dotnet-desktop-binding-redirects/Program.cs index a71a0aed5..57ecd14fc 100644 --- a/TestAssets/TestPackages/dotnet-desktop-binding-redirects/Program.cs +++ b/TestAssets/TestPackages/dotnet-desktop-binding-redirects/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; diff --git a/TestAssets/TestPackages/dotnet-hello/v1/dotnet-hello/Program.cs b/TestAssets/TestPackages/dotnet-hello/v1/dotnet-hello/Program.cs index 32f43681a..bf77cb409 100644 --- a/TestAssets/TestPackages/dotnet-hello/v1/dotnet-hello/Program.cs +++ b/TestAssets/TestPackages/dotnet-hello/v1/dotnet-hello/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace ConsoleApplication { diff --git a/TestAssets/TestPackages/dotnet-hello/v2/dotnet-hello/Program.cs b/TestAssets/TestPackages/dotnet-hello/v2/dotnet-hello/Program.cs index 51233cffa..2130cd0a7 100644 --- a/TestAssets/TestPackages/dotnet-hello/v2/dotnet-hello/Program.cs +++ b/TestAssets/TestPackages/dotnet-hello/v2/dotnet-hello/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace ConsoleApplication { diff --git a/TestAssets/TestPackages/dotnet-portable/Program.cs b/TestAssets/TestPackages/dotnet-portable/Program.cs index 58d61b1bc..bcb5ed009 100644 --- a/TestAssets/TestPackages/dotnet-portable/Program.cs +++ b/TestAssets/TestPackages/dotnet-portable/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace ConsoleApplication { diff --git a/TestAssets/TestPackages/dotnet-prefercliruntime/Program.cs b/TestAssets/TestPackages/dotnet-prefercliruntime/Program.cs index c011575f6..d594c0619 100644 --- a/TestAssets/TestPackages/dotnet-prefercliruntime/Program.cs +++ b/TestAssets/TestPackages/dotnet-prefercliruntime/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace ConsoleApplication { diff --git a/TestAssets/TestProjects/AppWith2Tfm0Rid/Program.cs b/TestAssets/TestProjects/AppWith2Tfm0Rid/Program.cs index bb536dcc4..1b3eb2ea9 100644 --- a/TestAssets/TestProjects/AppWith2Tfm0Rid/Program.cs +++ b/TestAssets/TestProjects/AppWith2Tfm0Rid/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; using System.Xml; namespace ConsoleApplication diff --git a/TestAssets/TestProjects/AppWith4netTfm0Rid/Program.cs b/TestAssets/TestProjects/AppWith4netTfm0Rid/Program.cs index bb536dcc4..1b3eb2ea9 100644 --- a/TestAssets/TestProjects/AppWith4netTfm0Rid/Program.cs +++ b/TestAssets/TestProjects/AppWith4netTfm0Rid/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; using System.Xml; namespace ConsoleApplication diff --git a/TestAssets/TestProjects/AppWithAppDependency/TestApp1/Program.cs b/TestAssets/TestProjects/AppWithAppDependency/TestApp1/Program.cs index 51233cffa..2130cd0a7 100644 --- a/TestAssets/TestProjects/AppWithAppDependency/TestApp1/Program.cs +++ b/TestAssets/TestProjects/AppWithAppDependency/TestApp1/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace ConsoleApplication { diff --git a/TestAssets/TestProjects/AppWithAppDependency/TestApp2/Program.cs b/TestAssets/TestProjects/AppWithAppDependency/TestApp2/Program.cs index 51233cffa..2130cd0a7 100644 --- a/TestAssets/TestProjects/AppWithAppDependency/TestApp2/Program.cs +++ b/TestAssets/TestProjects/AppWithAppDependency/TestApp2/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace ConsoleApplication { diff --git a/TestAssets/TestProjects/AppWithAssemblyInfo/Program.cs b/TestAssets/TestProjects/AppWithAssemblyInfo/Program.cs index 323c37abb..003e251ce 100644 --- a/TestAssets/TestProjects/AppWithAssemblyInfo/Program.cs +++ b/TestAssets/TestProjects/AppWithAssemblyInfo/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/TestAssets/TestProjects/AppWithAssemblyInfo/Properties/AssemblyInfo.cs b/TestAssets/TestProjects/AppWithAssemblyInfo/Properties/AssemblyInfo.cs index d991503f6..5f2a0822d 100644 --- a/TestAssets/TestProjects/AppWithAssemblyInfo/Properties/AssemblyInfo.cs +++ b/TestAssets/TestProjects/AppWithAssemblyInfo/Properties/AssemblyInfo.cs @@ -1,4 +1,7 @@ -using System.Reflection; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/TestAssets/TestProjects/AppWithDepOnToolWithOutputName/Program.cs b/TestAssets/TestProjects/AppWithDepOnToolWithOutputName/Program.cs index 861f84043..cbcb20f55 100644 --- a/TestAssets/TestProjects/AppWithDepOnToolWithOutputName/Program.cs +++ b/TestAssets/TestProjects/AppWithDepOnToolWithOutputName/Program.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; namespace ConsoleApplication diff --git a/TestAssets/TestProjects/AppWithDirectAndToolDep/Program.cs b/TestAssets/TestProjects/AppWithDirectAndToolDep/Program.cs index 51233cffa..2130cd0a7 100644 --- a/TestAssets/TestProjects/AppWithDirectAndToolDep/Program.cs +++ b/TestAssets/TestProjects/AppWithDirectAndToolDep/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace ConsoleApplication { diff --git a/TestAssets/TestProjects/AppWithDirectDep/Program.cs b/TestAssets/TestProjects/AppWithDirectDep/Program.cs index 51233cffa..2130cd0a7 100644 --- a/TestAssets/TestProjects/AppWithDirectDep/Program.cs +++ b/TestAssets/TestProjects/AppWithDirectDep/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace ConsoleApplication { diff --git a/TestAssets/TestProjects/AppWithDirectDepWithOutputName/Program.cs b/TestAssets/TestProjects/AppWithDirectDepWithOutputName/Program.cs index 29cf4486f..4178a0e4b 100644 --- a/TestAssets/TestProjects/AppWithDirectDepWithOutputName/Program.cs +++ b/TestAssets/TestProjects/AppWithDirectDepWithOutputName/Program.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; namespace ConsoleApplication diff --git a/TestAssets/TestProjects/AppWithMultipleFxAndTools/Program.cs b/TestAssets/TestProjects/AppWithMultipleFxAndTools/Program.cs index f5f4b6d13..6cf5d8c9e 100644 --- a/TestAssets/TestProjects/AppWithMultipleFxAndTools/Program.cs +++ b/TestAssets/TestProjects/AppWithMultipleFxAndTools/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace ConsoleApplication { diff --git a/TestAssets/TestProjects/AppWithOutputAssemblyName/Program.cs b/TestAssets/TestProjects/AppWithOutputAssemblyName/Program.cs index 7a9297b45..b56f8e0b0 100644 --- a/TestAssets/TestProjects/AppWithOutputAssemblyName/Program.cs +++ b/TestAssets/TestProjects/AppWithOutputAssemblyName/Program.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + namespace AppWithOutputAssemblyName { public class MyApp diff --git a/TestAssets/TestProjects/AppWithPackageNamedAfterFolder/TestAssets/TestAsset/Program.cs b/TestAssets/TestProjects/AppWithPackageNamedAfterFolder/TestAssets/TestAsset/Program.cs index 7d1e94271..21cf5b1d3 100644 --- a/TestAssets/TestProjects/AppWithPackageNamedAfterFolder/TestAssets/TestAsset/Program.cs +++ b/TestAssets/TestProjects/AppWithPackageNamedAfterFolder/TestAssets/TestAsset/Program.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; namespace App.Tests diff --git a/TestAssets/TestProjects/AppWithPackageNamedAfterFolder/test/App.Tests/EntityFramework/Program.cs b/TestAssets/TestProjects/AppWithPackageNamedAfterFolder/test/App.Tests/EntityFramework/Program.cs index c56978bf5..c436bf19d 100644 --- a/TestAssets/TestProjects/AppWithPackageNamedAfterFolder/test/App.Tests/EntityFramework/Program.cs +++ b/TestAssets/TestProjects/AppWithPackageNamedAfterFolder/test/App.Tests/EntityFramework/Program.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; namespace App.Tests diff --git a/TestAssets/TestProjects/AppWithToolDependency/Program.cs b/TestAssets/TestProjects/AppWithToolDependency/Program.cs index 51233cffa..2130cd0a7 100644 --- a/TestAssets/TestProjects/AppWithToolDependency/Program.cs +++ b/TestAssets/TestProjects/AppWithToolDependency/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace ConsoleApplication { diff --git a/TestAssets/TestProjects/InvalidSolution/Lib/Library.cs b/TestAssets/TestProjects/InvalidSolution/Lib/Library.cs index 205c42a01..71a4d4832 100644 --- a/TestAssets/TestProjects/InvalidSolution/Lib/Library.cs +++ b/TestAssets/TestProjects/InvalidSolution/Lib/Library.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; namespace Lib diff --git a/TestAssets/TestProjects/LibraryWithNetStandardLibRef/Program.cs b/TestAssets/TestProjects/LibraryWithNetStandardLibRef/Program.cs index 79ddf6c75..334a639db 100644 --- a/TestAssets/TestProjects/LibraryWithNetStandardLibRef/Program.cs +++ b/TestAssets/TestProjects/LibraryWithNetStandardLibRef/Program.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; class Program diff --git a/TestAssets/TestProjects/LibraryWithOutputAssemblyName/Class.cs b/TestAssets/TestProjects/LibraryWithOutputAssemblyName/Class.cs index 936e952ab..ed618e6bc 100644 --- a/TestAssets/TestProjects/LibraryWithOutputAssemblyName/Class.cs +++ b/TestAssets/TestProjects/LibraryWithOutputAssemblyName/Class.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + namespace LibraryWithOutputAssemblyName { public class MyClass diff --git a/TestAssets/TestProjects/LibraryWithoutNetStandardLibRef/Program.cs b/TestAssets/TestProjects/LibraryWithoutNetStandardLibRef/Program.cs index 79ddf6c75..334a639db 100644 --- a/TestAssets/TestProjects/LibraryWithoutNetStandardLibRef/Program.cs +++ b/TestAssets/TestProjects/LibraryWithoutNetStandardLibRef/Program.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; class Program diff --git a/TestAssets/TestProjects/MSBuildAppWithMultipleFrameworks/Program.cs b/TestAssets/TestProjects/MSBuildAppWithMultipleFrameworks/Program.cs index f5f4b6d13..6cf5d8c9e 100644 --- a/TestAssets/TestProjects/MSBuildAppWithMultipleFrameworks/Program.cs +++ b/TestAssets/TestProjects/MSBuildAppWithMultipleFrameworks/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace ConsoleApplication { diff --git a/TestAssets/TestProjects/MSBuildTestApp/Program.cs b/TestAssets/TestProjects/MSBuildTestApp/Program.cs index 8dae6dd9e..20b3f028d 100644 --- a/TestAssets/TestProjects/MSBuildTestApp/Program.cs +++ b/TestAssets/TestProjects/MSBuildTestApp/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace MSBuildTestApp { diff --git a/TestAssets/TestProjects/NewtonSoftDependentProject/Program.cs b/TestAssets/TestProjects/NewtonSoftDependentProject/Program.cs index 0e57f9b64..2debeaadb 100644 --- a/TestAssets/TestProjects/NewtonSoftDependentProject/Program.cs +++ b/TestAssets/TestProjects/NewtonSoftDependentProject/Program.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections; using Newtonsoft.Json.Linq; diff --git a/TestAssets/TestProjects/PJAppWithMultipleFrameworks/Program.cs b/TestAssets/TestProjects/PJAppWithMultipleFrameworks/Program.cs index f5f4b6d13..6cf5d8c9e 100644 --- a/TestAssets/TestProjects/PJAppWithMultipleFrameworks/Program.cs +++ b/TestAssets/TestProjects/PJAppWithMultipleFrameworks/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace ConsoleApplication { diff --git a/TestAssets/TestProjects/PJLibWithMultipleFrameworks/Program.cs b/TestAssets/TestProjects/PJLibWithMultipleFrameworks/Program.cs index 78725a390..235f81584 100644 --- a/TestAssets/TestProjects/PJLibWithMultipleFrameworks/Program.cs +++ b/TestAssets/TestProjects/PJLibWithMultipleFrameworks/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace Library { diff --git a/TestAssets/TestProjects/PJTestAppSimple/Program.cs b/TestAssets/TestProjects/PJTestAppSimple/Program.cs index 51233cffa..2130cd0a7 100644 --- a/TestAssets/TestProjects/PJTestAppSimple/Program.cs +++ b/TestAssets/TestProjects/PJTestAppSimple/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace ConsoleApplication { diff --git a/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetApp/Program.cs b/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetApp/Program.cs index 9bfc3c72c..82de950de 100644 --- a/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetApp/Program.cs +++ b/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetApp/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace ConsoleApplication { diff --git a/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetGraph/SingleTargetP0/Program.cs b/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetGraph/SingleTargetP0/Program.cs index ca05ade7a..7d52ceac0 100644 --- a/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetGraph/SingleTargetP0/Program.cs +++ b/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetGraph/SingleTargetP0/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace ConsoleApplication { diff --git a/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetGraph/SingleTargetP1/Program.cs b/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetGraph/SingleTargetP1/Program.cs index ea50de9e8..50d5c20ea 100644 --- a/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetGraph/SingleTargetP1/Program.cs +++ b/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetGraph/SingleTargetP1/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace ConsoleLibrary.P1 { diff --git a/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetGraph/SingleTargetP2/Program.cs b/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetGraph/SingleTargetP2/Program.cs index 0ae001811..a31e7fd68 100644 --- a/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetGraph/SingleTargetP2/Program.cs +++ b/TestAssets/TestProjects/PerformanceTestProjects/SingleTargetGraph/SingleTargetP2/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace ConsoleLibrary.P2 { diff --git a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetApp/Program.cs b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetApp/Program.cs index 9bfc3c72c..82de950de 100644 --- a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetApp/Program.cs +++ b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetApp/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace ConsoleApplication { diff --git a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraph/TwoTargetP0/Program.cs b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraph/TwoTargetP0/Program.cs index ca05ade7a..7d52ceac0 100644 --- a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraph/TwoTargetP0/Program.cs +++ b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraph/TwoTargetP0/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace ConsoleApplication { diff --git a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraph/TwoTargetP1/Program.cs b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraph/TwoTargetP1/Program.cs index ea50de9e8..50d5c20ea 100644 --- a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraph/TwoTargetP1/Program.cs +++ b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraph/TwoTargetP1/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace ConsoleLibrary.P1 { diff --git a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraph/TwoTargetP2/Program.cs b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraph/TwoTargetP2/Program.cs index 0ae001811..a31e7fd68 100644 --- a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraph/TwoTargetP2/Program.cs +++ b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraph/TwoTargetP2/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace ConsoleLibrary.P2 { diff --git a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP0/Program.cs b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP0/Program.cs index ca05ade7a..7d52ceac0 100644 --- a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP0/Program.cs +++ b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP0/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace ConsoleApplication { diff --git a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP1/Program.cs b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP1/Program.cs index 7b1284ad8..d9fb50fea 100644 --- a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP1/Program.cs +++ b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP1/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace ConsoleLibrary.P1 { diff --git a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP2/Program.cs b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP2/Program.cs index 121dbbfb7..594825e6e 100644 --- a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP2/Program.cs +++ b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP2/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace ConsoleLibrary.P2 { diff --git a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP3/Program.cs b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP3/Program.cs index 2e779be39..d2771ec2c 100644 --- a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP3/Program.cs +++ b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP3/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace ConsoleLibrary.P3 { diff --git a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP4/Program.cs b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP4/Program.cs index 71a2f4d72..6c5753f3e 100644 --- a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP4/Program.cs +++ b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP4/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace ConsoleLibrary.P4 { diff --git a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP5/Program.cs b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP5/Program.cs index 9fc92636d..cb2821fb3 100644 --- a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP5/Program.cs +++ b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP5/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace ConsoleLibrary.P5 { diff --git a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP6/Program.cs b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP6/Program.cs index ae467ffd4..8850d5744 100644 --- a/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP6/Program.cs +++ b/TestAssets/TestProjects/PerformanceTestProjects/TwoTargetGraphLarge/TwoTargetLargeP6/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace ConsoleLibrary.P6 { diff --git a/TestAssets/TestProjects/ProjectJsonConsoleTemplate/Program.cs b/TestAssets/TestProjects/ProjectJsonConsoleTemplate/Program.cs index c81448f54..7e52efa0e 100644 --- a/TestAssets/TestProjects/ProjectJsonConsoleTemplate/Program.cs +++ b/TestAssets/TestProjects/ProjectJsonConsoleTemplate/Program.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; class Program diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Controllers/AccountController.cs b/TestAssets/TestProjects/ProjectJsonWebTemplate/Controllers/AccountController.cs index 035638af9..a6b81482d 100644 --- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Controllers/AccountController.cs +++ b/TestAssets/TestProjects/ProjectJsonWebTemplate/Controllers/AccountController.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.Linq; diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Controllers/HomeController.cs b/TestAssets/TestProjects/ProjectJsonWebTemplate/Controllers/HomeController.cs index 4b21d0cce..67d139496 100644 --- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Controllers/HomeController.cs +++ b/TestAssets/TestProjects/ProjectJsonWebTemplate/Controllers/HomeController.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.Linq; diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Controllers/ManageController.cs b/TestAssets/TestProjects/ProjectJsonWebTemplate/Controllers/ManageController.cs index 8d04fe58b..f7ff98504 100644 --- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Controllers/ManageController.cs +++ b/TestAssets/TestProjects/ProjectJsonWebTemplate/Controllers/ManageController.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.Linq; diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Data/ApplicationDbContext.cs b/TestAssets/TestProjects/ProjectJsonWebTemplate/Data/ApplicationDbContext.cs index 336e6d466..329199667 100644 --- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Data/ApplicationDbContext.cs +++ b/TestAssets/TestProjects/ProjectJsonWebTemplate/Data/ApplicationDbContext.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.Linq; diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Data/Migrations/00000000000000_CreateIdentitySchema.Designer.cs b/TestAssets/TestProjects/ProjectJsonWebTemplate/Data/Migrations/00000000000000_CreateIdentitySchema.Designer.cs index bb12d2bbb..5262b9296 100644 --- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Data/Migrations/00000000000000_CreateIdentitySchema.Designer.cs +++ b/TestAssets/TestProjects/ProjectJsonWebTemplate/Data/Migrations/00000000000000_CreateIdentitySchema.Designer.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Data/Migrations/00000000000000_CreateIdentitySchema.cs b/TestAssets/TestProjects/ProjectJsonWebTemplate/Data/Migrations/00000000000000_CreateIdentitySchema.cs index e6f038f8e..751316b28 100644 --- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Data/Migrations/00000000000000_CreateIdentitySchema.cs +++ b/TestAssets/TestProjects/ProjectJsonWebTemplate/Data/Migrations/00000000000000_CreateIdentitySchema.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using Microsoft.EntityFrameworkCore.Migrations; diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Data/Migrations/ApplicationDbContextModelSnapshot.cs b/TestAssets/TestProjects/ProjectJsonWebTemplate/Data/Migrations/ApplicationDbContextModelSnapshot.cs index cb459319d..54608c041 100644 --- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Data/Migrations/ApplicationDbContextModelSnapshot.cs +++ b/TestAssets/TestProjects/ProjectJsonWebTemplate/Data/Migrations/ApplicationDbContextModelSnapshot.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/AccountViewModels/ExternalLoginConfirmationViewModel.cs b/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/AccountViewModels/ExternalLoginConfirmationViewModel.cs index a60894ce8..033c4b789 100644 --- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/AccountViewModels/ExternalLoginConfirmationViewModel.cs +++ b/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/AccountViewModels/ExternalLoginConfirmationViewModel.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/AccountViewModels/ForgotPasswordViewModel.cs b/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/AccountViewModels/ForgotPasswordViewModel.cs index 70fab0c9f..5b026a9f3 100644 --- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/AccountViewModels/ForgotPasswordViewModel.cs +++ b/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/AccountViewModels/ForgotPasswordViewModel.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/AccountViewModels/LoginViewModel.cs b/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/AccountViewModels/LoginViewModel.cs index 7dc974b6b..ae17051ab 100644 --- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/AccountViewModels/LoginViewModel.cs +++ b/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/AccountViewModels/LoginViewModel.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/AccountViewModels/RegisterViewModel.cs b/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/AccountViewModels/RegisterViewModel.cs index bc86f2aed..a6d5f1a96 100644 --- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/AccountViewModels/RegisterViewModel.cs +++ b/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/AccountViewModels/RegisterViewModel.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/AccountViewModels/ResetPasswordViewModel.cs b/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/AccountViewModels/ResetPasswordViewModel.cs index 43198b7e5..15c2967f1 100644 --- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/AccountViewModels/ResetPasswordViewModel.cs +++ b/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/AccountViewModels/ResetPasswordViewModel.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/AccountViewModels/SendCodeViewModel.cs b/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/AccountViewModels/SendCodeViewModel.cs index b8ed8f1d4..2f44b9951 100644 --- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/AccountViewModels/SendCodeViewModel.cs +++ b/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/AccountViewModels/SendCodeViewModel.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.Linq; diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/AccountViewModels/VerifyCodeViewModel.cs b/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/AccountViewModels/VerifyCodeViewModel.cs index 394db8c59..c1016c143 100644 --- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/AccountViewModels/VerifyCodeViewModel.cs +++ b/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/AccountViewModels/VerifyCodeViewModel.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/ApplicationUser.cs b/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/ApplicationUser.cs index 4642ef2c3..047cfadd5 100644 --- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/ApplicationUser.cs +++ b/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/ApplicationUser.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.Linq; diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/ManageViewModels/AddPhoneNumberViewModel.cs b/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/ManageViewModels/AddPhoneNumberViewModel.cs index d2baaf7e0..0648e6f44 100644 --- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/ManageViewModels/AddPhoneNumberViewModel.cs +++ b/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/ManageViewModels/AddPhoneNumberViewModel.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/ManageViewModels/ChangePasswordViewModel.cs b/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/ManageViewModels/ChangePasswordViewModel.cs index 421b91a03..51093e9b1 100644 --- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/ManageViewModels/ChangePasswordViewModel.cs +++ b/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/ManageViewModels/ChangePasswordViewModel.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/ManageViewModels/ConfigureTwoFactorViewModel.cs b/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/ManageViewModels/ConfigureTwoFactorViewModel.cs index beb1fd1a4..e56af0ec0 100644 --- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/ManageViewModels/ConfigureTwoFactorViewModel.cs +++ b/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/ManageViewModels/ConfigureTwoFactorViewModel.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.Linq; diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/ManageViewModels/FactorViewModel.cs b/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/ManageViewModels/FactorViewModel.cs index b2d4f9e2f..1b74bc14b 100644 --- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/ManageViewModels/FactorViewModel.cs +++ b/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/ManageViewModels/FactorViewModel.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.Linq; diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/ManageViewModels/IndexViewModel.cs b/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/ManageViewModels/IndexViewModel.cs index e0b69f2df..f97ce4cf4 100644 --- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/ManageViewModels/IndexViewModel.cs +++ b/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/ManageViewModels/IndexViewModel.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.Linq; diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/ManageViewModels/ManageLoginsViewModel.cs b/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/ManageViewModels/ManageLoginsViewModel.cs index fc03a0c27..e2474b126 100644 --- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/ManageViewModels/ManageLoginsViewModel.cs +++ b/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/ManageViewModels/ManageLoginsViewModel.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.Linq; diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/ManageViewModels/RemoveLoginViewModel.cs b/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/ManageViewModels/RemoveLoginViewModel.cs index 394df34a0..031d5421b 100644 --- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/ManageViewModels/RemoveLoginViewModel.cs +++ b/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/ManageViewModels/RemoveLoginViewModel.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/ManageViewModels/SetPasswordViewModel.cs b/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/ManageViewModels/SetPasswordViewModel.cs index 76c1b4bb4..861834531 100644 --- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/ManageViewModels/SetPasswordViewModel.cs +++ b/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/ManageViewModels/SetPasswordViewModel.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/ManageViewModels/VerifyPhoneNumberViewModel.cs b/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/ManageViewModels/VerifyPhoneNumberViewModel.cs index 3c8c08c87..13ee9834e 100644 --- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/ManageViewModels/VerifyPhoneNumberViewModel.cs +++ b/TestAssets/TestProjects/ProjectJsonWebTemplate/Models/ManageViewModels/VerifyPhoneNumberViewModel.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Program.cs b/TestAssets/TestProjects/ProjectJsonWebTemplate/Program.cs index 74e9753fb..de237aae7 100644 --- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Program.cs +++ b/TestAssets/TestProjects/ProjectJsonWebTemplate/Program.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.IO; diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Services/IEmailSender.cs b/TestAssets/TestProjects/ProjectJsonWebTemplate/Services/IEmailSender.cs index 08fb35bad..8010a870c 100644 --- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Services/IEmailSender.cs +++ b/TestAssets/TestProjects/ProjectJsonWebTemplate/Services/IEmailSender.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.Linq; diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Services/ISmsSender.cs b/TestAssets/TestProjects/ProjectJsonWebTemplate/Services/ISmsSender.cs index 8e57a2343..b887b6113 100644 --- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Services/ISmsSender.cs +++ b/TestAssets/TestProjects/ProjectJsonWebTemplate/Services/ISmsSender.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.Linq; diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Services/MessageServices.cs b/TestAssets/TestProjects/ProjectJsonWebTemplate/Services/MessageServices.cs index de54bfc79..c3ee43128 100644 --- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Services/MessageServices.cs +++ b/TestAssets/TestProjects/ProjectJsonWebTemplate/Services/MessageServices.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.Linq; diff --git a/TestAssets/TestProjects/ProjectJsonWebTemplate/Startup.cs b/TestAssets/TestProjects/ProjectJsonWebTemplate/Startup.cs index 2fa7ae51b..9280e73f0 100644 --- a/TestAssets/TestProjects/ProjectJsonWebTemplate/Startup.cs +++ b/TestAssets/TestProjects/ProjectJsonWebTemplate/Startup.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.Linq; diff --git a/TestAssets/TestProjects/SlnFileWithNoProjectReferencesAndCSharpProject/CSharpProject/Program.cs b/TestAssets/TestProjects/SlnFileWithNoProjectReferencesAndCSharpProject/CSharpProject/Program.cs index 0760ae741..6c5339907 100644 --- a/TestAssets/TestProjects/SlnFileWithNoProjectReferencesAndCSharpProject/CSharpProject/Program.cs +++ b/TestAssets/TestProjects/SlnFileWithNoProjectReferencesAndCSharpProject/CSharpProject/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/TestAssets/TestProjects/SlnFileWithNoProjectReferencesAndCSharpProject/CSharpProject/Properties/AssemblyInfo.cs b/TestAssets/TestProjects/SlnFileWithNoProjectReferencesAndCSharpProject/CSharpProject/Properties/AssemblyInfo.cs index 9dc33d763..c008db98b 100644 --- a/TestAssets/TestProjects/SlnFileWithNoProjectReferencesAndCSharpProject/CSharpProject/Properties/AssemblyInfo.cs +++ b/TestAssets/TestProjects/SlnFileWithNoProjectReferencesAndCSharpProject/CSharpProject/Properties/AssemblyInfo.cs @@ -1,4 +1,7 @@ -using System.Reflection; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/TestAssets/TestProjects/TestAppSimple/Program.cs b/TestAssets/TestProjects/TestAppSimple/Program.cs index 51233cffa..2130cd0a7 100644 --- a/TestAssets/TestProjects/TestAppSimple/Program.cs +++ b/TestAssets/TestProjects/TestAppSimple/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace ConsoleApplication { diff --git a/TestAssets/TestProjects/TestAppWithContents/Program.cs b/TestAssets/TestProjects/TestAppWithContents/Program.cs index 7ab8924f9..dc54ad2be 100644 --- a/TestAssets/TestProjects/TestAppWithContents/Program.cs +++ b/TestAssets/TestProjects/TestAppWithContents/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace ConsoleApplication { diff --git a/TestAssets/TestProjects/TestAppWithEmbeddedResources/Program.cs b/TestAssets/TestProjects/TestAppWithEmbeddedResources/Program.cs index 0e2502ce3..9d31ed2c9 100755 --- a/TestAssets/TestProjects/TestAppWithEmbeddedResources/Program.cs +++ b/TestAssets/TestProjects/TestAppWithEmbeddedResources/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; using System.Linq; using System.Reflection; @@ -14,7 +17,7 @@ namespace ConsoleApplication if (resources.Count() > 1) { - throw new Exception($"{resources.Count()} found in the assembly. Was expecting only 1."); + throw new Exception($"{resources.Count()} found in the assembly. Was expecting only 1."); } var resourceNames = string.Join(",", resources); diff --git a/TestAssets/TestProjects/TestAppWithEmptySln/App/Program.cs b/TestAssets/TestProjects/TestAppWithEmptySln/App/Program.cs index abb853a4a..b71a6fdb4 100644 --- a/TestAssets/TestProjects/TestAppWithEmptySln/App/Program.cs +++ b/TestAssets/TestProjects/TestAppWithEmptySln/App/Program.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; class Program diff --git a/TestAssets/TestProjects/TestAppWithEmptySln/Lib/Library.cs b/TestAssets/TestProjects/TestAppWithEmptySln/Lib/Library.cs index 205c42a01..71a4d4832 100644 --- a/TestAssets/TestProjects/TestAppWithEmptySln/Lib/Library.cs +++ b/TestAssets/TestProjects/TestAppWithEmptySln/Lib/Library.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; namespace Lib diff --git a/TestAssets/TestProjects/TestAppWithExplicitInclude/Program.cs b/TestAssets/TestProjects/TestAppWithExplicitInclude/Program.cs index c81448f54..7e52efa0e 100644 --- a/TestAssets/TestProjects/TestAppWithExplicitInclude/Program.cs +++ b/TestAssets/TestProjects/TestAppWithExplicitInclude/Program.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; class Program diff --git a/TestAssets/TestProjects/TestAppWithExplicitIncludeGlob/Program.cs b/TestAssets/TestProjects/TestAppWithExplicitIncludeGlob/Program.cs index c81448f54..7e52efa0e 100644 --- a/TestAssets/TestProjects/TestAppWithExplicitIncludeGlob/Program.cs +++ b/TestAssets/TestProjects/TestAppWithExplicitIncludeGlob/Program.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; class Program diff --git a/TestAssets/TestProjects/TestAppWithMultipleFrameworksAndRuntimes/Program.cs b/TestAssets/TestProjects/TestAppWithMultipleFrameworksAndRuntimes/Program.cs index bb536dcc4..1b3eb2ea9 100644 --- a/TestAssets/TestProjects/TestAppWithMultipleFrameworksAndRuntimes/Program.cs +++ b/TestAssets/TestProjects/TestAppWithMultipleFrameworksAndRuntimes/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; using System.Xml; namespace ConsoleApplication diff --git a/TestAssets/TestProjects/TestAppWithMultipleSlnFiles/App/Program.cs b/TestAssets/TestProjects/TestAppWithMultipleSlnFiles/App/Program.cs index f565ae24f..da2c8fe6e 100644 --- a/TestAssets/TestProjects/TestAppWithMultipleSlnFiles/App/Program.cs +++ b/TestAssets/TestProjects/TestAppWithMultipleSlnFiles/App/Program.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; class Program diff --git a/TestAssets/TestProjects/TestAppWithProjDepTool/Program.cs b/TestAssets/TestProjects/TestAppWithProjDepTool/Program.cs index 8dae6dd9e..20b3f028d 100644 --- a/TestAssets/TestProjects/TestAppWithProjDepTool/Program.cs +++ b/TestAssets/TestProjects/TestAppWithProjDepTool/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace MSBuildTestApp { diff --git a/TestAssets/TestProjects/TestAppWithRuntimeOptions/Program.cs b/TestAssets/TestProjects/TestAppWithRuntimeOptions/Program.cs index 51233cffa..2130cd0a7 100644 --- a/TestAssets/TestProjects/TestAppWithRuntimeOptions/Program.cs +++ b/TestAssets/TestProjects/TestAppWithRuntimeOptions/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace ConsoleApplication { diff --git a/TestAssets/TestProjects/TestAppWithSigning/Program.cs b/TestAssets/TestProjects/TestAppWithSigning/Program.cs index 51233cffa..2130cd0a7 100644 --- a/TestAssets/TestProjects/TestAppWithSigning/Program.cs +++ b/TestAssets/TestProjects/TestAppWithSigning/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace ConsoleApplication { diff --git a/TestAssets/TestProjects/TestAppWithSlnAndCaseSensitiveSolutionFolders/src/App/Program.cs b/TestAssets/TestProjects/TestAppWithSlnAndCaseSensitiveSolutionFolders/src/App/Program.cs index abb853a4a..b71a6fdb4 100644 --- a/TestAssets/TestProjects/TestAppWithSlnAndCaseSensitiveSolutionFolders/src/App/Program.cs +++ b/TestAssets/TestProjects/TestAppWithSlnAndCaseSensitiveSolutionFolders/src/App/Program.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; class Program diff --git a/TestAssets/TestProjects/TestAppWithSlnAndCaseSensitiveSolutionFolders/src/Lib/Library.cs b/TestAssets/TestProjects/TestAppWithSlnAndCaseSensitiveSolutionFolders/src/Lib/Library.cs index 205c42a01..71a4d4832 100644 --- a/TestAssets/TestProjects/TestAppWithSlnAndCaseSensitiveSolutionFolders/src/Lib/Library.cs +++ b/TestAssets/TestProjects/TestAppWithSlnAndCaseSensitiveSolutionFolders/src/Lib/Library.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; namespace Lib diff --git a/TestAssets/TestProjects/TestAppWithSlnAndCsprojFiles/App/Program.cs b/TestAssets/TestProjects/TestAppWithSlnAndCsprojFiles/App/Program.cs index abb853a4a..b71a6fdb4 100644 --- a/TestAssets/TestProjects/TestAppWithSlnAndCsprojFiles/App/Program.cs +++ b/TestAssets/TestProjects/TestAppWithSlnAndCsprojFiles/App/Program.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; class Program diff --git a/TestAssets/TestProjects/TestAppWithSlnAndCsprojFiles/Lib/Library.cs b/TestAssets/TestProjects/TestAppWithSlnAndCsprojFiles/Lib/Library.cs index 205c42a01..71a4d4832 100644 --- a/TestAssets/TestProjects/TestAppWithSlnAndCsprojFiles/Lib/Library.cs +++ b/TestAssets/TestProjects/TestAppWithSlnAndCsprojFiles/Lib/Library.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; namespace Lib diff --git a/TestAssets/TestProjects/TestAppWithSlnAndCsprojInSubDir/Program.cs b/TestAssets/TestProjects/TestAppWithSlnAndCsprojInSubDir/Program.cs index abb853a4a..b71a6fdb4 100644 --- a/TestAssets/TestProjects/TestAppWithSlnAndCsprojInSubDir/Program.cs +++ b/TestAssets/TestProjects/TestAppWithSlnAndCsprojInSubDir/Program.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; class Program diff --git a/TestAssets/TestProjects/TestAppWithSlnAndCsprojInSubDir/src/Lib/Library.cs b/TestAssets/TestProjects/TestAppWithSlnAndCsprojInSubDir/src/Lib/Library.cs index 205c42a01..71a4d4832 100644 --- a/TestAssets/TestProjects/TestAppWithSlnAndCsprojInSubDir/src/Lib/Library.cs +++ b/TestAssets/TestProjects/TestAppWithSlnAndCsprojInSubDir/src/Lib/Library.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; namespace Lib diff --git a/TestAssets/TestProjects/TestAppWithSlnAndCsprojInSubDirToRemove/Program.cs b/TestAssets/TestProjects/TestAppWithSlnAndCsprojInSubDirToRemove/Program.cs index abb853a4a..b71a6fdb4 100644 --- a/TestAssets/TestProjects/TestAppWithSlnAndCsprojInSubDirToRemove/Program.cs +++ b/TestAssets/TestProjects/TestAppWithSlnAndCsprojInSubDirToRemove/Program.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; class Program diff --git a/TestAssets/TestProjects/TestAppWithSlnAndCsprojInSubDirToRemove/src/Lib/Library.cs b/TestAssets/TestProjects/TestAppWithSlnAndCsprojInSubDirToRemove/src/Lib/Library.cs index 205c42a01..71a4d4832 100644 --- a/TestAssets/TestProjects/TestAppWithSlnAndCsprojInSubDirToRemove/src/Lib/Library.cs +++ b/TestAssets/TestProjects/TestAppWithSlnAndCsprojInSubDirToRemove/src/Lib/Library.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; namespace Lib diff --git a/TestAssets/TestProjects/TestAppWithSlnAndCsprojProjectGuidFiles/App/Program.cs b/TestAssets/TestProjects/TestAppWithSlnAndCsprojProjectGuidFiles/App/Program.cs index abb853a4a..b71a6fdb4 100644 --- a/TestAssets/TestProjects/TestAppWithSlnAndCsprojProjectGuidFiles/App/Program.cs +++ b/TestAssets/TestProjects/TestAppWithSlnAndCsprojProjectGuidFiles/App/Program.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; class Program diff --git a/TestAssets/TestProjects/TestAppWithSlnAndCsprojProjectGuidFiles/Lib/Library.cs b/TestAssets/TestProjects/TestAppWithSlnAndCsprojProjectGuidFiles/Lib/Library.cs index 205c42a01..71a4d4832 100644 --- a/TestAssets/TestProjects/TestAppWithSlnAndCsprojProjectGuidFiles/Lib/Library.cs +++ b/TestAssets/TestProjects/TestAppWithSlnAndCsprojProjectGuidFiles/Lib/Library.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; namespace Lib diff --git a/TestAssets/TestProjects/TestAppWithSlnAndCsprojToRemove/App/Program.cs b/TestAssets/TestProjects/TestAppWithSlnAndCsprojToRemove/App/Program.cs index acdf5839d..11f138d4d 100644 --- a/TestAssets/TestProjects/TestAppWithSlnAndCsprojToRemove/App/Program.cs +++ b/TestAssets/TestProjects/TestAppWithSlnAndCsprojToRemove/App/Program.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; class Program diff --git a/TestAssets/TestProjects/TestAppWithSlnAndCsprojToRemove/Lib/Library.cs b/TestAssets/TestProjects/TestAppWithSlnAndCsprojToRemove/Lib/Library.cs index 205c42a01..71a4d4832 100644 --- a/TestAssets/TestProjects/TestAppWithSlnAndCsprojToRemove/Lib/Library.cs +++ b/TestAssets/TestProjects/TestAppWithSlnAndCsprojToRemove/Lib/Library.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; namespace Lib diff --git a/TestAssets/TestProjects/TestAppWithSlnAndDuplicateProjectReferences/App/Program.cs b/TestAssets/TestProjects/TestAppWithSlnAndDuplicateProjectReferences/App/Program.cs index abb853a4a..b71a6fdb4 100644 --- a/TestAssets/TestProjects/TestAppWithSlnAndDuplicateProjectReferences/App/Program.cs +++ b/TestAssets/TestProjects/TestAppWithSlnAndDuplicateProjectReferences/App/Program.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; class Program diff --git a/TestAssets/TestProjects/TestAppWithSlnAndDuplicateProjectReferences/Lib/Library.cs b/TestAssets/TestProjects/TestAppWithSlnAndDuplicateProjectReferences/Lib/Library.cs index 205c42a01..71a4d4832 100644 --- a/TestAssets/TestProjects/TestAppWithSlnAndDuplicateProjectReferences/Lib/Library.cs +++ b/TestAssets/TestProjects/TestAppWithSlnAndDuplicateProjectReferences/Lib/Library.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; namespace Lib diff --git a/TestAssets/TestProjects/TestAppWithSlnAndExistingCsprojReferences/App/Program.cs b/TestAssets/TestProjects/TestAppWithSlnAndExistingCsprojReferences/App/Program.cs index abb853a4a..b71a6fdb4 100644 --- a/TestAssets/TestProjects/TestAppWithSlnAndExistingCsprojReferences/App/Program.cs +++ b/TestAssets/TestProjects/TestAppWithSlnAndExistingCsprojReferences/App/Program.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; class Program diff --git a/TestAssets/TestProjects/TestAppWithSlnAndExistingCsprojReferences/Lib/Library.cs b/TestAssets/TestProjects/TestAppWithSlnAndExistingCsprojReferences/Lib/Library.cs index 205c42a01..71a4d4832 100644 --- a/TestAssets/TestProjects/TestAppWithSlnAndExistingCsprojReferences/Lib/Library.cs +++ b/TestAssets/TestProjects/TestAppWithSlnAndExistingCsprojReferences/Lib/Library.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; namespace Lib diff --git a/TestAssets/TestProjects/TestAppWithSlnAndExistingCsprojReferencesWithEscapedDirSep/App/Program.cs b/TestAssets/TestProjects/TestAppWithSlnAndExistingCsprojReferencesWithEscapedDirSep/App/Program.cs index abb853a4a..b71a6fdb4 100644 --- a/TestAssets/TestProjects/TestAppWithSlnAndExistingCsprojReferencesWithEscapedDirSep/App/Program.cs +++ b/TestAssets/TestProjects/TestAppWithSlnAndExistingCsprojReferencesWithEscapedDirSep/App/Program.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; class Program diff --git a/TestAssets/TestProjects/TestAppWithSlnAndExistingCsprojReferencesWithEscapedDirSep/Lib/Library.cs b/TestAssets/TestProjects/TestAppWithSlnAndExistingCsprojReferencesWithEscapedDirSep/Lib/Library.cs index 205c42a01..71a4d4832 100644 --- a/TestAssets/TestProjects/TestAppWithSlnAndExistingCsprojReferencesWithEscapedDirSep/Lib/Library.cs +++ b/TestAssets/TestProjects/TestAppWithSlnAndExistingCsprojReferencesWithEscapedDirSep/Lib/Library.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; namespace Lib diff --git a/TestAssets/TestProjects/TestAppWithSlnAndLastCsprojInSubDirToRemove/Program.cs b/TestAssets/TestProjects/TestAppWithSlnAndLastCsprojInSubDirToRemove/Program.cs index abb853a4a..b71a6fdb4 100644 --- a/TestAssets/TestProjects/TestAppWithSlnAndLastCsprojInSubDirToRemove/Program.cs +++ b/TestAssets/TestProjects/TestAppWithSlnAndLastCsprojInSubDirToRemove/Program.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; class Program diff --git a/TestAssets/TestProjects/TestAppWithSlnAndLastCsprojInSubDirToRemove/src/Lib/Library.cs b/TestAssets/TestProjects/TestAppWithSlnAndLastCsprojInSubDirToRemove/src/Lib/Library.cs index 205c42a01..71a4d4832 100644 --- a/TestAssets/TestProjects/TestAppWithSlnAndLastCsprojInSubDirToRemove/src/Lib/Library.cs +++ b/TestAssets/TestProjects/TestAppWithSlnAndLastCsprojInSubDirToRemove/src/Lib/Library.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; namespace Lib diff --git a/TestAssets/TestProjects/TestAppWithSlnAndSolutionFolders/src/App/Program.cs b/TestAssets/TestProjects/TestAppWithSlnAndSolutionFolders/src/App/Program.cs index abb853a4a..b71a6fdb4 100644 --- a/TestAssets/TestProjects/TestAppWithSlnAndSolutionFolders/src/App/Program.cs +++ b/TestAssets/TestProjects/TestAppWithSlnAndSolutionFolders/src/App/Program.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; class Program diff --git a/TestAssets/TestProjects/TestAppWithSlnAndSolutionFolders/src/src/Lib/Library.cs b/TestAssets/TestProjects/TestAppWithSlnAndSolutionFolders/src/src/Lib/Library.cs index 205c42a01..71a4d4832 100644 --- a/TestAssets/TestProjects/TestAppWithSlnAndSolutionFolders/src/src/Lib/Library.cs +++ b/TestAssets/TestProjects/TestAppWithSlnAndSolutionFolders/src/src/Lib/Library.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; namespace Lib diff --git a/TestAssets/TestProjects/TestLibraryWithAnalyzer/Program.cs b/TestAssets/TestProjects/TestLibraryWithAnalyzer/Program.cs index b75e79659..0eeb0eb96 100644 --- a/TestAssets/TestProjects/TestLibraryWithAnalyzer/Program.cs +++ b/TestAssets/TestProjects/TestLibraryWithAnalyzer/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace ConsoleApplication { diff --git a/TestAssets/TestProjects/TestLibraryWithMultipleFrameworks/Program.cs b/TestAssets/TestProjects/TestLibraryWithMultipleFrameworks/Program.cs index bb536dcc4..1b3eb2ea9 100644 --- a/TestAssets/TestProjects/TestLibraryWithMultipleFrameworks/Program.cs +++ b/TestAssets/TestProjects/TestLibraryWithMultipleFrameworks/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; using System.Xml; namespace ConsoleApplication diff --git a/TestAssets/TestProjects/TestLibraryWithTwoFrameworks/Program.cs b/TestAssets/TestProjects/TestLibraryWithTwoFrameworks/Program.cs index f42d679bf..4582f6761 100644 --- a/TestAssets/TestProjects/TestLibraryWithTwoFrameworks/Program.cs +++ b/TestAssets/TestProjects/TestLibraryWithTwoFrameworks/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; using System.Xml; namespace ConsoleApplication diff --git a/TestAssets/TestProjects/VSTestDesktopAndNetCore/Tests.cs b/TestAssets/TestProjects/VSTestDesktopAndNetCore/Tests.cs index cac325ddc..67b494cd5 100644 --- a/TestAssets/TestProjects/VSTestDesktopAndNetCore/Tests.cs +++ b/TestAssets/TestProjects/VSTestDesktopAndNetCore/Tests.cs @@ -1,4 +1,7 @@ -using Microsoft.VisualStudio.TestTools.UnitTesting; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using Microsoft.VisualStudio.TestTools.UnitTesting; namespace TestNamespace { diff --git a/TestAssets/TestProjects/VSTestDotNetCore/Tests.cs b/TestAssets/TestProjects/VSTestDotNetCore/Tests.cs index f7fd311e4..1bd3cb13f 100644 --- a/TestAssets/TestProjects/VSTestDotNetCore/Tests.cs +++ b/TestAssets/TestProjects/VSTestDotNetCore/Tests.cs @@ -1,4 +1,7 @@ -using Microsoft.VisualStudio.TestTools.UnitTesting; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using Microsoft.VisualStudio.TestTools.UnitTesting; namespace TestNamespace { diff --git a/TestAssets/TestProjects/VSTestXunitDesktopAndNetCore/UnitTest1.cs b/TestAssets/TestProjects/VSTestXunitDesktopAndNetCore/UnitTest1.cs index b77a42021..f98bf0fe4 100644 --- a/TestAssets/TestProjects/VSTestXunitDesktopAndNetCore/UnitTest1.cs +++ b/TestAssets/TestProjects/VSTestXunitDesktopAndNetCore/UnitTest1.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using Xunit; diff --git a/TestAssets/TestProjects/VSTestXunitDotNetCore/UnitTest1.cs b/TestAssets/TestProjects/VSTestXunitDotNetCore/UnitTest1.cs index 5ed55618b..6a8094053 100644 --- a/TestAssets/TestProjects/VSTestXunitDotNetCore/UnitTest1.cs +++ b/TestAssets/TestProjects/VSTestXunitDotNetCore/UnitTest1.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using Xunit; diff --git a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Controllers/AccountController.cs b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Controllers/AccountController.cs index 035638af9..a6b81482d 100755 --- a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Controllers/AccountController.cs +++ b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Controllers/AccountController.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.Linq; diff --git a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Controllers/HomeController.cs b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Controllers/HomeController.cs index 4b21d0cce..67d139496 100755 --- a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Controllers/HomeController.cs +++ b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Controllers/HomeController.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.Linq; diff --git a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Controllers/ManageController.cs b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Controllers/ManageController.cs index 8d04fe58b..f7ff98504 100755 --- a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Controllers/ManageController.cs +++ b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Controllers/ManageController.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.Linq; diff --git a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Data/ApplicationDbContext.cs b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Data/ApplicationDbContext.cs index 336e6d466..329199667 100755 --- a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Data/ApplicationDbContext.cs +++ b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Data/ApplicationDbContext.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.Linq; diff --git a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Data/Migrations/00000000000000_CreateIdentitySchema.Designer.cs b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Data/Migrations/00000000000000_CreateIdentitySchema.Designer.cs index bb12d2bbb..5262b9296 100755 --- a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Data/Migrations/00000000000000_CreateIdentitySchema.Designer.cs +++ b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Data/Migrations/00000000000000_CreateIdentitySchema.Designer.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; diff --git a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Data/Migrations/00000000000000_CreateIdentitySchema.cs b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Data/Migrations/00000000000000_CreateIdentitySchema.cs index e6f038f8e..751316b28 100755 --- a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Data/Migrations/00000000000000_CreateIdentitySchema.cs +++ b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Data/Migrations/00000000000000_CreateIdentitySchema.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using Microsoft.EntityFrameworkCore.Migrations; diff --git a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Data/Migrations/ApplicationDbContextModelSnapshot.cs b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Data/Migrations/ApplicationDbContextModelSnapshot.cs index cb459319d..54608c041 100755 --- a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Data/Migrations/ApplicationDbContextModelSnapshot.cs +++ b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Data/Migrations/ApplicationDbContextModelSnapshot.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; diff --git a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/AccountViewModels/ExternalLoginConfirmationViewModel.cs b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/AccountViewModels/ExternalLoginConfirmationViewModel.cs index a60894ce8..033c4b789 100755 --- a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/AccountViewModels/ExternalLoginConfirmationViewModel.cs +++ b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/AccountViewModels/ExternalLoginConfirmationViewModel.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; diff --git a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/AccountViewModels/ForgotPasswordViewModel.cs b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/AccountViewModels/ForgotPasswordViewModel.cs index 70fab0c9f..5b026a9f3 100755 --- a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/AccountViewModels/ForgotPasswordViewModel.cs +++ b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/AccountViewModels/ForgotPasswordViewModel.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; diff --git a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/AccountViewModels/LoginViewModel.cs b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/AccountViewModels/LoginViewModel.cs index 7dc974b6b..ae17051ab 100755 --- a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/AccountViewModels/LoginViewModel.cs +++ b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/AccountViewModels/LoginViewModel.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; diff --git a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/AccountViewModels/RegisterViewModel.cs b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/AccountViewModels/RegisterViewModel.cs index bc86f2aed..a6d5f1a96 100755 --- a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/AccountViewModels/RegisterViewModel.cs +++ b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/AccountViewModels/RegisterViewModel.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; diff --git a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/AccountViewModels/ResetPasswordViewModel.cs b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/AccountViewModels/ResetPasswordViewModel.cs index 43198b7e5..15c2967f1 100755 --- a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/AccountViewModels/ResetPasswordViewModel.cs +++ b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/AccountViewModels/ResetPasswordViewModel.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; diff --git a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/AccountViewModels/SendCodeViewModel.cs b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/AccountViewModels/SendCodeViewModel.cs index b8ed8f1d4..2f44b9951 100755 --- a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/AccountViewModels/SendCodeViewModel.cs +++ b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/AccountViewModels/SendCodeViewModel.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.Linq; diff --git a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/AccountViewModels/VerifyCodeViewModel.cs b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/AccountViewModels/VerifyCodeViewModel.cs index 394db8c59..c1016c143 100755 --- a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/AccountViewModels/VerifyCodeViewModel.cs +++ b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/AccountViewModels/VerifyCodeViewModel.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; diff --git a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/ApplicationUser.cs b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/ApplicationUser.cs index 4642ef2c3..047cfadd5 100755 --- a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/ApplicationUser.cs +++ b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/ApplicationUser.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.Linq; diff --git a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/ManageViewModels/AddPhoneNumberViewModel.cs b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/ManageViewModels/AddPhoneNumberViewModel.cs index d2baaf7e0..0648e6f44 100755 --- a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/ManageViewModels/AddPhoneNumberViewModel.cs +++ b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/ManageViewModels/AddPhoneNumberViewModel.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; diff --git a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/ManageViewModels/ChangePasswordViewModel.cs b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/ManageViewModels/ChangePasswordViewModel.cs index 421b91a03..51093e9b1 100755 --- a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/ManageViewModels/ChangePasswordViewModel.cs +++ b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/ManageViewModels/ChangePasswordViewModel.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; diff --git a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/ManageViewModels/ConfigureTwoFactorViewModel.cs b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/ManageViewModels/ConfigureTwoFactorViewModel.cs index beb1fd1a4..e56af0ec0 100755 --- a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/ManageViewModels/ConfigureTwoFactorViewModel.cs +++ b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/ManageViewModels/ConfigureTwoFactorViewModel.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.Linq; diff --git a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/ManageViewModels/FactorViewModel.cs b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/ManageViewModels/FactorViewModel.cs index b2d4f9e2f..1b74bc14b 100755 --- a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/ManageViewModels/FactorViewModel.cs +++ b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/ManageViewModels/FactorViewModel.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.Linq; diff --git a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/ManageViewModels/IndexViewModel.cs b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/ManageViewModels/IndexViewModel.cs index e0b69f2df..f97ce4cf4 100755 --- a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/ManageViewModels/IndexViewModel.cs +++ b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/ManageViewModels/IndexViewModel.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.Linq; diff --git a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/ManageViewModels/ManageLoginsViewModel.cs b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/ManageViewModels/ManageLoginsViewModel.cs index fc03a0c27..e2474b126 100755 --- a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/ManageViewModels/ManageLoginsViewModel.cs +++ b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/ManageViewModels/ManageLoginsViewModel.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.Linq; diff --git a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/ManageViewModels/RemoveLoginViewModel.cs b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/ManageViewModels/RemoveLoginViewModel.cs index 394df34a0..031d5421b 100755 --- a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/ManageViewModels/RemoveLoginViewModel.cs +++ b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/ManageViewModels/RemoveLoginViewModel.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; diff --git a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/ManageViewModels/SetPasswordViewModel.cs b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/ManageViewModels/SetPasswordViewModel.cs index 76c1b4bb4..861834531 100755 --- a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/ManageViewModels/SetPasswordViewModel.cs +++ b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/ManageViewModels/SetPasswordViewModel.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; diff --git a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/ManageViewModels/VerifyPhoneNumberViewModel.cs b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/ManageViewModels/VerifyPhoneNumberViewModel.cs index 3c8c08c87..13ee9834e 100755 --- a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/ManageViewModels/VerifyPhoneNumberViewModel.cs +++ b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Models/ManageViewModels/VerifyPhoneNumberViewModel.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; diff --git a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Program.cs b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Program.cs index 74e9753fb..de237aae7 100755 --- a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Program.cs +++ b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Program.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.IO; diff --git a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Services/IEmailSender.cs b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Services/IEmailSender.cs index 08fb35bad..8010a870c 100755 --- a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Services/IEmailSender.cs +++ b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Services/IEmailSender.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.Linq; diff --git a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Services/ISmsSender.cs b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Services/ISmsSender.cs index 8e57a2343..b887b6113 100755 --- a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Services/ISmsSender.cs +++ b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Services/ISmsSender.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.Linq; diff --git a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Services/MessageServices.cs b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Services/MessageServices.cs index de54bfc79..c3ee43128 100755 --- a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Services/MessageServices.cs +++ b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Services/MessageServices.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.Linq; diff --git a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Startup.cs b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Startup.cs index 2fa7ae51b..9280e73f0 100755 --- a/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Startup.cs +++ b/TestAssets/TestProjects/WebAppWithMissingFileInPublishOptions/Startup.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.Linq; diff --git a/build_projects/Microsoft.DotNet.Cli.Build.Framework/CurrentArchitecture.cs b/build_projects/Microsoft.DotNet.Cli.Build.Framework/CurrentArchitecture.cs index 1ec4caa67..a6b90cc63 100644 --- a/build_projects/Microsoft.DotNet.Cli.Build.Framework/CurrentArchitecture.cs +++ b/build_projects/Microsoft.DotNet.Cli.Build.Framework/CurrentArchitecture.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using Microsoft.DotNet.PlatformAbstractions; diff --git a/build_projects/Microsoft.DotNet.Cli.Build.Framework/CurrentPlatform.cs b/build_projects/Microsoft.DotNet.Cli.Build.Framework/CurrentPlatform.cs index a3ffdf470..91bd81d17 100644 --- a/build_projects/Microsoft.DotNet.Cli.Build.Framework/CurrentPlatform.cs +++ b/build_projects/Microsoft.DotNet.Cli.Build.Framework/CurrentPlatform.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Linq; using System.Runtime.InteropServices; diff --git a/build_projects/Microsoft.DotNet.Cli.Build.Framework/Enumerations/BuildArchitecture.cs b/build_projects/Microsoft.DotNet.Cli.Build.Framework/Enumerations/BuildArchitecture.cs index 8719eeb98..d5d50ee6f 100644 --- a/build_projects/Microsoft.DotNet.Cli.Build.Framework/Enumerations/BuildArchitecture.cs +++ b/build_projects/Microsoft.DotNet.Cli.Build.Framework/Enumerations/BuildArchitecture.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + namespace Microsoft.DotNet.Cli.Build.Framework { public enum BuildArchitecture diff --git a/build_projects/Microsoft.DotNet.Cli.Build.Framework/Enumerations/BuildPlatform.cs b/build_projects/Microsoft.DotNet.Cli.Build.Framework/Enumerations/BuildPlatform.cs index 56552dc24..883402dbf 100644 --- a/build_projects/Microsoft.DotNet.Cli.Build.Framework/Enumerations/BuildPlatform.cs +++ b/build_projects/Microsoft.DotNet.Cli.Build.Framework/Enumerations/BuildPlatform.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + namespace Microsoft.DotNet.Cli.Build.Framework { public enum BuildPlatform diff --git a/build_projects/dotnet-cli-build/SetBlobPropertiesBasedOnFileTypeTask.cs b/build_projects/dotnet-cli-build/SetBlobPropertiesBasedOnFileTypeTask.cs index 0dd295da8..d4caddc04 100644 --- a/build_projects/dotnet-cli-build/SetBlobPropertiesBasedOnFileTypeTask.cs +++ b/build_projects/dotnet-cli-build/SetBlobPropertiesBasedOnFileTypeTask.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.IO; diff --git a/build_projects/shared-build-targets-utils/BuildFailureException.cs b/build_projects/shared-build-targets-utils/BuildFailureException.cs index ea2c4caf2..56a9aa31e 100644 --- a/build_projects/shared-build-targets-utils/BuildFailureException.cs +++ b/build_projects/shared-build-targets-utils/BuildFailureException.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace Microsoft.DotNet.Cli.Build { diff --git a/build_projects/shared-build-targets-utils/Publishing/AzurePublisher.cs b/build_projects/shared-build-targets-utils/Publishing/AzurePublisher.cs index ff102bf0d..1f1047644 100644 --- a/build_projects/shared-build-targets-utils/Publishing/AzurePublisher.cs +++ b/build_projects/shared-build-targets-utils/Publishing/AzurePublisher.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.Diagnostics; @@ -44,7 +47,7 @@ namespace Microsoft.DotNet.Cli.Build private CloudBlobContainer GetDotnetBlobContainer(string connectionString, string containerName) { CloudStorageAccount storageAccount = CloudStorageAccount.Parse(connectionString); - + return GetDotnetBlobContainer(storageAccount, containerName); } @@ -58,7 +61,7 @@ namespace Microsoft.DotNet.Cli.Build private CloudBlobContainer GetDotnetBlobContainer(CloudStorageAccount storageAccount, string containerName) { CloudBlobClient blobClient = storageAccount.CreateCloudBlobClient(); - + return blobClient.GetContainerReference(containerName); } diff --git a/build_projects/shared-build-targets-utils/Utils/BuildVersion.cs b/build_projects/shared-build-targets-utils/Utils/BuildVersion.cs index 9d056b010..34b5e122e 100644 --- a/build_projects/shared-build-targets-utils/Utils/BuildVersion.cs +++ b/build_projects/shared-build-targets-utils/Utils/BuildVersion.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System.Collections.Generic; namespace Microsoft.DotNet.Cli.Build { diff --git a/build_projects/shared-build-targets-utils/Utils/Dirs.cs b/build_projects/shared-build-targets-utils/Utils/Dirs.cs index 91b41d2d8..a22f2b59c 100644 --- a/build_projects/shared-build-targets-utils/Utils/Dirs.cs +++ b/build_projects/shared-build-targets-utils/Utils/Dirs.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; using System.IO; using System.Runtime.InteropServices; using Microsoft.DotNet.PlatformAbstractions; diff --git a/build_projects/shared-build-targets-utils/Utils/EnvVars.cs b/build_projects/shared-build-targets-utils/Utils/EnvVars.cs index b5d45ada5..220a694af 100644 --- a/build_projects/shared-build-targets-utils/Utils/EnvVars.cs +++ b/build_projects/shared-build-targets-utils/Utils/EnvVars.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; using Microsoft.DotNet.Cli.Build.Framework; namespace Microsoft.DotNet.Cli.Build diff --git a/build_projects/shared-build-targets-utils/Utils/FS.cs b/build_projects/shared-build-targets-utils/Utils/FS.cs index 132ca968a..68879fef2 100644 --- a/build_projects/shared-build-targets-utils/Utils/FS.cs +++ b/build_projects/shared-build-targets-utils/Utils/FS.cs @@ -1,4 +1,7 @@ -using System.IO; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System.IO; using System.Runtime.InteropServices; using System; diff --git a/build_projects/shared-build-targets-utils/Utils/PublishMutationUtilties.cs b/build_projects/shared-build-targets-utils/Utils/PublishMutationUtilties.cs index ccf17f9aa..7ea8e8e61 100644 --- a/build_projects/shared-build-targets-utils/Utils/PublishMutationUtilties.cs +++ b/build_projects/shared-build-targets-utils/Utils/PublishMutationUtilties.cs @@ -1,4 +1,7 @@ -using Microsoft.DotNet.Cli.Build.Framework; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using Microsoft.DotNet.Cli.Build.Framework; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; diff --git a/build_projects/shared-build-targets-utils/Utils/Utils.cs b/build_projects/shared-build-targets-utils/Utils/Utils.cs index e23d08bcf..2d105c9e9 100644 --- a/build_projects/shared-build-targets-utils/Utils/Utils.cs +++ b/build_projects/shared-build-targets-utils/Utils/Utils.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; using System.IO; using System.Runtime.InteropServices; using System.Security.Cryptography; diff --git a/build_projects/shared-build-targets-utils/Utils/Version.cs b/build_projects/shared-build-targets-utils/Utils/Version.cs index def18eda2..cc2ec209b 100644 --- a/build_projects/shared-build-targets-utils/Utils/Version.cs +++ b/build_projects/shared-build-targets-utils/Utils/Version.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + namespace Microsoft.DotNet.Cli.Build { public class Version diff --git a/build_projects/shared-build-targets-utils/VersionRepoUpdater.cs b/build_projects/shared-build-targets-utils/VersionRepoUpdater.cs index f1906776d..69734ce65 100644 --- a/build_projects/shared-build-targets-utils/VersionRepoUpdater.cs +++ b/build_projects/shared-build-targets-utils/VersionRepoUpdater.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; using System.Collections.Generic; using System.IO; using System.Linq; diff --git a/src/Microsoft.DotNet.Archive/Properties/AssemblyInfo.cs b/src/Microsoft.DotNet.Archive/Properties/AssemblyInfo.cs index bd44bced5..110018e7f 100644 --- a/src/Microsoft.DotNet.Archive/Properties/AssemblyInfo.cs +++ b/src/Microsoft.DotNet.Archive/Properties/AssemblyInfo.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System.Reflection; [assembly: AssemblyMetadataAttribute("Serviceable", "True")] diff --git a/src/Microsoft.DotNet.Cli.Sln.Internal/LocalizableStrings.cs b/src/Microsoft.DotNet.Cli.Sln.Internal/LocalizableStrings.cs index 3e696ecde..f340f9373 100644 --- a/src/Microsoft.DotNet.Cli.Sln.Internal/LocalizableStrings.cs +++ b/src/Microsoft.DotNet.Cli.Sln.Internal/LocalizableStrings.cs @@ -1,4 +1,7 @@ -namespace Microsoft.DotNet.Cli.Sln.Internal +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +namespace Microsoft.DotNet.Cli.Sln.Internal { internal class LocalizableStrings { diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/AbstractPathBasedCommandResolver.cs b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/AbstractPathBasedCommandResolver.cs index a9949d26a..396083fbc 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/AbstractPathBasedCommandResolver.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/AbstractPathBasedCommandResolver.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; namespace Microsoft.DotNet.Cli.Utils { diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/AppBaseCommandResolver.cs b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/AppBaseCommandResolver.cs index 2eccd3de2..85192dc29 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/AppBaseCommandResolver.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/AppBaseCommandResolver.cs @@ -1,4 +1,7 @@ -using Microsoft.DotNet.PlatformAbstractions; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using Microsoft.DotNet.PlatformAbstractions; namespace Microsoft.DotNet.Cli.Utils { diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/AppBaseDllCommandResolver.cs b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/AppBaseDllCommandResolver.cs index eb495c103..95310fc8e 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/AppBaseDllCommandResolver.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/AppBaseDllCommandResolver.cs @@ -1,4 +1,7 @@ -using System.IO; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System.IO; using System.Linq; using Microsoft.DotNet.PlatformAbstractions; diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/CommandResolutionStrategy.cs b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/CommandResolutionStrategy.cs index c414defc0..da52bf31b 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/CommandResolutionStrategy.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/CommandResolutionStrategy.cs @@ -1,4 +1,7 @@ -namespace Microsoft.DotNet.Cli.Utils +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +namespace Microsoft.DotNet.Cli.Utils { public enum CommandResolutionStrategy { diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/CommandResolverArguments.cs b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/CommandResolverArguments.cs index dca62db0a..2658dea5e 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/CommandResolverArguments.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/CommandResolverArguments.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System.Collections.Generic; using NuGet.Frameworks; namespace Microsoft.DotNet.Cli.Utils diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/CompositeCommandResolver.cs b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/CompositeCommandResolver.cs index dfaa4685f..35a1ee041 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/CompositeCommandResolver.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/CompositeCommandResolver.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System.Collections.Generic; namespace Microsoft.DotNet.Cli.Utils diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/DefaultCommandResolverPolicy.cs b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/DefaultCommandResolverPolicy.cs index afb15dd64..d8a2c464b 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/DefaultCommandResolverPolicy.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/DefaultCommandResolverPolicy.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using Microsoft.DotNet.PlatformAbstractions; namespace Microsoft.DotNet.Cli.Utils diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/DepsJsonCommandResolver.cs b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/DepsJsonCommandResolver.cs index 201a3eecd..387dfc28f 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/DepsJsonCommandResolver.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/DepsJsonCommandResolver.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.IO; diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/GenericPlatformCommandSpecFactory.cs b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/GenericPlatformCommandSpecFactory.cs index 9472eb67c..f190699a0 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/GenericPlatformCommandSpecFactory.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/GenericPlatformCommandSpecFactory.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System.Collections.Generic; namespace Microsoft.DotNet.Cli.Utils diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/ICommandResolver.cs b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/ICommandResolver.cs index 363893d88..e3b05842f 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/ICommandResolver.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/ICommandResolver.cs @@ -1,4 +1,7 @@ -namespace Microsoft.DotNet.Cli.Utils +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +namespace Microsoft.DotNet.Cli.Utils { public interface ICommandResolver { diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/ICommandResolverPolicy.cs b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/ICommandResolverPolicy.cs index da3a76a52..a38b32605 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/ICommandResolverPolicy.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/ICommandResolverPolicy.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + namespace Microsoft.DotNet.Cli.Utils { public interface ICommandResolverPolicy diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/IPackagedCommandSpecFactory.cs b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/IPackagedCommandSpecFactory.cs index becf5b74f..f3f4b5eda 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/IPackagedCommandSpecFactory.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/IPackagedCommandSpecFactory.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System.Collections.Generic; using NuGet.ProjectModel; @@ -14,6 +17,6 @@ namespace Microsoft.DotNet.Cli.Utils CommandResolutionStrategy commandResolutionStrategy, string depsFilePath, string runtimeConfigPath); - + } } diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/IPlatformCommandSpecFactory.cs b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/IPlatformCommandSpecFactory.cs index 3748a9131..f91877bcf 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/IPlatformCommandSpecFactory.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/IPlatformCommandSpecFactory.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System.Collections.Generic; namespace Microsoft.DotNet.Cli.Utils diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/MuxerCommandResolver.cs b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/MuxerCommandResolver.cs index 132efca13..a61a0c4d7 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/MuxerCommandResolver.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/MuxerCommandResolver.cs @@ -1,4 +1,7 @@ -namespace Microsoft.DotNet.Cli.Utils +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +namespace Microsoft.DotNet.Cli.Utils { public class MuxerCommandResolver : ICommandResolver { diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/OutputPathCommandResolver.cs b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/OutputPathCommandResolver.cs index e6f20a660..76f492420 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/OutputPathCommandResolver.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/OutputPathCommandResolver.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System.Collections.Generic; using System.IO; using Microsoft.DotNet.Cli.Utils; using NuGet.Frameworks; @@ -42,7 +45,7 @@ namespace Microsoft.DotNet.Cli.Utils string buildBasePath) { var projectFactory = new ProjectFactory(_environment); - + var project = projectFactory.GetProject( projectDirectory, framework, @@ -66,7 +69,7 @@ namespace Microsoft.DotNet.Cli.Utils return _environment.GetCommandPathFromRootPath(buildOutputPath, commandName); } - + internal override CommandResolutionStrategy GetCommandResolutionStrategy() { return CommandResolutionStrategy.OutputPath; diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/PackagedCommandSpecFactory.cs b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/PackagedCommandSpecFactory.cs index 7a0a4a0cf..ca3ce324a 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/PackagedCommandSpecFactory.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/PackagedCommandSpecFactory.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; using System.Collections.Generic; using System.IO; using System.Linq; @@ -47,7 +50,7 @@ namespace Microsoft.DotNet.Cli.Utils return null; } - + var commandPath = GetCommandFilePath(nugetPackagesRoot, toolLibrary, toolAssembly); if (!File.Exists(commandPath)) @@ -61,9 +64,9 @@ namespace Microsoft.DotNet.Cli.Utils } return CreateCommandSpecWrappingWithMuxerIfDll( - commandPath, - commandArguments, - depsFilePath, + commandPath, + commandArguments, + depsFilePath, commandResolutionStrategy, nugetPackagesRoot, runtimeConfigPath); @@ -85,8 +88,8 @@ namespace Microsoft.DotNet.Cli.Utils } private CommandSpec CreateCommandSpecWrappingWithMuxerIfDll( - string commandPath, - IEnumerable commandArguments, + string commandPath, + IEnumerable commandArguments, string depsFilePath, CommandResolutionStrategy commandResolutionStrategy, string nugetPackagesRoot, @@ -97,20 +100,20 @@ namespace Microsoft.DotNet.Cli.Utils if (commandExtension == FileNameSuffixes.DotNet.DynamicLib) { return CreatePackageCommandSpecUsingMuxer( - commandPath, - commandArguments, - depsFilePath, + commandPath, + commandArguments, + depsFilePath, commandResolutionStrategy, nugetPackagesRoot, runtimeConfigPath); } - + return CreateCommandSpec(commandPath, commandArguments, commandResolutionStrategy); } private CommandSpec CreatePackageCommandSpecUsingMuxer( - string commandPath, - IEnumerable commandArguments, + string commandPath, + IEnumerable commandArguments, string depsFilePath, CommandResolutionStrategy commandResolutionStrategy, string nugetPackagesRoot, @@ -134,7 +137,7 @@ namespace Microsoft.DotNet.Cli.Utils arguments.Add("--runtimeconfig"); arguments.Add(runtimeConfigPath); } - + if (depsFilePath != null) { arguments.Add("--depsfile"); @@ -156,7 +159,7 @@ namespace Microsoft.DotNet.Cli.Utils } private CommandSpec CreateCommandSpec( - string commandPath, + string commandPath, IEnumerable commandArguments, CommandResolutionStrategy commandResolutionStrategy) { diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/PackagedCommandSpecFactoryWithCliRuntime.cs b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/PackagedCommandSpecFactoryWithCliRuntime.cs index 212baf607..a081bcd30 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/PackagedCommandSpecFactoryWithCliRuntime.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/PackagedCommandSpecFactoryWithCliRuntime.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.IO; diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/PathCommandResolver.cs b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/PathCommandResolver.cs index 1a263d820..cf36ac00c 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/PathCommandResolver.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/PathCommandResolver.cs @@ -1,4 +1,7 @@ -namespace Microsoft.DotNet.Cli.Utils +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +namespace Microsoft.DotNet.Cli.Utils { public class PathCommandResolver : AbstractPathBasedCommandResolver { diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/PathCommandResolverPolicy.cs b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/PathCommandResolverPolicy.cs index 874c79639..40a5b3787 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/PathCommandResolverPolicy.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/PathCommandResolverPolicy.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using Microsoft.DotNet.PlatformAbstractions; namespace Microsoft.DotNet.Cli.Utils diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/ProjectDependenciesCommandResolver.cs b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/ProjectDependenciesCommandResolver.cs index 600317e3f..9c1e97e5b 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/ProjectDependenciesCommandResolver.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/ProjectDependenciesCommandResolver.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.IO; diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/ProjectPathCommandResolver.cs b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/ProjectPathCommandResolver.cs index 720e406a3..4ace64660 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/ProjectPathCommandResolver.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/ProjectPathCommandResolver.cs @@ -1,4 +1,7 @@ -namespace Microsoft.DotNet.Cli.Utils +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +namespace Microsoft.DotNet.Cli.Utils { public class ProjectPathCommandResolver : AbstractPathBasedCommandResolver { diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/RootedCommandResolver.cs b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/RootedCommandResolver.cs index d7dac8b6c..b80848c5f 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/RootedCommandResolver.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/RootedCommandResolver.cs @@ -1,4 +1,7 @@ -using System.IO; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System.IO; namespace Microsoft.DotNet.Cli.Utils { diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/ScriptCommandResolverPolicy.cs b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/ScriptCommandResolverPolicy.cs index 887d24aea..10dafbd10 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/ScriptCommandResolverPolicy.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/ScriptCommandResolverPolicy.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using Microsoft.DotNet.PlatformAbstractions; namespace Microsoft.DotNet.Cli.Utils diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/WindowsExePreferredCommandSpecFactory.cs b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/WindowsExePreferredCommandSpecFactory.cs index 4619f5bea..7815c77f0 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandResolution/WindowsExePreferredCommandSpecFactory.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandResolution/WindowsExePreferredCommandSpecFactory.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; using System.Collections.Generic; using System.IO; using System.Linq; diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandResolver.cs b/src/Microsoft.DotNet.Cli.Utils/CommandResolver.cs index a740278b3..2759550d5 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandResolver.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandResolver.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System.Collections.Generic; using System.IO; using NuGet.Frameworks; diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandSpec.cs b/src/Microsoft.DotNet.Cli.Utils/CommandSpec.cs index 75ab4e500..4847f2d7d 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandSpec.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandSpec.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System.Collections.Generic; namespace Microsoft.DotNet.Cli.Utils diff --git a/src/Microsoft.DotNet.Cli.Utils/CommandUnknownException.cs b/src/Microsoft.DotNet.Cli.Utils/CommandUnknownException.cs index ea6d91a59..1b943f14c 100644 --- a/src/Microsoft.DotNet.Cli.Utils/CommandUnknownException.cs +++ b/src/Microsoft.DotNet.Cli.Utils/CommandUnknownException.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace Microsoft.DotNet.Cli.Utils { diff --git a/src/Microsoft.DotNet.Cli.Utils/Env.cs b/src/Microsoft.DotNet.Cli.Utils/Env.cs index 20e9e43b2..6aad6f4c4 100644 --- a/src/Microsoft.DotNet.Cli.Utils/Env.cs +++ b/src/Microsoft.DotNet.Cli.Utils/Env.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System.Collections.Generic; namespace Microsoft.DotNet.Cli.Utils { diff --git a/src/Microsoft.DotNet.Cli.Utils/EnvironmentProvider.cs b/src/Microsoft.DotNet.Cli.Utils/EnvironmentProvider.cs index 2280f8e8b..6c23d4c9e 100644 --- a/src/Microsoft.DotNet.Cli.Utils/EnvironmentProvider.cs +++ b/src/Microsoft.DotNet.Cli.Utils/EnvironmentProvider.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.IO; @@ -27,9 +30,9 @@ namespace Microsoft.DotNet.Cli.Utils return _executableExtensions; } - } + } - private IEnumerable SearchPaths + private IEnumerable SearchPaths { get { diff --git a/src/Microsoft.DotNet.Cli.Utils/FileNameSuffixes.cs b/src/Microsoft.DotNet.Cli.Utils/FileNameSuffixes.cs index ffac77bfe..5bb3fc795 100644 --- a/src/Microsoft.DotNet.Cli.Utils/FileNameSuffixes.cs +++ b/src/Microsoft.DotNet.Cli.Utils/FileNameSuffixes.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using Microsoft.DotNet.PlatformAbstractions; diff --git a/src/Microsoft.DotNet.Cli.Utils/GracefulException.cs b/src/Microsoft.DotNet.Cli.Utils/GracefulException.cs index 3908ea421..50ab33a0b 100644 --- a/src/Microsoft.DotNet.Cli.Utils/GracefulException.cs +++ b/src/Microsoft.DotNet.Cli.Utils/GracefulException.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace Microsoft.DotNet.Cli.Utils { diff --git a/src/Microsoft.DotNet.Cli.Utils/IEnvironmentProvider.cs b/src/Microsoft.DotNet.Cli.Utils/IEnvironmentProvider.cs index 25124153e..43830b6f5 100644 --- a/src/Microsoft.DotNet.Cli.Utils/IEnvironmentProvider.cs +++ b/src/Microsoft.DotNet.Cli.Utils/IEnvironmentProvider.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System.Collections.Generic; namespace Microsoft.DotNet.Cli.Utils diff --git a/src/Microsoft.DotNet.Cli.Utils/LocalizableStrings.cs b/src/Microsoft.DotNet.Cli.Utils/LocalizableStrings.cs index bd40ebf67..6bbcac0ea 100644 --- a/src/Microsoft.DotNet.Cli.Utils/LocalizableStrings.cs +++ b/src/Microsoft.DotNet.Cli.Utils/LocalizableStrings.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + namespace Microsoft.DotNet.Cli.Utils { internal class LocalizableStrings diff --git a/src/Microsoft.DotNet.Cli.Utils/Microsoft.DotNet.Cli.Utils.csproj b/src/Microsoft.DotNet.Cli.Utils/Microsoft.DotNet.Cli.Utils.csproj index 4f73b4c01..4543cc744 100644 --- a/src/Microsoft.DotNet.Cli.Utils/Microsoft.DotNet.Cli.Utils.csproj +++ b/src/Microsoft.DotNet.Cli.Utils/Microsoft.DotNet.Cli.Utils.csproj @@ -1,6 +1,6 @@  - + $(SdkVersion) netstandard1.5;net46 @@ -9,7 +9,7 @@ true true - + @@ -20,9 +20,11 @@ + + diff --git a/src/Microsoft.DotNet.Cli.Utils/Muxer.cs b/src/Microsoft.DotNet.Cli.Utils/Muxer.cs index 700e8daac..e603205bd 100644 --- a/src/Microsoft.DotNet.Cli.Utils/Muxer.cs +++ b/src/Microsoft.DotNet.Cli.Utils/Muxer.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.IO; using System.Reflection; diff --git a/src/Microsoft.DotNet.Cli.Utils/Product.cs b/src/Microsoft.DotNet.Cli.Utils/Product.cs index 4c35c3bd3..023004ce4 100644 --- a/src/Microsoft.DotNet.Cli.Utils/Product.cs +++ b/src/Microsoft.DotNet.Cli.Utils/Product.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System.Reflection; namespace Microsoft.DotNet.Cli.Utils diff --git a/src/Microsoft.DotNet.Cli.Utils/Properties/AssemblyInfo.cs b/src/Microsoft.DotNet.Cli.Utils/Properties/AssemblyInfo.cs index f2b870535..63c302ad3 100644 --- a/src/Microsoft.DotNet.Cli.Utils/Properties/AssemblyInfo.cs +++ b/src/Microsoft.DotNet.Cli.Utils/Properties/AssemblyInfo.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System.Reflection; using System.Runtime.CompilerServices; diff --git a/src/Microsoft.DotNet.Cli.Utils/RuntimeEnvironmentRidExtensions.cs b/src/Microsoft.DotNet.Cli.Utils/RuntimeEnvironmentRidExtensions.cs index 073e1407e..1d695a5de 100644 --- a/src/Microsoft.DotNet.Cli.Utils/RuntimeEnvironmentRidExtensions.cs +++ b/src/Microsoft.DotNet.Cli.Utils/RuntimeEnvironmentRidExtensions.cs @@ -1,84 +1,87 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. -using System; -using System.Collections.Generic; -using Microsoft.DotNet.PlatformAbstractions; - -namespace Microsoft.DotNet.Cli.Utils -{ - // This is to support some legacy stuff. - // dnu restore (and thus dotnet restore) always uses win7-x64 as the Windows restore target, - // so, when picking targets out of the lock file, we need to do version fallback since the - // active RID might be higher than the RID in the lock file. - // - // We should clean this up. Filed #619 to track. - public static class RuntimeEnvironmentRidExtensions - { - // Gets the identfier that is used for restore by default (this is different from the actual RID, but only on Windows) - public static string GetLegacyRestoreRuntimeIdentifier() - { - if (RuntimeEnvironment.OperatingSystemPlatform != Platform.Windows) - { - return RuntimeEnvironment.GetRuntimeIdentifier(); - } - else - { - var arch = RuntimeEnvironment.RuntimeArchitecture.ToLowerInvariant(); - return "win7-" + arch; - } - } - - public static IEnumerable GetAllCandidateRuntimeIdentifiers() - { - return GetAllCandidateRuntimeIdentifiers(null); - } - - public static IEnumerable GetAllCandidateRuntimeIdentifiers(IEnumerable fallbackIdentifiers = null) - { - List result = new List(); - - if (RuntimeEnvironment.OperatingSystemPlatform != Platform.Windows) - { - result.Add(RuntimeEnvironment.GetRuntimeIdentifier()); - } - else - { - var arch = RuntimeEnvironment.RuntimeArchitecture.ToLowerInvariant(); - if (RuntimeEnvironment.OperatingSystemVersion.StartsWith("6.1", StringComparison.Ordinal)) - { - result.Add("win7-" + arch); - } - else if (RuntimeEnvironment.OperatingSystemVersion.StartsWith("6.2", StringComparison.Ordinal)) - { - result.Add("win8-" + arch); - result.Add("win7-" + arch); - } - else if (RuntimeEnvironment.OperatingSystemVersion.StartsWith("6.3", StringComparison.Ordinal)) - { - result.Add("win81-" + arch); - result.Add("win8-" + arch); - result.Add("win7-" + arch); - } - else if (RuntimeEnvironment.OperatingSystemVersion.StartsWith("10.0", StringComparison.Ordinal)) - { - result.Add("win10-" + arch); - result.Add("win81-" + arch); - result.Add("win8-" + arch); - result.Add("win7-" + arch); - } - } - - if (fallbackIdentifiers != null) - { - foreach (string fallbackIdentifier in fallbackIdentifiers) - { - if (!result.Contains(fallbackIdentifier)) - { - result.Add(fallbackIdentifier); - } - } - } - - return result; - } + +using System; +using System.Collections.Generic; +using Microsoft.DotNet.PlatformAbstractions; + +namespace Microsoft.DotNet.Cli.Utils +{ + // This is to support some legacy stuff. + // dnu restore (and thus dotnet restore) always uses win7-x64 as the Windows restore target, + // so, when picking targets out of the lock file, we need to do version fallback since the + // active RID might be higher than the RID in the lock file. + // + // We should clean this up. Filed #619 to track. + public static class RuntimeEnvironmentRidExtensions + { + // Gets the identfier that is used for restore by default (this is different from the actual RID, but only on Windows) + public static string GetLegacyRestoreRuntimeIdentifier() + { + if (RuntimeEnvironment.OperatingSystemPlatform != Platform.Windows) + { + return RuntimeEnvironment.GetRuntimeIdentifier(); + } + else + { + var arch = RuntimeEnvironment.RuntimeArchitecture.ToLowerInvariant(); + return "win7-" + arch; + } + } + + public static IEnumerable GetAllCandidateRuntimeIdentifiers() + { + return GetAllCandidateRuntimeIdentifiers(null); + } + + public static IEnumerable GetAllCandidateRuntimeIdentifiers(IEnumerable fallbackIdentifiers = null) + { + List result = new List(); + + if (RuntimeEnvironment.OperatingSystemPlatform != Platform.Windows) + { + result.Add(RuntimeEnvironment.GetRuntimeIdentifier()); + } + else + { + var arch = RuntimeEnvironment.RuntimeArchitecture.ToLowerInvariant(); + if (RuntimeEnvironment.OperatingSystemVersion.StartsWith("6.1", StringComparison.Ordinal)) + { + result.Add("win7-" + arch); + } + else if (RuntimeEnvironment.OperatingSystemVersion.StartsWith("6.2", StringComparison.Ordinal)) + { + result.Add("win8-" + arch); + result.Add("win7-" + arch); + } + else if (RuntimeEnvironment.OperatingSystemVersion.StartsWith("6.3", StringComparison.Ordinal)) + { + result.Add("win81-" + arch); + result.Add("win8-" + arch); + result.Add("win7-" + arch); + } + else if (RuntimeEnvironment.OperatingSystemVersion.StartsWith("10.0", StringComparison.Ordinal)) + { + result.Add("win10-" + arch); + result.Add("win81-" + arch); + result.Add("win8-" + arch); + result.Add("win7-" + arch); + } + } + + if (fallbackIdentifiers != null) + { + foreach (string fallbackIdentifier in fallbackIdentifiers) + { + if (!result.Contains(fallbackIdentifier)) + { + result.Add(fallbackIdentifier); + } + } + } + + return result; + } } } diff --git a/src/Microsoft.DotNet.Configurer/Properties/Properties.cs b/src/Microsoft.DotNet.Configurer/Properties/Properties.cs index 4d37e5414..9377630bc 100644 --- a/src/Microsoft.DotNet.Configurer/Properties/Properties.cs +++ b/src/Microsoft.DotNet.Configurer/Properties/Properties.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System.Reflection; using System.Runtime.CompilerServices; diff --git a/src/Microsoft.DotNet.InternalAbstractions/Microsoft.DotNet.InternalAbstractions.csproj b/src/Microsoft.DotNet.InternalAbstractions/Microsoft.DotNet.InternalAbstractions.csproj index 3b467313e..a5c6d9d6a 100644 --- a/src/Microsoft.DotNet.InternalAbstractions/Microsoft.DotNet.InternalAbstractions.csproj +++ b/src/Microsoft.DotNet.InternalAbstractions/Microsoft.DotNet.InternalAbstractions.csproj @@ -17,6 +17,7 @@ + diff --git a/src/Microsoft.DotNet.InternalAbstractions/Properties/Properties.cs b/src/Microsoft.DotNet.InternalAbstractions/Properties/Properties.cs index a062d0c47..1ab5c59fd 100644 --- a/src/Microsoft.DotNet.InternalAbstractions/Properties/Properties.cs +++ b/src/Microsoft.DotNet.InternalAbstractions/Properties/Properties.cs @@ -1,4 +1,7 @@ -using System.Reflection; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System.Reflection; using System.Runtime.CompilerServices; [assembly: AssemblyMetadataAttribute("Serviceable", "True")] diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/DirectoryNames.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/DirectoryNames.cs index 2b8e8b7ed..d1f12812f 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/DirectoryNames.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/DirectoryNames.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + namespace Microsoft.DotNet.Internal.ProjectModel { internal static class DirectoryNames diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileNameSuffixes.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileNameSuffixes.cs index ba5fbcd7b..8f880eaf5 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileNameSuffixes.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/FileNameSuffixes.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using Microsoft.DotNet.PlatformAbstractions; diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Graph/ExportFile.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Graph/ExportFile.cs index 30b7bdde8..eae343aa8 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Graph/ExportFile.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Graph/ExportFile.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System.Collections.Generic; using System.Linq; using NuGet.ProjectModel; diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Graph/LockFileExtensions.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Graph/LockFileExtensions.cs index 14ccc88a4..f45ff7e94 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Graph/LockFileExtensions.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Graph/LockFileExtensions.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Linq; using NuGet.ProjectModel; diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Graph/ProjectLibraryDependency.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Graph/ProjectLibraryDependency.cs index 4c0169663..cc9fb10fc 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Graph/ProjectLibraryDependency.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Graph/ProjectLibraryDependency.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using NuGet.LibraryModel; namespace Microsoft.DotNet.Internal.ProjectModel diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/ProjectModelPlatformExtensions.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/ProjectModelPlatformExtensions.cs index b7c826b31..d1aa74050 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/ProjectModelPlatformExtensions.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/ProjectModelPlatformExtensions.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System.Collections.Generic; using System.Linq; using Microsoft.DotNet.Internal.ProjectModel.Compilation; using NuGet.LibraryModel; diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/ProjectReaderSettings.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/ProjectReaderSettings.cs index 101a4b390..ae2016674 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/ProjectReaderSettings.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/ProjectReaderSettings.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; namespace Microsoft.DotNet.Internal.ProjectModel { diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/ResourceFile.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/ResourceFile.cs index 679595df3..1605cde4f 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/ResourceFile.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/ResourceFile.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Resources/CultureInfoCache.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Resources/CultureInfoCache.cs index ac6404a18..7cc2db9e1 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Resources/CultureInfoCache.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Resources/CultureInfoCache.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Utilities/CollectionExtensions.cs b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Utilities/CollectionExtensions.cs index 1344ab101..b9d37016a 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Utilities/CollectionExtensions.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/Microsoft.DotNet.Internal.ProjectModel/Utilities/CollectionExtensions.cs @@ -1,4 +1,7 @@ -using Microsoft.DotNet.Internal.ProjectModel.Compilation; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using Microsoft.DotNet.Internal.ProjectModel.Compilation; using System.Linq; namespace System.Collections.Generic diff --git a/src/Microsoft.DotNet.ProjectJsonMigration/ProjectType.cs b/src/Microsoft.DotNet.ProjectJsonMigration/ProjectType.cs index d21526edb..e42cee05b 100644 --- a/src/Microsoft.DotNet.ProjectJsonMigration/ProjectType.cs +++ b/src/Microsoft.DotNet.ProjectJsonMigration/ProjectType.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + namespace Microsoft.DotNet.ProjectJsonMigration { internal enum ProjectType diff --git a/src/Microsoft.DotNet.TestFramework/Microsoft.DotNet.TestFramework.csproj b/src/Microsoft.DotNet.TestFramework/Microsoft.DotNet.TestFramework.csproj index 31c346024..b4021bad7 100644 --- a/src/Microsoft.DotNet.TestFramework/Microsoft.DotNet.TestFramework.csproj +++ b/src/Microsoft.DotNet.TestFramework/Microsoft.DotNet.TestFramework.csproj @@ -13,9 +13,11 @@ + + diff --git a/src/Microsoft.DotNet.TestFramework/Properties/AssemblyInfo.cs b/src/Microsoft.DotNet.TestFramework/Properties/AssemblyInfo.cs index bd44bced5..110018e7f 100644 --- a/src/Microsoft.DotNet.TestFramework/Properties/AssemblyInfo.cs +++ b/src/Microsoft.DotNet.TestFramework/Properties/AssemblyInfo.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System.Reflection; [assembly: AssemblyMetadataAttribute("Serviceable", "True")] diff --git a/src/dotnet/CommandCreationException.cs b/src/dotnet/CommandCreationException.cs index 2e437dfbb..837b86ec0 100644 --- a/src/dotnet/CommandCreationException.cs +++ b/src/dotnet/CommandCreationException.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; using System.Collections.Generic; using System.Text; diff --git a/src/dotnet/CommandLine/LocalizableStrings.cs b/src/dotnet/CommandLine/LocalizableStrings.cs index efe3169ad..ff01edf1b 100644 --- a/src/dotnet/CommandLine/LocalizableStrings.cs +++ b/src/dotnet/CommandLine/LocalizableStrings.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + namespace Microsoft.DotNet.Cli.CommandLine { internal class LocalizableStrings diff --git a/src/dotnet/ProcessStartInfoExtensions.cs b/src/dotnet/ProcessStartInfoExtensions.cs index 721e0ec55..cb8e0de83 100644 --- a/src/dotnet/ProcessStartInfoExtensions.cs +++ b/src/dotnet/ProcessStartInfoExtensions.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; using System.Diagnostics; namespace Microsoft.DotNet.Cli diff --git a/src/dotnet/Properties/AssemblyInfo.cs b/src/dotnet/Properties/AssemblyInfo.cs index 1684d65c1..17e7262e4 100644 --- a/src/dotnet/Properties/AssemblyInfo.cs +++ b/src/dotnet/Properties/AssemblyInfo.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System.Reflection; using System.Runtime.CompilerServices; diff --git a/src/dotnet/commands/dotnet-build/LocalizableStrings.cs b/src/dotnet/commands/dotnet-build/LocalizableStrings.cs index d35d5f75e..d1f1537e5 100644 --- a/src/dotnet/commands/dotnet-build/LocalizableStrings.cs +++ b/src/dotnet/commands/dotnet-build/LocalizableStrings.cs @@ -1,4 +1,7 @@ -namespace Microsoft.DotNet.Tools.Build +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +namespace Microsoft.DotNet.Tools.Build { internal class LocalizableStrings { diff --git a/src/dotnet/commands/dotnet-cache/LocalizableStrings.cs b/src/dotnet/commands/dotnet-cache/LocalizableStrings.cs index 1d0e50970..677ae5618 100644 --- a/src/dotnet/commands/dotnet-cache/LocalizableStrings.cs +++ b/src/dotnet/commands/dotnet-cache/LocalizableStrings.cs @@ -1,4 +1,7 @@ -namespace Microsoft.DotNet.Tools.Cache +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +namespace Microsoft.DotNet.Tools.Cache { internal class LocalizableStrings { @@ -21,7 +24,7 @@ public const string OutputOption = "OUTPUT_DIR"; public const string OutputOptionDescription = "Output directory in which to cache the given assemblies."; - + public const string FrameworkVersionOption = "FrameworkVersion"; public const string FrameworkVersionOptionDescription = "The Microsoft.NETCore.App package version that will be used to run the assemblies."; diff --git a/src/dotnet/commands/dotnet-clean/LocalizableStrings.cs b/src/dotnet/commands/dotnet-clean/LocalizableStrings.cs index 9ca0883ff..0d5a95f84 100644 --- a/src/dotnet/commands/dotnet-clean/LocalizableStrings.cs +++ b/src/dotnet/commands/dotnet-clean/LocalizableStrings.cs @@ -1,4 +1,7 @@ -namespace Microsoft.DotNet.Tools.Clean +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +namespace Microsoft.DotNet.Tools.Clean { internal class LocalizableStrings { diff --git a/src/dotnet/commands/dotnet-help/LocalizableStrings.cs b/src/dotnet/commands/dotnet-help/LocalizableStrings.cs index d6ba17f6e..04a938ac8 100644 --- a/src/dotnet/commands/dotnet-help/LocalizableStrings.cs +++ b/src/dotnet/commands/dotnet-help/LocalizableStrings.cs @@ -1,4 +1,7 @@ -namespace Microsoft.DotNet.Tools.Help +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +namespace Microsoft.DotNet.Tools.Help { internal class LocalizableStrings { diff --git a/src/dotnet/commands/dotnet-migrate/LocalizableStrings.cs b/src/dotnet/commands/dotnet-migrate/LocalizableStrings.cs index f424fe939..08ad32f28 100644 --- a/src/dotnet/commands/dotnet-migrate/LocalizableStrings.cs +++ b/src/dotnet/commands/dotnet-migrate/LocalizableStrings.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + namespace Microsoft.DotNet.Tools.Migrate { internal class LocalizableStrings @@ -7,7 +10,7 @@ namespace Microsoft.DotNet.Tools.Migrate public const string AppDescription = "Command used to migrate project.json projects to msbuild"; public const string CmdProjectArgument = "PROJECT_JSON/GLOBAL_JSON/SOLUTION_FILE/PROJECT_DIR"; - public const string CmdProjectArgumentDescription = + public const string CmdProjectArgumentDescription = @"The path to one of the following: - a project.json file to migrate. - a global.json file, it will migrate the folders specified in global.json. diff --git a/src/dotnet/commands/dotnet-migrate/ProjectRootElementExtensions.cs b/src/dotnet/commands/dotnet-migrate/ProjectRootElementExtensions.cs index 1441eb9ef..9c5ccf8f7 100644 --- a/src/dotnet/commands/dotnet-migrate/ProjectRootElementExtensions.cs +++ b/src/dotnet/commands/dotnet-migrate/ProjectRootElementExtensions.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System.Linq; using Microsoft.Build.Construction; using Microsoft.DotNet.ProjectJsonMigration; diff --git a/src/dotnet/commands/dotnet-migrate/TemporaryDotnetNewTemplateProject.cs b/src/dotnet/commands/dotnet-migrate/TemporaryDotnetNewTemplateProject.cs index 41a008e1d..b1a82e5b5 100644 --- a/src/dotnet/commands/dotnet-migrate/TemporaryDotnetNewTemplateProject.cs +++ b/src/dotnet/commands/dotnet-migrate/TemporaryDotnetNewTemplateProject.cs @@ -1,4 +1,7 @@ -using Microsoft.Build.Construction; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using Microsoft.Build.Construction; using Microsoft.DotNet.Cli; using System; using System.Collections.Generic; diff --git a/src/dotnet/commands/dotnet-msbuild/LocalizableStrings.cs b/src/dotnet/commands/dotnet-msbuild/LocalizableStrings.cs index 8ca83c8b8..dae4177ba 100644 --- a/src/dotnet/commands/dotnet-msbuild/LocalizableStrings.cs +++ b/src/dotnet/commands/dotnet-msbuild/LocalizableStrings.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + namespace Microsoft.DotNet.Tools.MSBuild { internal class LocalizableStrings diff --git a/src/dotnet/commands/dotnet-pack/LocalizableStrings.cs b/src/dotnet/commands/dotnet-pack/LocalizableStrings.cs index b315e70c4..542fc129b 100644 --- a/src/dotnet/commands/dotnet-pack/LocalizableStrings.cs +++ b/src/dotnet/commands/dotnet-pack/LocalizableStrings.cs @@ -1,4 +1,7 @@ -namespace Microsoft.DotNet.Tools.Pack +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +namespace Microsoft.DotNet.Tools.Pack { internal class LocalizableStrings { diff --git a/src/dotnet/commands/dotnet-publish/LocalizableStrings.cs b/src/dotnet/commands/dotnet-publish/LocalizableStrings.cs index c62500216..6b47683bb 100644 --- a/src/dotnet/commands/dotnet-publish/LocalizableStrings.cs +++ b/src/dotnet/commands/dotnet-publish/LocalizableStrings.cs @@ -1,4 +1,7 @@ -namespace Microsoft.DotNet.Tools.Publish +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +namespace Microsoft.DotNet.Tools.Publish { internal class LocalizableStrings { diff --git a/src/dotnet/commands/dotnet-restore-projectjson/NuGet3.cs b/src/dotnet/commands/dotnet-restore-projectjson/NuGet3.cs index 4da814e55..61bacc5fd 100644 --- a/src/dotnet/commands/dotnet-restore-projectjson/NuGet3.cs +++ b/src/dotnet/commands/dotnet-restore-projectjson/NuGet3.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.Linq; diff --git a/src/dotnet/commands/dotnet-restore/LocalizableStrings.cs b/src/dotnet/commands/dotnet-restore/LocalizableStrings.cs index ac3d8b115..bf364d895 100644 --- a/src/dotnet/commands/dotnet-restore/LocalizableStrings.cs +++ b/src/dotnet/commands/dotnet-restore/LocalizableStrings.cs @@ -1,4 +1,7 @@ -namespace Microsoft.DotNet.Tools.Restore +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +namespace Microsoft.DotNet.Tools.Restore { internal class LocalizableStrings { diff --git a/src/dotnet/commands/dotnet-run/LocalizableStrings.cs b/src/dotnet/commands/dotnet-run/LocalizableStrings.cs index cbd0d303c..6ecf87779 100644 --- a/src/dotnet/commands/dotnet-run/LocalizableStrings.cs +++ b/src/dotnet/commands/dotnet-run/LocalizableStrings.cs @@ -1,4 +1,7 @@ -namespace Microsoft.DotNet.Tools.Run +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +namespace Microsoft.DotNet.Tools.Run { internal class LocalizableStrings { diff --git a/src/dotnet/commands/dotnet-test/LocalizableStrings.cs b/src/dotnet/commands/dotnet-test/LocalizableStrings.cs index 418bb31f0..def80ab0a 100644 --- a/src/dotnet/commands/dotnet-test/LocalizableStrings.cs +++ b/src/dotnet/commands/dotnet-test/LocalizableStrings.cs @@ -1,4 +1,7 @@ -namespace Microsoft.DotNet.Tools.Test +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +namespace Microsoft.DotNet.Tools.Test { internal class LocalizableStrings { @@ -31,7 +34,7 @@ public const string CmdLoggerOption = "LoggerUri/FriendlyName"; - public const string CmdLoggerDescription = @"Specify a logger for test results. + public const string CmdLoggerDescription = @"Specify a logger for test results. Example: --logger ""trx[;LogFileName=]"""; public const string CmdConfiguration = "CONFIGURATION"; diff --git a/test/Installer/Microsoft.DotNet.Cli.Msi.Tests/InstallFixture.cs b/test/Installer/Microsoft.DotNet.Cli.Msi.Tests/InstallFixture.cs index d42441477..e8153080c 100644 --- a/test/Installer/Microsoft.DotNet.Cli.Msi.Tests/InstallFixture.cs +++ b/test/Installer/Microsoft.DotNet.Cli.Msi.Tests/InstallFixture.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; using Xunit; namespace Dotnet.Cli.Msi.Tests diff --git a/test/Installer/Microsoft.DotNet.Cli.Msi.Tests/InstallationTests.cs b/test/Installer/Microsoft.DotNet.Cli.Msi.Tests/InstallationTests.cs index 8bbff333b..57333b901 100644 --- a/test/Installer/Microsoft.DotNet.Cli.Msi.Tests/InstallationTests.cs +++ b/test/Installer/Microsoft.DotNet.Cli.Msi.Tests/InstallationTests.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; using System.IO; using Xunit; diff --git a/test/Installer/Microsoft.DotNet.Cli.Msi.Tests/MsiManager.cs b/test/Installer/Microsoft.DotNet.Cli.Msi.Tests/MsiManager.cs index 9aeedc6ad..15ae4b707 100644 --- a/test/Installer/Microsoft.DotNet.Cli.Msi.Tests/MsiManager.cs +++ b/test/Installer/Microsoft.DotNet.Cli.Msi.Tests/MsiManager.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; using System.Diagnostics; using System.IO; using System.Linq; diff --git a/test/Installer/Microsoft.DotNet.Cli.Msi.Tests/PostInstallTests.cs b/test/Installer/Microsoft.DotNet.Cli.Msi.Tests/PostInstallTests.cs index f637973e5..604653b68 100644 --- a/test/Installer/Microsoft.DotNet.Cli.Msi.Tests/PostInstallTests.cs +++ b/test/Installer/Microsoft.DotNet.Cli.Msi.Tests/PostInstallTests.cs @@ -1,4 +1,7 @@ -using Microsoft.Win32; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using Microsoft.Win32; using Xunit; namespace Dotnet.Cli.Msi.Tests diff --git a/test/Installer/Microsoft.DotNet.Cli.Msi.Tests/PostUninstallTests.cs b/test/Installer/Microsoft.DotNet.Cli.Msi.Tests/PostUninstallTests.cs index 0b71f5129..2c5957f1e 100644 --- a/test/Installer/Microsoft.DotNet.Cli.Msi.Tests/PostUninstallTests.cs +++ b/test/Installer/Microsoft.DotNet.Cli.Msi.Tests/PostUninstallTests.cs @@ -1,4 +1,7 @@ -using Microsoft.Win32; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using Microsoft.Win32; using Xunit; namespace Dotnet.Cli.Msi.Tests diff --git a/test/Installer/Microsoft.DotNet.Cli.Msi.Tests/Properties/AssemblyInfo.cs b/test/Installer/Microsoft.DotNet.Cli.Msi.Tests/Properties/AssemblyInfo.cs index 28844fb0a..801ed17c2 100644 --- a/test/Installer/Microsoft.DotNet.Cli.Msi.Tests/Properties/AssemblyInfo.cs +++ b/test/Installer/Microsoft.DotNet.Cli.Msi.Tests/Properties/AssemblyInfo.cs @@ -1,8 +1,11 @@ -using System.Reflection; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -// General Information about an assembly is controlled through the following +// General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Microsoft.DotNet.Cli.Msi.Tests")] @@ -14,8 +17,8 @@ using System.Runtime.InteropServices; [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. [assembly: ComVisible(false)] @@ -25,11 +28,11 @@ using System.Runtime.InteropServices; // Version information for an assembly consists of the following four values: // // Major Version -// Minor Version +// Minor Version // Build Number // Revision // -// You can specify all the values or you can default the Build and Revision Numbers +// You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("1.0.0.0")] diff --git a/test/Installer/Microsoft.DotNet.Cli.Msi.Tests/Utils.cs b/test/Installer/Microsoft.DotNet.Cli.Msi.Tests/Utils.cs index 82085fb4f..8a11be0ef 100644 --- a/test/Installer/Microsoft.DotNet.Cli.Msi.Tests/Utils.cs +++ b/test/Installer/Microsoft.DotNet.Cli.Msi.Tests/Utils.cs @@ -1,4 +1,7 @@ -using System.IO; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System.IO; using System.Linq; using Microsoft.Win32; @@ -16,7 +19,7 @@ namespace Dotnet.Cli.Msi.Tests internal static string GetCurrentPathEnvironmentVariable() { - var hklm = RegistryKey.OpenBaseKey(RegistryHive.LocalMachine, RegistryView.Registry32); + var hklm = RegistryKey.OpenBaseKey(RegistryHive.LocalMachine, RegistryView.Registry32); var regKey = hklm.OpenSubKey(@"SYSTEM\CurrentControlSet\Control\Session Manager\Environment", false); return (string)regKey.GetValue("Path"); diff --git a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/GivenAProjectMigrator.cs b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/GivenAProjectMigrator.cs index 9810e19cb..f61bebe43 100644 --- a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/GivenAProjectMigrator.cs +++ b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/GivenAProjectMigrator.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; using System.Collections.Generic; using System.IO; using System.Linq; diff --git a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/GivenMSBuildExtensions.cs b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/GivenMSBuildExtensions.cs index 6a9069aef..70ed3f562 100644 --- a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/GivenMSBuildExtensions.cs +++ b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/GivenMSBuildExtensions.cs @@ -1,4 +1,7 @@ -using System.Linq; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System.Linq; using FluentAssertions; using Microsoft.Build.Construction; using Xunit; diff --git a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/ProjectJsonBuilder.cs b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/ProjectJsonBuilder.cs index c720a6416..ccf82f40a 100644 --- a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/ProjectJsonBuilder.cs +++ b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/ProjectJsonBuilder.cs @@ -1,4 +1,7 @@ -using Microsoft.DotNet.TestFramework; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using Microsoft.DotNet.TestFramework; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; @@ -17,7 +20,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests private JObject _projectJson; private bool _baseDefined = false; - + public ProjectJsonBuilder(TestAssets testAssets) { _testAssets = testAssets; @@ -58,7 +61,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests } public ProjectJsonBuilder FromEmptyBase() - { + { SetBase(new JObject()); return this; } diff --git a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigrateBuildOptions.cs b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigrateBuildOptions.cs index cdf24ddaa..d888ea3fd 100644 --- a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigrateBuildOptions.cs +++ b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigrateBuildOptions.cs @@ -1,4 +1,7 @@ -using Microsoft.Build.Construction; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using Microsoft.Build.Construction; using Microsoft.DotNet.ProjectJsonMigration; using Microsoft.DotNet.Internal.ProjectModel; using Microsoft.DotNet.Tools.Test.Utilities; @@ -34,7 +37,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests mockProj.Items.Count(i => i.ItemType.Equals("Compile", StringComparison.Ordinal)) .Should().Be(1); - mockProj.Items.Count(i => + mockProj.Items.Count(i => i.ItemType.Equals("Compile", StringComparison.Ordinal) && i.Remove.Equals("node_modules")) .Should().Be(1); @@ -460,7 +463,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests private void MigratingGroupIncludeExcludePopulatesAppropriateProjectItemElement( string group, string itemName, - int expectedNumberOfCompileItems, + int expectedNumberOfCompileItems, string expectedRootFiles) { var testDirectory = Temp.CreateDirectory().Path; diff --git a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigrateConfigurations.cs b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigrateConfigurations.cs index 4c5f5ca7f..21db22530 100644 --- a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigrateConfigurations.cs +++ b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigrateConfigurations.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; @@ -185,7 +188,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests // 2 for Configuration BuildOptions (1 Remove, 1 Include) contentItems.Where(i => i.ConditionChain().Count() == 1).Should().HaveCount(2); - + var configIncludeContentItem = contentItems.First( item => item.ConditionChain().Count() > 0 && !string.IsNullOrEmpty(item.Include)); var configRemoveContentItem = contentItems.First( @@ -235,11 +238,11 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests contentItems.Where(i => i.ConditionChain().Count() == 1).Should().HaveCount(3); var configIncludeContentItem = contentItems.First( - item => item.ConditionChain().Count() > 0 + item => item.ConditionChain().Count() > 0 && item.Include.Contains("root")); var configIncludeContentItem2 = contentItems.First( - item => item.ConditionChain().Count() > 0 + item => item.ConditionChain().Count() > 0 && item.Include.Contains(@"src\file1.cs")); var configRemoveContentItem = contentItems.First( @@ -346,7 +349,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests var configIncludeContentItem = contentItems.First( item => item.ConditionChain().Count() > 0 && item.Include == "root"); - + var configIncludeContentItem2 = contentItems.First( item => item.ConditionChain().Count() > 0 && item.Include == "src"); @@ -380,7 +383,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests configIncludeContentItem3.GetMetadataWithName("CopyToOutputDirectory").Should().NotBeNull(); configIncludeContentItem3.GetMetadataWithName("CopyToOutputDirectory").Value.Should().Be("PreserveNewest"); } - + [Fact] public void ConfigurationBuildOptionsWhichHaveMappingsOverlappingWithIncludesInRootBuildoptionsHasRemove() { @@ -413,7 +416,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests var contentItems = mockProj.Items.Where(item => item.ItemType == "Content"); contentItems.Count().Should().Be(4); - + var rootBuildOptionsContentItems = contentItems.Where(i => i.ConditionChain().Count() == 0).ToList(); rootBuildOptionsContentItems.Count().Should().Be(2); foreach (var buildOptionContentItem in rootBuildOptionsContentItems) @@ -494,7 +497,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests item => item.ConditionChain().Count() > 0 && item.Include == "root"); configIncludeEncompassedItem.Should().BeNull(); - + var configIncludeContentItem = contentItems.First( item => item.ConditionChain().Count() > 0 && item.Include == "src"); @@ -534,7 +537,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests private ProjectRootElement RunConfigurationsAndBuildOptionsRuleOnPj(string s, string testDirectory = null) { return RunRulesOnPj( - s, + s, new IMigrationRule[] { new MigrateBuildOptionsRule(), diff --git a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigrateProjectDependencies.cs b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigrateProjectDependencies.cs index 378c9dd03..0c1df382a 100644 --- a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigrateProjectDependencies.cs +++ b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigrateProjectDependencies.cs @@ -1,4 +1,7 @@ -using Microsoft.Build.Construction; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using Microsoft.Build.Construction; using Microsoft.DotNet.ProjectJsonMigration; using Microsoft.DotNet.Internal.ProjectModel; using Microsoft.DotNet.TestFramework; @@ -303,7 +306,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests public void ItMigratesUnqualifiedDependenciesAsProjectReferenceWhenAMatchingProjectIsFound() { var mockProj = MigrateProject("TestAppWithUnqualifiedDependencies", "ProjectA"); - var projectReferenceInclude = Path.Combine("..", "ProjectB", "ProjectB.csproj"); + var projectReferenceInclude = Path.Combine("..", "ProjectB", "ProjectB.csproj"); var projectReferences = mockProj.Items.Should().ContainSingle( item => item.ItemType == "ProjectReference" && item.Include == projectReferenceInclude); diff --git a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigratePublishOptions.cs b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigratePublishOptions.cs index f4375f706..80b634b16 100644 --- a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigratePublishOptions.cs +++ b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigratePublishOptions.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; using System.IO; using System.Linq; using Microsoft.Build.Construction; diff --git a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigrateRuntimes.cs b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigrateRuntimes.cs index 205875477..65cd00209 100644 --- a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigrateRuntimes.cs +++ b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigrateRuntimes.cs @@ -1,4 +1,7 @@ -using Microsoft.Build.Construction; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using Microsoft.Build.Construction; using Microsoft.DotNet.ProjectJsonMigration; using Microsoft.DotNet.Tools.Test.Utilities; using NuGet.Frameworks; diff --git a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigrateTFMs.cs b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigrateTFMs.cs index 4d7b60096..fb5f453ea 100644 --- a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigrateTFMs.cs +++ b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigrateTFMs.cs @@ -1,4 +1,7 @@ -using Microsoft.Build.Construction; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using Microsoft.Build.Construction; using Microsoft.DotNet.ProjectJsonMigration; using Microsoft.DotNet.Internal.ProjectModel; using Microsoft.DotNet.Tools.Test.Utilities; @@ -32,8 +35,8 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests var migrationSettings = MigrationSettings.CreateMigrationSettingsTestHook(testDirectory, testDirectory, mockProj); var migrationInputs = new MigrationRuleInputs( - new[] { projectContext }, - mockProj, + new[] { projectContext }, + mockProj, mockProj.AddItemGroup(), mockProj.AddPropertyGroup()); @@ -56,9 +59,9 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests var migrationSettings = MigrationSettings.CreateMigrationSettingsTestHook(testDirectory, testDirectory, mockProj); var migrationInputs = new MigrationRuleInputs( - projectContexts, - mockProj, - mockProj.AddItemGroup(), + projectContexts, + mockProj, + mockProj.AddItemGroup(), mockProj.AddPropertyGroup()); new MigrateTFMRule().Apply(migrationSettings, migrationInputs); @@ -81,9 +84,9 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests var migrationSettings = MigrationSettings.CreateMigrationSettingsTestHook(testDirectory, testDirectory, mockProj); var migrationInputs = new MigrationRuleInputs( - projectContexts, - mockProj, - mockProj.AddItemGroup(), + projectContexts, + mockProj, + mockProj.AddItemGroup(), mockProj.AddPropertyGroup()); new MigrateTFMRule().Apply(migrationSettings, migrationInputs); @@ -106,9 +109,9 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests var migrationSettings = MigrationSettings.CreateMigrationSettingsTestHook(testDirectory, testDirectory, mockProj); var migrationInputs = new MigrationRuleInputs( - projectContexts, - mockProj, - mockProj.AddItemGroup(), + projectContexts, + mockProj, + mockProj.AddItemGroup(), mockProj.AddPropertyGroup()); new MigrateTFMRule().Apply(migrationSettings, migrationInputs); @@ -133,9 +136,9 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests var migrationSettings = MigrationSettings.CreateMigrationSettingsTestHook(testDirectory, testDirectory, mockProj); var migrationInputs = new MigrationRuleInputs( - projectContexts, - mockProj, - mockProj.AddItemGroup(), + projectContexts, + mockProj, + mockProj.AddItemGroup(), mockProj.AddPropertyGroup()); new MigrateTFMRule().Apply(migrationSettings, migrationInputs); @@ -157,9 +160,9 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests var migrationSettings = MigrationSettings.CreateMigrationSettingsTestHook(testDirectory, testDirectory, mockProj); var migrationInputs = new MigrationRuleInputs( - projectContexts, - mockProj, - mockProj.AddItemGroup(), + projectContexts, + mockProj, + mockProj.AddItemGroup(), mockProj.AddPropertyGroup()); new MigrateTFMRule().Apply(migrationSettings, migrationInputs); @@ -187,9 +190,9 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests // Run BuildOptionsRule var migrationSettings = MigrationSettings.CreateMigrationSettingsTestHook(testDirectory, testDirectory, mockProj); var migrationInputs = new MigrationRuleInputs( - projectContexts, - mockProj, - mockProj.AddItemGroup(), + projectContexts, + mockProj, + mockProj.AddItemGroup(), mockProj.AddPropertyGroup()); new MigrateTFMRule().Apply(migrationSettings, migrationInputs); diff --git a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/TemporaryProjectFileRuleRunner.cs b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/TemporaryProjectFileRuleRunner.cs index 9d6ceaf6c..3ea3523a8 100644 --- a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/TemporaryProjectFileRuleRunner.cs +++ b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/TemporaryProjectFileRuleRunner.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System.Collections.Generic; using System.Linq; using Microsoft.Build.Construction; using Microsoft.DotNet.ProjectJsonMigration.Rules; diff --git a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Transforms/GivenAConditionalTransform.cs b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Transforms/GivenAConditionalTransform.cs index c74fb6b04..d4a5030e4 100644 --- a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Transforms/GivenAConditionalTransform.cs +++ b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Transforms/GivenAConditionalTransform.cs @@ -1,4 +1,7 @@ -using Microsoft.DotNet.ProjectJsonMigration; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using Microsoft.DotNet.ProjectJsonMigration; using System; using System.Collections.Generic; using System.Linq; diff --git a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Transforms/GivenATransformApplicator.cs b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Transforms/GivenATransformApplicator.cs index 9bafbfd06..36a0fb196 100644 --- a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Transforms/GivenATransformApplicator.cs +++ b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Transforms/GivenATransformApplicator.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; using Microsoft.Build.Construction; using Xunit; using FluentAssertions; diff --git a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Transforms/GivenAnAddItemTransform.cs b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Transforms/GivenAnAddItemTransform.cs index b9bf9735a..e97453c86 100644 --- a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Transforms/GivenAnAddItemTransform.cs +++ b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Transforms/GivenAnAddItemTransform.cs @@ -1,4 +1,7 @@ -using Microsoft.Build.Construction; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using Microsoft.Build.Construction; using Microsoft.DotNet.ProjectJsonMigration; using System; using System.Collections.Generic; diff --git a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Transforms/GivenAnAddPropertyTransform.cs b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Transforms/GivenAnAddPropertyTransform.cs index 6d29c2fdd..008308948 100644 --- a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Transforms/GivenAnAddPropertyTransform.cs +++ b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Transforms/GivenAnAddPropertyTransform.cs @@ -1,4 +1,7 @@ -using Microsoft.Build.Construction; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using Microsoft.Build.Construction; using Microsoft.DotNet.ProjectJsonMigration; using System; using System.Collections.Generic; @@ -55,8 +58,8 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests var propertyValue = "Value1"; var propertyTransform = new AddPropertyTransform( - propertyName, - propertyValue, + propertyName, + propertyValue, t => true); var property = propertyTransform.Transform(null); property.Should().NotBeNull(); diff --git a/test/Microsoft.DotNet.Tools.Tests.Utilities/Extensions/ProcessExtensions.cs b/test/Microsoft.DotNet.Tools.Tests.Utilities/Extensions/ProcessExtensions.cs index 4cff45ff4..565cac435 100644 --- a/test/Microsoft.DotNet.Tools.Tests.Utilities/Extensions/ProcessExtensions.cs +++ b/test/Microsoft.DotNet.Tools.Tests.Utilities/Extensions/ProcessExtensions.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.Diagnostics; @@ -117,8 +120,8 @@ namespace Microsoft.DotNet.Tools.Test.Utilities var taskCompletionSource = new TaskCompletionSource(); subject.EnableRaisingEvents = true; - - subject.Exited += (s, a) => + + subject.Exited += (s, a) => { taskCompletionSource.SetResult(null); diff --git a/test/Microsoft.DotNet.Tools.Tests.Utilities/NetworkUtils/NetworkHelper.cs b/test/Microsoft.DotNet.Tools.Tests.Utilities/NetworkUtils/NetworkHelper.cs index 75f54474a..51f55ea6e 100644 --- a/test/Microsoft.DotNet.Tools.Tests.Utilities/NetworkUtils/NetworkHelper.cs +++ b/test/Microsoft.DotNet.Tools.Tests.Utilities/NetworkUtils/NetworkHelper.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.Net; diff --git a/test/Microsoft.DotNet.Tools.Tests.Utilities/NetworkUtils/PortManager.cs b/test/Microsoft.DotNet.Tools.Tests.Utilities/NetworkUtils/PortManager.cs index 303f89a34..c3df27f4f 100644 --- a/test/Microsoft.DotNet.Tools.Tests.Utilities/NetworkUtils/PortManager.cs +++ b/test/Microsoft.DotNet.Tools.Tests.Utilities/NetworkUtils/PortManager.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Collections.Generic; using System.Threading; diff --git a/test/Microsoft.DotNet.Tools.Tests.Utilities/Properties/Properties.cs b/test/Microsoft.DotNet.Tools.Tests.Utilities/Properties/Properties.cs index af2e66750..98bfc776e 100644 --- a/test/Microsoft.DotNet.Tools.Tests.Utilities/Properties/Properties.cs +++ b/test/Microsoft.DotNet.Tools.Tests.Utilities/Properties/Properties.cs @@ -1,4 +1,7 @@ -using System.Runtime.CompilerServices; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("Microsoft.Extensions.DependencyModel.Tests , PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] [assembly: InternalsVisibleTo("Microsoft.DotNet.Configurer.UnitTests , PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] diff --git a/test/Microsoft.DotNet.Tools.Tests.Utilities/RepoDirectoriesProvider.cs b/test/Microsoft.DotNet.Tools.Tests.Utilities/RepoDirectoriesProvider.cs index 75591a1c8..0b634cd79 100644 --- a/test/Microsoft.DotNet.Tools.Tests.Utilities/RepoDirectoriesProvider.cs +++ b/test/Microsoft.DotNet.Tools.Tests.Utilities/RepoDirectoriesProvider.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.IO; using System.Linq; diff --git a/test/dotnet-migrate.Tests/GivenThatAnAppWasMigrated.cs b/test/dotnet-migrate.Tests/GivenThatAnAppWasMigrated.cs index a76e765bc..4611ef0b1 100644 --- a/test/dotnet-migrate.Tests/GivenThatAnAppWasMigrated.cs +++ b/test/dotnet-migrate.Tests/GivenThatAnAppWasMigrated.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using FluentAssertions; using Microsoft.DotNet.TestFramework; using Microsoft.DotNet.Tools.Common; @@ -100,9 +103,9 @@ namespace Microsoft.DotNet.Migration.Tests .CreateInstance(identifier: testProjectName) .WithSourceFiles() .Root; - + var backupRoot = testRoot.GetDirectory("backup"); - + var migratableArtifacts = GetProjectJsonArtifacts(testRoot); new MigrateCommand() diff --git a/test/dotnet-msbuild.Tests/GivenDotnetBuildInvocation.cs b/test/dotnet-msbuild.Tests/GivenDotnetBuildInvocation.cs index 72e412172..eb3b7256e 100644 --- a/test/dotnet-msbuild.Tests/GivenDotnetBuildInvocation.cs +++ b/test/dotnet-msbuild.Tests/GivenDotnetBuildInvocation.cs @@ -1,4 +1,7 @@ -using Microsoft.DotNet.Tools.Build; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using Microsoft.DotNet.Tools.Build; using FluentAssertions; using Xunit; diff --git a/test/dotnet-msbuild.Tests/GivenDotnetCacheInvocation.cs b/test/dotnet-msbuild.Tests/GivenDotnetCacheInvocation.cs index d7c0740d0..2202ba2cd 100644 --- a/test/dotnet-msbuild.Tests/GivenDotnetCacheInvocation.cs +++ b/test/dotnet-msbuild.Tests/GivenDotnetCacheInvocation.cs @@ -1,4 +1,7 @@ -using Microsoft.DotNet.Tools.Cache; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using Microsoft.DotNet.Tools.Cache; using FluentAssertions; using Xunit; using System; diff --git a/test/dotnet-msbuild.Tests/GivenDotnetCleanInvocation.cs b/test/dotnet-msbuild.Tests/GivenDotnetCleanInvocation.cs index 8817d3f02..742baf6ba 100644 --- a/test/dotnet-msbuild.Tests/GivenDotnetCleanInvocation.cs +++ b/test/dotnet-msbuild.Tests/GivenDotnetCleanInvocation.cs @@ -1,4 +1,7 @@ -using Microsoft.DotNet.Tools.Clean; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using Microsoft.DotNet.Tools.Clean; using FluentAssertions; using Xunit; using System; diff --git a/test/dotnet-msbuild.Tests/GivenDotnetPackInvocation.cs b/test/dotnet-msbuild.Tests/GivenDotnetPackInvocation.cs index 0a30d536f..34624df92 100644 --- a/test/dotnet-msbuild.Tests/GivenDotnetPackInvocation.cs +++ b/test/dotnet-msbuild.Tests/GivenDotnetPackInvocation.cs @@ -1,4 +1,7 @@ -using Microsoft.DotNet.Tools.Pack; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using Microsoft.DotNet.Tools.Pack; using FluentAssertions; using Xunit; using System; diff --git a/test/dotnet-msbuild.Tests/GivenDotnetPublishInvocation.cs b/test/dotnet-msbuild.Tests/GivenDotnetPublishInvocation.cs index d1ed249bb..8eb025f72 100644 --- a/test/dotnet-msbuild.Tests/GivenDotnetPublishInvocation.cs +++ b/test/dotnet-msbuild.Tests/GivenDotnetPublishInvocation.cs @@ -1,4 +1,7 @@ -using Microsoft.DotNet.Tools.Publish; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using Microsoft.DotNet.Tools.Publish; using FluentAssertions; using Xunit; using System; diff --git a/test/dotnet-msbuild.Tests/GivenDotnetRestoreInvocation.cs b/test/dotnet-msbuild.Tests/GivenDotnetRestoreInvocation.cs index f5c95187c..282549125 100644 --- a/test/dotnet-msbuild.Tests/GivenDotnetRestoreInvocation.cs +++ b/test/dotnet-msbuild.Tests/GivenDotnetRestoreInvocation.cs @@ -1,4 +1,7 @@ -using Microsoft.DotNet.Tools.Restore; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using Microsoft.DotNet.Tools.Restore; using FluentAssertions; using Xunit; using System; diff --git a/test/dotnet-msbuild.Tests/GivenDotnetVsTestForwardingApp.cs b/test/dotnet-msbuild.Tests/GivenDotnetVsTestForwardingApp.cs index e1bf1d752..46e56e71c 100644 --- a/test/dotnet-msbuild.Tests/GivenDotnetVsTestForwardingApp.cs +++ b/test/dotnet-msbuild.Tests/GivenDotnetVsTestForwardingApp.cs @@ -1,4 +1,7 @@ -using Microsoft.DotNet.Tools.VSTest; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using Microsoft.DotNet.Tools.VSTest; using FluentAssertions; using Xunit; using System; diff --git a/test/dotnet-msbuild.Tests/GivenForwardingApp.cs b/test/dotnet-msbuild.Tests/GivenForwardingApp.cs index cc25efd2e..5ef48c827 100644 --- a/test/dotnet-msbuild.Tests/GivenForwardingApp.cs +++ b/test/dotnet-msbuild.Tests/GivenForwardingApp.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; using System.Collections.Generic; using System.Text; using Xunit; diff --git a/test/dotnet-msbuild.Tests/GivenMsbuildForwardingApp.cs b/test/dotnet-msbuild.Tests/GivenMsbuildForwardingApp.cs index b04887e2b..fab53877f 100644 --- a/test/dotnet-msbuild.Tests/GivenMsbuildForwardingApp.cs +++ b/test/dotnet-msbuild.Tests/GivenMsbuildForwardingApp.cs @@ -1,4 +1,7 @@ -using System.IO; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System.IO; using Microsoft.DotNet.Tools.MSBuild; using FluentAssertions; using Xunit; diff --git a/test/dotnet-new.Tests/GivenThatIWantANewAppWithSpecifiedType.cs b/test/dotnet-new.Tests/GivenThatIWantANewAppWithSpecifiedType.cs index 645c1621d..25add3e18 100644 --- a/test/dotnet-new.Tests/GivenThatIWantANewAppWithSpecifiedType.cs +++ b/test/dotnet-new.Tests/GivenThatIWantANewAppWithSpecifiedType.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; using System.Collections.Generic; using System.IO; using System.Text; diff --git a/test/dotnet.Tests/CommandLineApplicationTests.cs b/test/dotnet.Tests/CommandLineApplicationTests.cs index 8a7237dd3..458ae4a98 100644 --- a/test/dotnet.Tests/CommandLineApplicationTests.cs +++ b/test/dotnet.Tests/CommandLineApplicationTests.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; using FluentAssertions; using Microsoft.DotNet.Cli.CommandLine; using Xunit; From 23396bdb8f52bf2ab41f378b29080f56f7cee08e Mon Sep 17 00:00:00 2001 From: Piotr Puszkiewicz Date: Thu, 2 Mar 2017 21:33:29 -0800 Subject: [PATCH 31/33] Fixups --- .../AppWithDepOnToolWithOutputName.csproj | 3 +-- .../AppWithDirectAndToolDep/AppWithDirectAndToolDep.csproj | 3 +-- .../DependencyContextFromTool.csproj | 7 +------ 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/TestAssets/TestProjects/AppWithDepOnToolWithOutputName/AppWithDepOnToolWithOutputName.csproj b/TestAssets/TestProjects/AppWithDepOnToolWithOutputName/AppWithDepOnToolWithOutputName.csproj index a9b3f7cd4..a602632d0 100755 --- a/TestAssets/TestProjects/AppWithDepOnToolWithOutputName/AppWithDepOnToolWithOutputName.csproj +++ b/TestAssets/TestProjects/AppWithDepOnToolWithOutputName/AppWithDepOnToolWithOutputName.csproj @@ -9,7 +9,6 @@ - \ No newline at end of file diff --git a/TestAssets/TestProjects/AppWithDirectAndToolDep/AppWithDirectAndToolDep.csproj b/TestAssets/TestProjects/AppWithDirectAndToolDep/AppWithDirectAndToolDep.csproj index 9fc10951d..f6440a4d4 100755 --- a/TestAssets/TestProjects/AppWithDirectAndToolDep/AppWithDirectAndToolDep.csproj +++ b/TestAssets/TestProjects/AppWithDirectAndToolDep/AppWithDirectAndToolDep.csproj @@ -9,7 +9,6 @@ - \ No newline at end of file diff --git a/TestAssets/TestProjects/DependencyContextFromTool/DependencyContextFromTool.csproj b/TestAssets/TestProjects/DependencyContextFromTool/DependencyContextFromTool.csproj index 05bc0cfaf..125932ea1 100755 --- a/TestAssets/TestProjects/DependencyContextFromTool/DependencyContextFromTool.csproj +++ b/TestAssets/TestProjects/DependencyContextFromTool/DependencyContextFromTool.csproj @@ -13,11 +13,6 @@ - - - $(DefineConstants);RELEASE;TRACE - true - \ No newline at end of file From db90fb27965fb75ab02f1a42e08c6d44c48f35f1 Mon Sep 17 00:00:00 2001 From: Piotr Puszkiewicz Date: Thu, 2 Mar 2017 21:56:44 -0800 Subject: [PATCH 32/33] More Fixups --- .../AppDependingOnOtherAsTool/AppDependingOnOtherAsTool.csproj | 3 +-- .../AppWithDepOnTool/AppWithDepOnTool.csproj | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/TestAssets/NonRestoredTestProjects/AppThrowingException/AppDependingOnOtherAsTool/AppDependingOnOtherAsTool.csproj b/TestAssets/NonRestoredTestProjects/AppThrowingException/AppDependingOnOtherAsTool/AppDependingOnOtherAsTool.csproj index dfee5f090..736c44d29 100644 --- a/TestAssets/NonRestoredTestProjects/AppThrowingException/AppDependingOnOtherAsTool/AppDependingOnOtherAsTool.csproj +++ b/TestAssets/NonRestoredTestProjects/AppThrowingException/AppDependingOnOtherAsTool/AppDependingOnOtherAsTool.csproj @@ -10,8 +10,7 @@ - diff --git a/TestAssets/NonRestoredTestProjects/ToolWithRandomPackageName/AppWithDepOnTool/AppWithDepOnTool.csproj b/TestAssets/NonRestoredTestProjects/ToolWithRandomPackageName/AppWithDepOnTool/AppWithDepOnTool.csproj index 0005a3bd4..e54418724 100644 --- a/TestAssets/NonRestoredTestProjects/ToolWithRandomPackageName/AppWithDepOnTool/AppWithDepOnTool.csproj +++ b/TestAssets/NonRestoredTestProjects/ToolWithRandomPackageName/AppWithDepOnTool/AppWithDepOnTool.csproj @@ -8,8 +8,7 @@ - From ef23038dcd0b7560516dd371b67320d2212b8b11 Mon Sep 17 00:00:00 2001 From: Piotr Puszkiewicz Date: Thu, 2 Mar 2017 22:35:24 -0800 Subject: [PATCH 33/33] Yet more fixups --- TestAssets/DesktopTestProjects/AppWithProjTool2Fx/App.csproj | 5 ++--- .../AppWithRedirectsAndConfig.csproj | 3 +-- .../AppWithRedirectsNoConfig/AppWithRedirectsNoConfig.csproj | 3 +-- TestAssets/DesktopTestProjects/LibWithProjTool2Fx/Lib.csproj | 5 ++--- .../AppWithNonExistingToolDependency.csproj | 3 +-- .../MSBuildAppWithMultipleFrameworksAndTools.csproj | 5 ++--- .../MSBuildAppWithMultipleFrameworksAndTools.csproj | 5 ++--- 7 files changed, 11 insertions(+), 18 deletions(-) diff --git a/TestAssets/DesktopTestProjects/AppWithProjTool2Fx/App.csproj b/TestAssets/DesktopTestProjects/AppWithProjTool2Fx/App.csproj index f71697c30..e4f6b5d73 100644 --- a/TestAssets/DesktopTestProjects/AppWithProjTool2Fx/App.csproj +++ b/TestAssets/DesktopTestProjects/AppWithProjTool2Fx/App.csproj @@ -18,7 +18,6 @@ - - \ No newline at end of file + diff --git a/TestAssets/DesktopTestProjects/BindingRedirectSample/AppWithRedirectsAndConfig/AppWithRedirectsAndConfig.csproj b/TestAssets/DesktopTestProjects/BindingRedirectSample/AppWithRedirectsAndConfig/AppWithRedirectsAndConfig.csproj index 2db0a2c75..82a5ad25d 100644 --- a/TestAssets/DesktopTestProjects/BindingRedirectSample/AppWithRedirectsAndConfig/AppWithRedirectsAndConfig.csproj +++ b/TestAssets/DesktopTestProjects/BindingRedirectSample/AppWithRedirectsAndConfig/AppWithRedirectsAndConfig.csproj @@ -23,8 +23,7 @@ - diff --git a/TestAssets/DesktopTestProjects/BindingRedirectSample/AppWithRedirectsNoConfig/AppWithRedirectsNoConfig.csproj b/TestAssets/DesktopTestProjects/BindingRedirectSample/AppWithRedirectsNoConfig/AppWithRedirectsNoConfig.csproj index 173725ba5..94b99d56b 100644 --- a/TestAssets/DesktopTestProjects/BindingRedirectSample/AppWithRedirectsNoConfig/AppWithRedirectsNoConfig.csproj +++ b/TestAssets/DesktopTestProjects/BindingRedirectSample/AppWithRedirectsNoConfig/AppWithRedirectsNoConfig.csproj @@ -23,8 +23,7 @@ - diff --git a/TestAssets/DesktopTestProjects/LibWithProjTool2Fx/Lib.csproj b/TestAssets/DesktopTestProjects/LibWithProjTool2Fx/Lib.csproj index 616242b2d..0f8a91828 100644 --- a/TestAssets/DesktopTestProjects/LibWithProjTool2Fx/Lib.csproj +++ b/TestAssets/DesktopTestProjects/LibWithProjTool2Fx/Lib.csproj @@ -17,7 +17,6 @@ - - \ No newline at end of file + diff --git a/TestAssets/NonRestoredTestProjects/AppWithNonExistingToolDependency/AppWithNonExistingToolDependency.csproj b/TestAssets/NonRestoredTestProjects/AppWithNonExistingToolDependency/AppWithNonExistingToolDependency.csproj index 138d21071..62b4026ba 100644 --- a/TestAssets/NonRestoredTestProjects/AppWithNonExistingToolDependency/AppWithNonExistingToolDependency.csproj +++ b/TestAssets/NonRestoredTestProjects/AppWithNonExistingToolDependency/AppWithNonExistingToolDependency.csproj @@ -10,8 +10,7 @@ - diff --git a/TestAssets/TestProjects/AppWithMultipleFxAndTools/MSBuildAppWithMultipleFrameworksAndTools.csproj b/TestAssets/TestProjects/AppWithMultipleFxAndTools/MSBuildAppWithMultipleFrameworksAndTools.csproj index fc0d32f8f..6acbb8178 100644 --- a/TestAssets/TestProjects/AppWithMultipleFxAndTools/MSBuildAppWithMultipleFrameworksAndTools.csproj +++ b/TestAssets/TestProjects/AppWithMultipleFxAndTools/MSBuildAppWithMultipleFrameworksAndTools.csproj @@ -12,8 +12,7 @@ - - \ No newline at end of file + diff --git a/TestAssets/TestProjects/MSBuildAppWithMultipleFrameworksAndTools/MSBuildAppWithMultipleFrameworksAndTools.csproj b/TestAssets/TestProjects/MSBuildAppWithMultipleFrameworksAndTools/MSBuildAppWithMultipleFrameworksAndTools.csproj index fc0d32f8f..6acbb8178 100644 --- a/TestAssets/TestProjects/MSBuildAppWithMultipleFrameworksAndTools/MSBuildAppWithMultipleFrameworksAndTools.csproj +++ b/TestAssets/TestProjects/MSBuildAppWithMultipleFrameworksAndTools/MSBuildAppWithMultipleFrameworksAndTools.csproj @@ -12,8 +12,7 @@ - - \ No newline at end of file +