From 16899fa8849e483d2259271ce1ed319d8d9141d2 Mon Sep 17 00:00:00 2001 From: Adeel <3840695+am11@users.noreply.github.com> Date: Tue, 27 Jul 2021 02:11:15 +0300 Subject: [PATCH] Update license headers --- eng/common/internal/Tools.csproj | 2 +- .../Microsoft.DotNet.Build.Tasks.Archives.csproj | 2 +- .../src/PublishSymbolsHelper.cs | 1 - src/Microsoft.DotNet.Build.Tasks.Feed/src/PushToBlobFeed.cs | 1 - .../build/deb-package-tool/package_tool.sh | 2 +- .../deb-package-tool/scripts/config_template_generator.py | 1 - .../build/deb-package-tool/scripts/debian_build_lib.sh | 1 - .../build/deb-package-tool/scripts/extract_json_value.py | 1 - .../build/deb-package-tool/scripts/manpage_generator.py | 1 - .../build/deb-package-tool/setup/build_setup.sh | 3 +-- .../build/deb-package-tool/setup/test_setup.sh | 3 +-- .../build/deb-package-tool/templates/debian/control | 1 - .../build/deb-package-tool/templates/debian/copyright | 2 +- .../build/deb-package-tool/templates/debian/rules | 1 - .../build/rpm_templates/copyright | 2 +- .../src/BuildFPMToolPreReqs.cs | 1 - .../src/ExecWithRetries.cs | 1 - .../src/GenerateCurrentVersion.cs | 1 - .../src/GenerateGuidFromName.cs | 1 - .../src/GenerateJsonObjectString.cs | 1 - .../src/GenerateMacOSDistributionFile.cs | 1 - .../src/GenerateMsiVersion.cs | 1 - .../src/StabilizeWixFileId.cs | 1 - .../Microsoft.DotNet.Build.Tasks.VisualStudio.csproj | 2 +- .../tasks/Microsoft.DotNet.NuGetRepack.Tasks.csproj | 2 +- src/Microsoft.DotNet.NuGetRepack/tasks/src/NuGetUtils.cs | 3 ++- .../tasks/src/NuGetVersionUpdater.cs | 3 ++- .../tasks/src/ReplacePackageParts.cs | 3 ++- .../tasks/src/UpdatePackageVersionTask.cs | 3 ++- .../tests/Microsoft.DotNet.NuGetRepack.Tests.csproj | 2 +- .../tests/ReplacePackagePartsTests.cs | 3 ++- .../tests/TestHelpers/AssertEx.cs | 3 ++- .../tests/TestHelpers/DiffUtil.cs | 3 ++- .../tests/TestHelpers/ResourceLoader.cs | 5 +++-- .../tests/TestHelpers/TestResources.cs | 3 ++- .../tests/VersionUpdaterTests.cs | 3 ++- .../Microsoft.DotNet.SharedFramework.Sdk.csproj | 2 +- .../src/CreateFrameworkListFile.cs | 1 - .../src/FileUtilities.cs | 1 - .../src/GeneratePlatformManifestEntriesFromFileList.cs | 1 - .../src/GeneratePlatformManifestEntriesFromTemplate.cs | 1 - .../src/GenerateSharedFrameworkDepsFile.cs | 1 - .../src/Packaging/Extensions.cs | 1 - .../src/PlatformManifestEntry.cs | 1 - .../src/ValidateFileVersions.cs | 1 - 45 files changed, 32 insertions(+), 48 deletions(-) diff --git a/eng/common/internal/Tools.csproj b/eng/common/internal/Tools.csproj index f46d5efe2e3..2067b8df8d9 100644 --- a/eng/common/internal/Tools.csproj +++ b/eng/common/internal/Tools.csproj @@ -1,5 +1,5 @@ + - net472 diff --git a/src/Microsoft.DotNet.Build.Tasks.Archives/Microsoft.DotNet.Build.Tasks.Archives.csproj b/src/Microsoft.DotNet.Build.Tasks.Archives/Microsoft.DotNet.Build.Tasks.Archives.csproj index af826e9d5df..c09d77629ea 100644 --- a/src/Microsoft.DotNet.Build.Tasks.Archives/Microsoft.DotNet.Build.Tasks.Archives.csproj +++ b/src/Microsoft.DotNet.Build.Tasks.Archives/Microsoft.DotNet.Build.Tasks.Archives.csproj @@ -1,4 +1,4 @@ - + netcoreapp3.1 diff --git a/src/Microsoft.DotNet.Build.Tasks.Feed/src/PublishSymbolsHelper.cs b/src/Microsoft.DotNet.Build.Tasks.Feed/src/PublishSymbolsHelper.cs index f781d8f0b21..75991951b72 100644 --- a/src/Microsoft.DotNet.Build.Tasks.Feed/src/PublishSymbolsHelper.cs +++ b/src/Microsoft.DotNet.Build.Tasks.Feed/src/PublishSymbolsHelper.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; diff --git a/src/Microsoft.DotNet.Build.Tasks.Feed/src/PushToBlobFeed.cs b/src/Microsoft.DotNet.Build.Tasks.Feed/src/PushToBlobFeed.cs index 5e26d9fa001..0e9d96c94aa 100644 --- a/src/Microsoft.DotNet.Build.Tasks.Feed/src/PushToBlobFeed.cs +++ b/src/Microsoft.DotNet.Build.Tasks.Feed/src/PushToBlobFeed.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. using Microsoft.Arcade.Common; using Microsoft.Build.Framework; diff --git a/src/Microsoft.DotNet.Build.Tasks.Installers/build/deb-package-tool/package_tool.sh b/src/Microsoft.DotNet.Build.Tasks.Installers/build/deb-package-tool/package_tool.sh index 9e069b7a1e0..6987c8a0b1d 100644 --- a/src/Microsoft.DotNet.Build.Tasks.Installers/build/deb-package-tool/package_tool.sh +++ b/src/Microsoft.DotNet.Build.Tasks.Installers/build/deb-package-tool/package_tool.sh @@ -2,8 +2,8 @@ # # Licensed to the .NET Foundation under one or more agreements. # The .NET Foundation licenses this file to you under the MIT license. -# See the LICENSE file in the project root for more information. # + set -e SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" diff --git a/src/Microsoft.DotNet.Build.Tasks.Installers/build/deb-package-tool/scripts/config_template_generator.py b/src/Microsoft.DotNet.Build.Tasks.Installers/build/deb-package-tool/scripts/config_template_generator.py index 6b8b21c9e12..4811634c5d3 100644 --- a/src/Microsoft.DotNet.Build.Tasks.Installers/build/deb-package-tool/scripts/config_template_generator.py +++ b/src/Microsoft.DotNet.Build.Tasks.Installers/build/deb-package-tool/scripts/config_template_generator.py @@ -2,7 +2,6 @@ # # Licensed to the .NET Foundation under one or more agreements. # The .NET Foundation licenses this file to you under the MIT license. -# See the LICENSE file in the project root for more information. # # Parses debian_config.json and generates appropriate templates diff --git a/src/Microsoft.DotNet.Build.Tasks.Installers/build/deb-package-tool/scripts/debian_build_lib.sh b/src/Microsoft.DotNet.Build.Tasks.Installers/build/deb-package-tool/scripts/debian_build_lib.sh index 18d388864fd..1520ffa62aa 100644 --- a/src/Microsoft.DotNet.Build.Tasks.Installers/build/deb-package-tool/scripts/debian_build_lib.sh +++ b/src/Microsoft.DotNet.Build.Tasks.Installers/build/deb-package-tool/scripts/debian_build_lib.sh @@ -1,7 +1,6 @@ # # Licensed to the .NET Foundation under one or more agreements. # The .NET Foundation licenses this file to you under the MIT license. -# See the LICENSE file in the project root for more information. # # This file is not intended to be executed directly diff --git a/src/Microsoft.DotNet.Build.Tasks.Installers/build/deb-package-tool/scripts/extract_json_value.py b/src/Microsoft.DotNet.Build.Tasks.Installers/build/deb-package-tool/scripts/extract_json_value.py index 74f26a6ffdd..27b98c106a1 100644 --- a/src/Microsoft.DotNet.Build.Tasks.Installers/build/deb-package-tool/scripts/extract_json_value.py +++ b/src/Microsoft.DotNet.Build.Tasks.Installers/build/deb-package-tool/scripts/extract_json_value.py @@ -2,7 +2,6 @@ # # Licensed to the .NET Foundation under one or more agreements. # The .NET Foundation licenses this file to you under the MIT license. -# See the LICENSE file in the project root for more information. # # Extract Json Value diff --git a/src/Microsoft.DotNet.Build.Tasks.Installers/build/deb-package-tool/scripts/manpage_generator.py b/src/Microsoft.DotNet.Build.Tasks.Installers/build/deb-package-tool/scripts/manpage_generator.py index c62e6807901..dc20bb6d1c5 100644 --- a/src/Microsoft.DotNet.Build.Tasks.Installers/build/deb-package-tool/scripts/manpage_generator.py +++ b/src/Microsoft.DotNet.Build.Tasks.Installers/build/deb-package-tool/scripts/manpage_generator.py @@ -2,7 +2,6 @@ # # Licensed to the .NET Foundation under one or more agreements. # The .NET Foundation licenses this file to you under the MIT license. -# See the LICENSE file in the project root for more information. # # manpage_generator diff --git a/src/Microsoft.DotNet.Build.Tasks.Installers/build/deb-package-tool/setup/build_setup.sh b/src/Microsoft.DotNet.Build.Tasks.Installers/build/deb-package-tool/setup/build_setup.sh index 12c223aacbc..a77cc192ecd 100644 --- a/src/Microsoft.DotNet.Build.Tasks.Installers/build/deb-package-tool/setup/build_setup.sh +++ b/src/Microsoft.DotNet.Build.Tasks.Installers/build/deb-package-tool/setup/build_setup.sh @@ -1,7 +1,6 @@ # # Licensed to the .NET Foundation under one or more agreements. # The .NET Foundation licenses this file to you under the MIT license. -# See the LICENSE file in the project root for more information. # install_dependencies(){ @@ -18,4 +17,4 @@ setup(){ install_dependencies } -setup \ No newline at end of file +setup diff --git a/src/Microsoft.DotNet.Build.Tasks.Installers/build/deb-package-tool/setup/test_setup.sh b/src/Microsoft.DotNet.Build.Tasks.Installers/build/deb-package-tool/setup/test_setup.sh index a7cdd95c2b3..287db6c51ea 100644 --- a/src/Microsoft.DotNet.Build.Tasks.Installers/build/deb-package-tool/setup/test_setup.sh +++ b/src/Microsoft.DotNet.Build.Tasks.Installers/build/deb-package-tool/setup/test_setup.sh @@ -1,7 +1,6 @@ # # Licensed to the .NET Foundation under one or more agreements. # The .NET Foundation licenses this file to you under the MIT license. -# See the LICENSE file in the project root for more information. # install_dependencies(){ @@ -25,4 +24,4 @@ setup(){ install_bats } -setup \ No newline at end of file +setup diff --git a/src/Microsoft.DotNet.Build.Tasks.Installers/build/deb-package-tool/templates/debian/control b/src/Microsoft.DotNet.Build.Tasks.Installers/build/deb-package-tool/templates/debian/control index 114d8493042..9497e6c5d07 100644 --- a/src/Microsoft.DotNet.Build.Tasks.Installers/build/deb-package-tool/templates/debian/control +++ b/src/Microsoft.DotNet.Build.Tasks.Installers/build/deb-package-tool/templates/debian/control @@ -1,7 +1,6 @@ # # Licensed to the .NET Foundation under one or more agreements. # The .NET Foundation licenses this file to you under the MIT license. -# See the LICENSE file in the project root for more information. # Source: {PACKAGE_NAME} diff --git a/src/Microsoft.DotNet.Build.Tasks.Installers/build/deb-package-tool/templates/debian/copyright b/src/Microsoft.DotNet.Build.Tasks.Installers/build/deb-package-tool/templates/debian/copyright index 72febbba8af..3e916a1311d 100644 --- a/src/Microsoft.DotNet.Build.Tasks.Installers/build/deb-package-tool/templates/debian/copyright +++ b/src/Microsoft.DotNet.Build.Tasks.Installers/build/deb-package-tool/templates/debian/copyright @@ -1,4 +1,4 @@ -Comment: Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. +Comment: Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ diff --git a/src/Microsoft.DotNet.Build.Tasks.Installers/build/deb-package-tool/templates/debian/rules b/src/Microsoft.DotNet.Build.Tasks.Installers/build/deb-package-tool/templates/debian/rules index b5cbfb27e20..6a4e98d27a5 100644 --- a/src/Microsoft.DotNet.Build.Tasks.Installers/build/deb-package-tool/templates/debian/rules +++ b/src/Microsoft.DotNet.Build.Tasks.Installers/build/deb-package-tool/templates/debian/rules @@ -2,7 +2,6 @@ # # Licensed to the .NET Foundation under one or more agreements. # The .NET Foundation licenses this file to you under the MIT license. -# See the LICENSE file in the project root for more information. # {overrides} diff --git a/src/Microsoft.DotNet.Build.Tasks.Installers/build/rpm_templates/copyright b/src/Microsoft.DotNet.Build.Tasks.Installers/build/rpm_templates/copyright index ba561b5eceb..ec4b68bc19f 100644 --- a/src/Microsoft.DotNet.Build.Tasks.Installers/build/rpm_templates/copyright +++ b/src/Microsoft.DotNet.Build.Tasks.Installers/build/rpm_templates/copyright @@ -1,4 +1,4 @@ -Comment: Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. +Comment: Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. Files: * Copyright: {COPYRIGHT_TEXT} diff --git a/src/Microsoft.DotNet.Build.Tasks.Installers/src/BuildFPMToolPreReqs.cs b/src/Microsoft.DotNet.Build.Tasks.Installers/src/BuildFPMToolPreReqs.cs index c956a24e661..39c9246b131 100644 --- a/src/Microsoft.DotNet.Build.Tasks.Installers/src/BuildFPMToolPreReqs.cs +++ b/src/Microsoft.DotNet.Build.Tasks.Installers/src/BuildFPMToolPreReqs.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. using Microsoft.Build.Framework; using Newtonsoft.Json; diff --git a/src/Microsoft.DotNet.Build.Tasks.Installers/src/ExecWithRetries.cs b/src/Microsoft.DotNet.Build.Tasks.Installers/src/ExecWithRetries.cs index 3beaa96ec29..fea8f8eb87c 100644 --- a/src/Microsoft.DotNet.Build.Tasks.Installers/src/ExecWithRetries.cs +++ b/src/Microsoft.DotNet.Build.Tasks.Installers/src/ExecWithRetries.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. // Initially copied from https://github.com/dotnet/buildtools/blob/6736870b84e06b75e7df32bb84d442db1b2afa10/src/Microsoft.DotNet.Build.Tasks/ExecWithRetries.cs diff --git a/src/Microsoft.DotNet.Build.Tasks.Installers/src/GenerateCurrentVersion.cs b/src/Microsoft.DotNet.Build.Tasks.Installers/src/GenerateCurrentVersion.cs index 3c00c3a5f83..8680208bdb2 100644 --- a/src/Microsoft.DotNet.Build.Tasks.Installers/src/GenerateCurrentVersion.cs +++ b/src/Microsoft.DotNet.Build.Tasks.Installers/src/GenerateCurrentVersion.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. using Microsoft.Build.Framework; using System; diff --git a/src/Microsoft.DotNet.Build.Tasks.Installers/src/GenerateGuidFromName.cs b/src/Microsoft.DotNet.Build.Tasks.Installers/src/GenerateGuidFromName.cs index 678b32a61a0..6884a0d4522 100644 --- a/src/Microsoft.DotNet.Build.Tasks.Installers/src/GenerateGuidFromName.cs +++ b/src/Microsoft.DotNet.Build.Tasks.Installers/src/GenerateGuidFromName.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. using Microsoft.Build.Framework; using System; diff --git a/src/Microsoft.DotNet.Build.Tasks.Installers/src/GenerateJsonObjectString.cs b/src/Microsoft.DotNet.Build.Tasks.Installers/src/GenerateJsonObjectString.cs index 189b1b3d0eb..517e675ed53 100644 --- a/src/Microsoft.DotNet.Build.Tasks.Installers/src/GenerateJsonObjectString.cs +++ b/src/Microsoft.DotNet.Build.Tasks.Installers/src/GenerateJsonObjectString.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. using Microsoft.Build.Framework; using System; diff --git a/src/Microsoft.DotNet.Build.Tasks.Installers/src/GenerateMacOSDistributionFile.cs b/src/Microsoft.DotNet.Build.Tasks.Installers/src/GenerateMacOSDistributionFile.cs index 54f0bfe3cff..4a2242b80bd 100644 --- a/src/Microsoft.DotNet.Build.Tasks.Installers/src/GenerateMacOSDistributionFile.cs +++ b/src/Microsoft.DotNet.Build.Tasks.Installers/src/GenerateMacOSDistributionFile.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. using Microsoft.Build.Framework; using Microsoft.Build.Utilities; diff --git a/src/Microsoft.DotNet.Build.Tasks.Installers/src/GenerateMsiVersion.cs b/src/Microsoft.DotNet.Build.Tasks.Installers/src/GenerateMsiVersion.cs index fefcb0a13a5..95ba0420bff 100644 --- a/src/Microsoft.DotNet.Build.Tasks.Installers/src/GenerateMsiVersion.cs +++ b/src/Microsoft.DotNet.Build.Tasks.Installers/src/GenerateMsiVersion.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. using Microsoft.Build.Framework; diff --git a/src/Microsoft.DotNet.Build.Tasks.Installers/src/StabilizeWixFileId.cs b/src/Microsoft.DotNet.Build.Tasks.Installers/src/StabilizeWixFileId.cs index a0a2f1fa1c3..77410034c15 100644 --- a/src/Microsoft.DotNet.Build.Tasks.Installers/src/StabilizeWixFileId.cs +++ b/src/Microsoft.DotNet.Build.Tasks.Installers/src/StabilizeWixFileId.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. using Microsoft.Build.Framework; using System; diff --git a/src/Microsoft.DotNet.Build.Tasks.VisualStudio/Microsoft.DotNet.Build.Tasks.VisualStudio.csproj b/src/Microsoft.DotNet.Build.Tasks.VisualStudio/Microsoft.DotNet.Build.Tasks.VisualStudio.csproj index e1ff2fd44b7..ef3b7fb6bb9 100644 --- a/src/Microsoft.DotNet.Build.Tasks.VisualStudio/Microsoft.DotNet.Build.Tasks.VisualStudio.csproj +++ b/src/Microsoft.DotNet.Build.Tasks.VisualStudio/Microsoft.DotNet.Build.Tasks.VisualStudio.csproj @@ -1,4 +1,4 @@ - + net472 diff --git a/src/Microsoft.DotNet.NuGetRepack/tasks/Microsoft.DotNet.NuGetRepack.Tasks.csproj b/src/Microsoft.DotNet.NuGetRepack/tasks/Microsoft.DotNet.NuGetRepack.Tasks.csproj index 6a1cee07932..c532b91fa4d 100644 --- a/src/Microsoft.DotNet.NuGetRepack/tasks/Microsoft.DotNet.NuGetRepack.Tasks.csproj +++ b/src/Microsoft.DotNet.NuGetRepack/tasks/Microsoft.DotNet.NuGetRepack.Tasks.csproj @@ -1,4 +1,4 @@ - + net472;netcoreapp3.1 diff --git a/src/Microsoft.DotNet.NuGetRepack/tasks/src/NuGetUtils.cs b/src/Microsoft.DotNet.NuGetRepack/tasks/src/NuGetUtils.cs index d985a9e8440..260befb6ef1 100644 --- a/src/Microsoft.DotNet.NuGetRepack/tasks/src/NuGetUtils.cs +++ b/src/Microsoft.DotNet.NuGetRepack/tasks/src/NuGetUtils.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Microsoft.DotNet.NuGetRepack/tasks/src/NuGetVersionUpdater.cs b/src/Microsoft.DotNet.NuGetRepack/tasks/src/NuGetVersionUpdater.cs index ba7ce8bb7ec..e2dc7c007f4 100644 --- a/src/Microsoft.DotNet.NuGetRepack/tasks/src/NuGetVersionUpdater.cs +++ b/src/Microsoft.DotNet.NuGetRepack/tasks/src/NuGetVersionUpdater.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Microsoft.DotNet.NuGetRepack/tasks/src/ReplacePackageParts.cs b/src/Microsoft.DotNet.NuGetRepack/tasks/src/ReplacePackageParts.cs index 6f7045be7ae..8e6563b8d14 100644 --- a/src/Microsoft.DotNet.NuGetRepack/tasks/src/ReplacePackageParts.cs +++ b/src/Microsoft.DotNet.NuGetRepack/tasks/src/ReplacePackageParts.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Microsoft.DotNet.NuGetRepack/tasks/src/UpdatePackageVersionTask.cs b/src/Microsoft.DotNet.NuGetRepack/tasks/src/UpdatePackageVersionTask.cs index 15731be682d..863dd049ca4 100644 --- a/src/Microsoft.DotNet.NuGetRepack/tasks/src/UpdatePackageVersionTask.cs +++ b/src/Microsoft.DotNet.NuGetRepack/tasks/src/UpdatePackageVersionTask.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Microsoft.DotNet.NuGetRepack/tests/Microsoft.DotNet.NuGetRepack.Tests.csproj b/src/Microsoft.DotNet.NuGetRepack/tests/Microsoft.DotNet.NuGetRepack.Tests.csproj index 98f73d71421..8cf795a5854 100644 --- a/src/Microsoft.DotNet.NuGetRepack/tests/Microsoft.DotNet.NuGetRepack.Tests.csproj +++ b/src/Microsoft.DotNet.NuGetRepack/tests/Microsoft.DotNet.NuGetRepack.Tests.csproj @@ -1,4 +1,4 @@ - + netcoreapp3.1 diff --git a/src/Microsoft.DotNet.NuGetRepack/tests/ReplacePackagePartsTests.cs b/src/Microsoft.DotNet.NuGetRepack/tests/ReplacePackagePartsTests.cs index b873e8b1ba5..c03085f75c2 100644 --- a/src/Microsoft.DotNet.NuGetRepack/tests/ReplacePackagePartsTests.cs +++ b/src/Microsoft.DotNet.NuGetRepack/tests/ReplacePackagePartsTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; diff --git a/src/Microsoft.DotNet.NuGetRepack/tests/TestHelpers/AssertEx.cs b/src/Microsoft.DotNet.NuGetRepack/tests/TestHelpers/AssertEx.cs index c254b131cfb..5ae86b144ab 100644 --- a/src/Microsoft.DotNet.NuGetRepack/tests/TestHelpers/AssertEx.cs +++ b/src/Microsoft.DotNet.NuGetRepack/tests/TestHelpers/AssertEx.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections; diff --git a/src/Microsoft.DotNet.NuGetRepack/tests/TestHelpers/DiffUtil.cs b/src/Microsoft.DotNet.NuGetRepack/tests/TestHelpers/DiffUtil.cs index cc7fd418a7d..62a12cd0a7c 100644 --- a/src/Microsoft.DotNet.NuGetRepack/tests/TestHelpers/DiffUtil.cs +++ b/src/Microsoft.DotNet.NuGetRepack/tests/TestHelpers/DiffUtil.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Microsoft.DotNet.NuGetRepack/tests/TestHelpers/ResourceLoader.cs b/src/Microsoft.DotNet.NuGetRepack/tests/TestHelpers/ResourceLoader.cs index 011005dde01..c0c34a41840 100644 --- a/src/Microsoft.DotNet.NuGetRepack/tests/TestHelpers/ResourceLoader.cs +++ b/src/Microsoft.DotNet.NuGetRepack/tests/TestHelpers/ResourceLoader.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; @@ -45,4 +46,4 @@ public static byte[] GetOrCreateResource(ref byte[] resource, string name) return resource; } } -} \ No newline at end of file +} diff --git a/src/Microsoft.DotNet.NuGetRepack/tests/TestHelpers/TestResources.cs b/src/Microsoft.DotNet.NuGetRepack/tests/TestHelpers/TestResources.cs index 27308dcb611..bcc990b8220 100644 --- a/src/Microsoft.DotNet.NuGetRepack/tests/TestHelpers/TestResources.cs +++ b/src/Microsoft.DotNet.NuGetRepack/tests/TestHelpers/TestResources.cs @@ -1,4 +1,5 @@ - // Copyright(c) Microsoft.All Rights Reserved.Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace TestResources { diff --git a/src/Microsoft.DotNet.NuGetRepack/tests/VersionUpdaterTests.cs b/src/Microsoft.DotNet.NuGetRepack/tests/VersionUpdaterTests.cs index 60d4f84c97d..3a2a3667e77 100644 --- a/src/Microsoft.DotNet.NuGetRepack/tests/VersionUpdaterTests.cs +++ b/src/Microsoft.DotNet.NuGetRepack/tests/VersionUpdaterTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; diff --git a/src/Microsoft.DotNet.SharedFramework.Sdk/Microsoft.DotNet.SharedFramework.Sdk.csproj b/src/Microsoft.DotNet.SharedFramework.Sdk/Microsoft.DotNet.SharedFramework.Sdk.csproj index 4405a1fecaa..31df0418e14 100644 --- a/src/Microsoft.DotNet.SharedFramework.Sdk/Microsoft.DotNet.SharedFramework.Sdk.csproj +++ b/src/Microsoft.DotNet.SharedFramework.Sdk/Microsoft.DotNet.SharedFramework.Sdk.csproj @@ -1,4 +1,4 @@ - + net472;netcoreapp3.1 diff --git a/src/Microsoft.DotNet.SharedFramework.Sdk/src/CreateFrameworkListFile.cs b/src/Microsoft.DotNet.SharedFramework.Sdk/src/CreateFrameworkListFile.cs index be0e8b2b6ec..68a1af12c73 100644 --- a/src/Microsoft.DotNet.SharedFramework.Sdk/src/CreateFrameworkListFile.cs +++ b/src/Microsoft.DotNet.SharedFramework.Sdk/src/CreateFrameworkListFile.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. using Microsoft.Build.Framework; using Microsoft.DotNet.Build.Tasks; diff --git a/src/Microsoft.DotNet.SharedFramework.Sdk/src/FileUtilities.cs b/src/Microsoft.DotNet.SharedFramework.Sdk/src/FileUtilities.cs index 97ab8b182c8..b8d9348bf98 100644 --- a/src/Microsoft.DotNet.SharedFramework.Sdk/src/FileUtilities.cs +++ b/src/Microsoft.DotNet.SharedFramework.Sdk/src/FileUtilities.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; diff --git a/src/Microsoft.DotNet.SharedFramework.Sdk/src/GeneratePlatformManifestEntriesFromFileList.cs b/src/Microsoft.DotNet.SharedFramework.Sdk/src/GeneratePlatformManifestEntriesFromFileList.cs index 20ea4a12316..2e4ba8dd5a9 100644 --- a/src/Microsoft.DotNet.SharedFramework.Sdk/src/GeneratePlatformManifestEntriesFromFileList.cs +++ b/src/Microsoft.DotNet.SharedFramework.Sdk/src/GeneratePlatformManifestEntriesFromFileList.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. using Microsoft.Build.Framework; using Microsoft.Build.Utilities; diff --git a/src/Microsoft.DotNet.SharedFramework.Sdk/src/GeneratePlatformManifestEntriesFromTemplate.cs b/src/Microsoft.DotNet.SharedFramework.Sdk/src/GeneratePlatformManifestEntriesFromTemplate.cs index e8346c2b79a..73f032a2d39 100644 --- a/src/Microsoft.DotNet.SharedFramework.Sdk/src/GeneratePlatformManifestEntriesFromTemplate.cs +++ b/src/Microsoft.DotNet.SharedFramework.Sdk/src/GeneratePlatformManifestEntriesFromTemplate.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. using Microsoft.Build.Framework; using Microsoft.Build.Utilities; diff --git a/src/Microsoft.DotNet.SharedFramework.Sdk/src/GenerateSharedFrameworkDepsFile.cs b/src/Microsoft.DotNet.SharedFramework.Sdk/src/GenerateSharedFrameworkDepsFile.cs index 84f7eda188b..76b1c22d9de 100644 --- a/src/Microsoft.DotNet.SharedFramework.Sdk/src/GenerateSharedFrameworkDepsFile.cs +++ b/src/Microsoft.DotNet.SharedFramework.Sdk/src/GenerateSharedFrameworkDepsFile.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. using Microsoft.Build.Framework; using Microsoft.Build.Utilities; diff --git a/src/Microsoft.DotNet.SharedFramework.Sdk/src/Packaging/Extensions.cs b/src/Microsoft.DotNet.SharedFramework.Sdk/src/Packaging/Extensions.cs index f8da82b1198..be63e1cb5a5 100644 --- a/src/Microsoft.DotNet.SharedFramework.Sdk/src/Packaging/Extensions.cs +++ b/src/Microsoft.DotNet.SharedFramework.Sdk/src/Packaging/Extensions.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. using Microsoft.Build.Framework; using NuGet; diff --git a/src/Microsoft.DotNet.SharedFramework.Sdk/src/PlatformManifestEntry.cs b/src/Microsoft.DotNet.SharedFramework.Sdk/src/PlatformManifestEntry.cs index cf54a35ef06..74cb71351a9 100644 --- a/src/Microsoft.DotNet.SharedFramework.Sdk/src/PlatformManifestEntry.cs +++ b/src/Microsoft.DotNet.SharedFramework.Sdk/src/PlatformManifestEntry.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. namespace Microsoft.DotNet.SharedFramework.Sdk { diff --git a/src/Microsoft.DotNet.SharedFramework.Sdk/src/ValidateFileVersions.cs b/src/Microsoft.DotNet.SharedFramework.Sdk/src/ValidateFileVersions.cs index 7942a4bb7be..19681d9d82a 100644 --- a/src/Microsoft.DotNet.SharedFramework.Sdk/src/ValidateFileVersions.cs +++ b/src/Microsoft.DotNet.SharedFramework.Sdk/src/ValidateFileVersions.cs @@ -1,6 +1,5 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. using Microsoft.Build.Construction; using Microsoft.Build.Framework;