diff --git a/.editorconfig b/.editorconfig index 226f7d30..eb0d1eaa 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,4 +1,4 @@ -# EditorConfig is awesome: +# EditorConfig is awesome: http://EditorConfig.org # top-most EditorConfig file @@ -153,3 +153,6 @@ csharp_space_between_square_brackets = false csharp_preserve_single_line_blocks = true csharp_preserve_single_line_statements = true + +[*.{cs}] +file_header_template = Licensed to the.NET Foundation under one or more agreements.\nThe.NET Foundation licenses this file to you under the MIT license.\nSee the License.txt file in the project root for more information. diff --git a/License.txt b/License.txt index d6456956..a616ed18 100644 --- a/License.txt +++ b/License.txt @@ -1,202 +1,23 @@ +The MIT License (MIT) - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ +Copyright (c) .NET Foundation and Contributors - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION +All rights reserved. - 1. Definitions. +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/eng/BuildTask.targets b/eng/BuildTask.targets index 3a9de4d9..868c8666 100644 --- a/eng/BuildTask.targets +++ b/eng/BuildTask.targets @@ -1,5 +1,5 @@ - - + + true diff --git a/eng/SourceBuild.props b/eng/SourceBuild.props index 4cd76267..c9492022 100644 --- a/eng/SourceBuild.props +++ b/eng/SourceBuild.props @@ -1,3 +1,5 @@ + + diff --git a/eng/Versions.props b/eng/Versions.props index 4ea51a89..4afc3c3e 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -1,4 +1,5 @@ - + + diff --git a/src/Common/AzureDevOpsUrlParser.cs b/src/Common/AzureDevOpsUrlParser.cs index 4f212f5e..0bbf0b06 100644 --- a/src/Common/AzureDevOpsUrlParser.cs +++ b/src/Common/AzureDevOpsUrlParser.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using System.Diagnostics; diff --git a/src/Common/GetSourceLinkUrlGitTask.cs b/src/Common/GetSourceLinkUrlGitTask.cs index 2962db3c..203fb7f7 100644 --- a/src/Common/GetSourceLinkUrlGitTask.cs +++ b/src/Common/GetSourceLinkUrlGitTask.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using System.Collections.Generic; diff --git a/src/Common/GitUrlMappingTask.cs b/src/Common/GitUrlMappingTask.cs index abe54ef6..a31b6ad9 100644 --- a/src/Common/GitUrlMappingTask.cs +++ b/src/Common/GitUrlMappingTask.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using System.Collections.Generic; diff --git a/src/Common/Names.cs b/src/Common/Names.cs index 59a3f726..e0515cb3 100644 --- a/src/Common/Names.cs +++ b/src/Common/Names.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. namespace Microsoft.Build.Tasks.SourceControl { diff --git a/src/Common/NullableAttributes.cs b/src/Common/NullableAttributes.cs index 8bce5d69..9c45cc65 100644 --- a/src/Common/NullableAttributes.cs +++ b/src/Common/NullableAttributes.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System.Diagnostics; using System.Diagnostics.CodeAnalysis; diff --git a/src/Common/PathUtilities.cs b/src/Common/PathUtilities.cs index 9d30da69..aa20eb1f 100644 --- a/src/Common/PathUtilities.cs +++ b/src/Common/PathUtilities.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using System.Collections.Generic; @@ -48,4 +50,4 @@ public static string EndWithSeparator(this string path) public static string EndWithSeparator(this string path, char separator) => path.EndsWithSeparator() ? path : path + separator; } -} \ No newline at end of file +} diff --git a/src/Common/SequenceComparer.cs b/src/Common/SequenceComparer.cs index c280573c..9ec6e0f6 100644 --- a/src/Common/SequenceComparer.cs +++ b/src/Common/SequenceComparer.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using System.Collections.Generic; diff --git a/src/Common/TranslateRepositoryUrlGitTask.cs b/src/Common/TranslateRepositoryUrlGitTask.cs index 02c0e032..f09822ef 100644 --- a/src/Common/TranslateRepositoryUrlGitTask.cs +++ b/src/Common/TranslateRepositoryUrlGitTask.cs @@ -1,5 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using System.Collections.Generic; diff --git a/src/Common/UriUtilities.cs b/src/Common/UriUtilities.cs index b490faf7..981c9c13 100644 --- a/src/Common/UriUtilities.cs +++ b/src/Common/UriUtilities.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using System.Linq; diff --git a/src/Common/ValueTuple.cs b/src/Common/ValueTuple.cs index 074e9f60..05c44232 100644 --- a/src/Common/ValueTuple.cs +++ b/src/Common/ValueTuple.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. #if NET461 @@ -46,4 +48,4 @@ public TupleElementNamesAttribute(string[] transformNames) } } -#endif \ No newline at end of file +#endif diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 01bbff1b..5283e917 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -1,11 +1,12 @@ - + + Preview enable - Apache-2.0 + MIT true $(RepositoryEngineeringDir)runtimeconfig.template.json diff --git a/src/Directory.Build.targets b/src/Directory.Build.targets index a4b4d2c1..f175fd49 100644 --- a/src/Directory.Build.targets +++ b/src/Directory.Build.targets @@ -1,4 +1,5 @@ - + + diff --git a/src/Microsoft.Build.StandardCI/Microsoft.Build.StandardCI.csproj b/src/Microsoft.Build.StandardCI/Microsoft.Build.StandardCI.csproj index 7dd6f956..2e74e6b7 100644 --- a/src/Microsoft.Build.StandardCI/Microsoft.Build.StandardCI.csproj +++ b/src/Microsoft.Build.StandardCI/Microsoft.Build.StandardCI.csproj @@ -1,4 +1,6 @@ - + + + net472;net6.0 true diff --git a/src/Microsoft.Build.StandardCI/build/Microsoft.Build.StandardCI.props b/src/Microsoft.Build.StandardCI/build/Microsoft.Build.StandardCI.props index 353bd638..69d79020 100644 --- a/src/Microsoft.Build.StandardCI/build/Microsoft.Build.StandardCI.props +++ b/src/Microsoft.Build.StandardCI/build/Microsoft.Build.StandardCI.props @@ -1,4 +1,5 @@ - + + + net472;net6.0 diff --git a/src/Microsoft.Build.Tasks.Git.UnitTests/TestUtilities.cs b/src/Microsoft.Build.Tasks.Git.UnitTests/TestUtilities.cs index 6497485f..9e22db39 100644 --- a/src/Microsoft.Build.Tasks.Git.UnitTests/TestUtilities.cs +++ b/src/Microsoft.Build.Tasks.Git.UnitTests/TestUtilities.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using Microsoft.Build.Framework; diff --git a/src/Microsoft.Build.Tasks.Git/AssemblyResolver.cs b/src/Microsoft.Build.Tasks.Git/AssemblyResolver.cs index 9889bb54..e0c77070 100644 --- a/src/Microsoft.Build.Tasks.Git/AssemblyResolver.cs +++ b/src/Microsoft.Build.Tasks.Git/AssemblyResolver.cs @@ -1,6 +1,6 @@ -// Licensed to the .NET Foundation under one or more agreements. +// 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. +// See the License.txt file in the project root for more information. #if NET461 diff --git a/src/Microsoft.Build.Tasks.Git/GetUntrackedFiles.cs b/src/Microsoft.Build.Tasks.Git/GetUntrackedFiles.cs index 7465313b..0be4a3d6 100644 --- a/src/Microsoft.Build.Tasks.Git/GetUntrackedFiles.cs +++ b/src/Microsoft.Build.Tasks.Git/GetUntrackedFiles.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System.Diagnostics.CodeAnalysis; using Microsoft.Build.Framework; diff --git a/src/Microsoft.Build.Tasks.Git/GitDataReader/CharUtils.cs b/src/Microsoft.Build.Tasks.Git/GitDataReader/CharUtils.cs index 4baf9bd5..66ce48f5 100644 --- a/src/Microsoft.Build.Tasks.Git/GitDataReader/CharUtils.cs +++ b/src/Microsoft.Build.Tasks.Git/GitDataReader/CharUtils.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; diff --git a/src/Microsoft.Build.Tasks.Git/GitDataReader/GitConfig.Reader.cs b/src/Microsoft.Build.Tasks.Git/GitDataReader/GitConfig.Reader.cs index e01f1954..6530d46b 100644 --- a/src/Microsoft.Build.Tasks.Git/GitDataReader/GitConfig.Reader.cs +++ b/src/Microsoft.Build.Tasks.Git/GitDataReader/GitConfig.Reader.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using System.Collections.Generic; diff --git a/src/Microsoft.Build.Tasks.Git/GitDataReader/GitConfig.cs b/src/Microsoft.Build.Tasks.Git/GitDataReader/GitConfig.cs index d55cd02d..5d57c7b6 100644 --- a/src/Microsoft.Build.Tasks.Git/GitDataReader/GitConfig.cs +++ b/src/Microsoft.Build.Tasks.Git/GitDataReader/GitConfig.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using System.Collections.Generic; diff --git a/src/Microsoft.Build.Tasks.Git/GitDataReader/GitEnvironment.cs b/src/Microsoft.Build.Tasks.Git/GitDataReader/GitEnvironment.cs index 6d7be601..b0a74c08 100644 --- a/src/Microsoft.Build.Tasks.Git/GitDataReader/GitEnvironment.cs +++ b/src/Microsoft.Build.Tasks.Git/GitDataReader/GitEnvironment.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using System.Diagnostics; diff --git a/src/Microsoft.Build.Tasks.Git/GitDataReader/GitIgnore.Matcher.cs b/src/Microsoft.Build.Tasks.Git/GitDataReader/GitIgnore.Matcher.cs index 5196ac9b..ba784e07 100644 --- a/src/Microsoft.Build.Tasks.Git/GitDataReader/GitIgnore.Matcher.cs +++ b/src/Microsoft.Build.Tasks.Git/GitDataReader/GitIgnore.Matcher.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using System.Collections.Generic; diff --git a/src/Microsoft.Build.Tasks.Git/GitDataReader/GitIgnore.cs b/src/Microsoft.Build.Tasks.Git/GitDataReader/GitIgnore.cs index 47f75dd7..5757f60c 100644 --- a/src/Microsoft.Build.Tasks.Git/GitDataReader/GitIgnore.cs +++ b/src/Microsoft.Build.Tasks.Git/GitDataReader/GitIgnore.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using System.Collections.Generic; diff --git a/src/Microsoft.Build.Tasks.Git/GitDataReader/GitReferenceResolver.cs b/src/Microsoft.Build.Tasks.Git/GitDataReader/GitReferenceResolver.cs index e62bd4ed..cec393af 100644 --- a/src/Microsoft.Build.Tasks.Git/GitDataReader/GitReferenceResolver.cs +++ b/src/Microsoft.Build.Tasks.Git/GitDataReader/GitReferenceResolver.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using System.Collections.Generic; diff --git a/src/Microsoft.Build.Tasks.Git/GitDataReader/GitRepository.cs b/src/Microsoft.Build.Tasks.Git/GitDataReader/GitRepository.cs index 9f1648f8..30ee72bc 100644 --- a/src/Microsoft.Build.Tasks.Git/GitDataReader/GitRepository.cs +++ b/src/Microsoft.Build.Tasks.Git/GitDataReader/GitRepository.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using System.Collections.Generic; diff --git a/src/Microsoft.Build.Tasks.Git/GitDataReader/GitRepositoryLocation.cs b/src/Microsoft.Build.Tasks.Git/GitDataReader/GitRepositoryLocation.cs index 6d1d96f3..0f44a401 100644 --- a/src/Microsoft.Build.Tasks.Git/GitDataReader/GitRepositoryLocation.cs +++ b/src/Microsoft.Build.Tasks.Git/GitDataReader/GitRepositoryLocation.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; diff --git a/src/Microsoft.Build.Tasks.Git/GitDataReader/GitSubmodule.cs b/src/Microsoft.Build.Tasks.Git/GitDataReader/GitSubmodule.cs index a953773e..43f8611f 100644 --- a/src/Microsoft.Build.Tasks.Git/GitDataReader/GitSubmodule.cs +++ b/src/Microsoft.Build.Tasks.Git/GitDataReader/GitSubmodule.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; diff --git a/src/Microsoft.Build.Tasks.Git/GitDataReader/GitVariableName.cs b/src/Microsoft.Build.Tasks.Git/GitDataReader/GitVariableName.cs index b4eefb68..ddddbc35 100644 --- a/src/Microsoft.Build.Tasks.Git/GitDataReader/GitVariableName.cs +++ b/src/Microsoft.Build.Tasks.Git/GitDataReader/GitVariableName.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using System.Diagnostics; diff --git a/src/Microsoft.Build.Tasks.Git/GitDataReader/Glob.cs b/src/Microsoft.Build.Tasks.Git/GitDataReader/Glob.cs index 8c9f62e9..605409e7 100644 --- a/src/Microsoft.Build.Tasks.Git/GitDataReader/Glob.cs +++ b/src/Microsoft.Build.Tasks.Git/GitDataReader/Glob.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. // Implementation based on documentation: // - https://git-scm.com/docs/gitignore @@ -248,4 +250,4 @@ private static bool IsRangeMatch(string pattern, ref int patternIndex, char path return false; } } -} \ No newline at end of file +} diff --git a/src/Microsoft.Build.Tasks.Git/GitDataReader/PathUtils.cs b/src/Microsoft.Build.Tasks.Git/GitDataReader/PathUtils.cs index 9593432c..8ff2dd1d 100644 --- a/src/Microsoft.Build.Tasks.Git/GitDataReader/PathUtils.cs +++ b/src/Microsoft.Build.Tasks.Git/GitDataReader/PathUtils.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using System.Diagnostics; diff --git a/src/Microsoft.Build.Tasks.Git/GitOperations.cs b/src/Microsoft.Build.Tasks.Git/GitOperations.cs index 2d029de4..ed9d36a7 100644 --- a/src/Microsoft.Build.Tasks.Git/GitOperations.cs +++ b/src/Microsoft.Build.Tasks.Git/GitOperations.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using System.Collections.Generic; diff --git a/src/Microsoft.Build.Tasks.Git/LocateRepository.cs b/src/Microsoft.Build.Tasks.Git/LocateRepository.cs index ac6bfb79..a592df01 100644 --- a/src/Microsoft.Build.Tasks.Git/LocateRepository.cs +++ b/src/Microsoft.Build.Tasks.Git/LocateRepository.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using System.Diagnostics.CodeAnalysis; diff --git a/src/Microsoft.Build.Tasks.Git/Microsoft.Build.Tasks.Git.csproj b/src/Microsoft.Build.Tasks.Git/Microsoft.Build.Tasks.Git.csproj index 3da4127e..3fa8c71d 100644 --- a/src/Microsoft.Build.Tasks.Git/Microsoft.Build.Tasks.Git.csproj +++ b/src/Microsoft.Build.Tasks.Git/Microsoft.Build.Tasks.Git.csproj @@ -1,4 +1,6 @@ - + + + net472;net6.0 true diff --git a/src/Microsoft.Build.Tasks.Git/RepositoryTask.cs b/src/Microsoft.Build.Tasks.Git/RepositoryTask.cs index e4b1a000..62aa8cf2 100644 --- a/src/Microsoft.Build.Tasks.Git/RepositoryTask.cs +++ b/src/Microsoft.Build.Tasks.Git/RepositoryTask.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using System.Diagnostics.CodeAnalysis; diff --git a/src/Microsoft.Build.Tasks.Git/build/Microsoft.Build.Tasks.Git.props b/src/Microsoft.Build.Tasks.Git/build/Microsoft.Build.Tasks.Git.props index 308fd217..16ef7e3c 100644 --- a/src/Microsoft.Build.Tasks.Git/build/Microsoft.Build.Tasks.Git.props +++ b/src/Microsoft.Build.Tasks.Git/build/Microsoft.Build.Tasks.Git.props @@ -1,4 +1,5 @@ - + + $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.Build.Tasks.Git.dll diff --git a/src/Microsoft.Build.Tasks.Git/build/Microsoft.Build.Tasks.Git.targets b/src/Microsoft.Build.Tasks.Git/build/Microsoft.Build.Tasks.Git.targets index 213daf5e..1e26dec0 100644 --- a/src/Microsoft.Build.Tasks.Git/build/Microsoft.Build.Tasks.Git.targets +++ b/src/Microsoft.Build.Tasks.Git/build/Microsoft.Build.Tasks.Git.targets @@ -1,4 +1,5 @@ - + + diff --git a/src/Microsoft.Build.Tasks.Git/buildMultiTargeting/Microsoft.Build.Tasks.Git.props b/src/Microsoft.Build.Tasks.Git/buildMultiTargeting/Microsoft.Build.Tasks.Git.props index 9c26c672..afadd0e1 100644 --- a/src/Microsoft.Build.Tasks.Git/buildMultiTargeting/Microsoft.Build.Tasks.Git.props +++ b/src/Microsoft.Build.Tasks.Git/buildMultiTargeting/Microsoft.Build.Tasks.Git.props @@ -1,4 +1,5 @@ - + + diff --git a/src/Microsoft.Build.Tasks.Git/buildMultiTargeting/Microsoft.Build.Tasks.Git.targets b/src/Microsoft.Build.Tasks.Git/buildMultiTargeting/Microsoft.Build.Tasks.Git.targets index 84afbc37..c72d0e0c 100644 --- a/src/Microsoft.Build.Tasks.Git/buildMultiTargeting/Microsoft.Build.Tasks.Git.targets +++ b/src/Microsoft.Build.Tasks.Git/buildMultiTargeting/Microsoft.Build.Tasks.Git.targets @@ -1,4 +1,5 @@ - + + diff --git a/src/Microsoft.Build.Tasks.Tfvc/GetRepositoryUrl.cs b/src/Microsoft.Build.Tasks.Tfvc/GetRepositoryUrl.cs index 3f476dca..5da4b3e6 100644 --- a/src/Microsoft.Build.Tasks.Tfvc/GetRepositoryUrl.cs +++ b/src/Microsoft.Build.Tasks.Tfvc/GetRepositoryUrl.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using System.IO; diff --git a/src/Microsoft.Build.Tasks.Tfvc/GetSourceRevisionId.cs b/src/Microsoft.Build.Tasks.Tfvc/GetSourceRevisionId.cs index 253ae8e9..a31421a3 100644 --- a/src/Microsoft.Build.Tasks.Tfvc/GetSourceRevisionId.cs +++ b/src/Microsoft.Build.Tasks.Tfvc/GetSourceRevisionId.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using Microsoft.Build.Framework; using Microsoft.TeamFoundation.Client; diff --git a/src/Microsoft.Build.Tasks.Tfvc/GetSourceRoots.cs b/src/Microsoft.Build.Tasks.Tfvc/GetSourceRoots.cs index b35f74c6..6df2edff 100644 --- a/src/Microsoft.Build.Tasks.Tfvc/GetSourceRoots.cs +++ b/src/Microsoft.Build.Tasks.Tfvc/GetSourceRoots.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using System.Collections.Generic; diff --git a/src/Microsoft.Build.Tasks.Tfvc/GetUntrackedSourceFiles.cs b/src/Microsoft.Build.Tasks.Tfvc/GetUntrackedSourceFiles.cs index 21469d67..d049007f 100644 --- a/src/Microsoft.Build.Tasks.Tfvc/GetUntrackedSourceFiles.cs +++ b/src/Microsoft.Build.Tasks.Tfvc/GetUntrackedSourceFiles.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using System.Collections.Generic; diff --git a/src/Microsoft.Build.Tasks.Tfvc/LocateRepository.cs b/src/Microsoft.Build.Tasks.Tfvc/LocateRepository.cs index 1c44ee09..a7cc99ab 100644 --- a/src/Microsoft.Build.Tasks.Tfvc/LocateRepository.cs +++ b/src/Microsoft.Build.Tasks.Tfvc/LocateRepository.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System.Diagnostics.CodeAnalysis; using Microsoft.Build.Framework; diff --git a/src/Microsoft.Build.Tasks.Tfvc/Microsoft.Build.Tasks.Tfvc.csproj b/src/Microsoft.Build.Tasks.Tfvc/Microsoft.Build.Tasks.Tfvc.csproj index 2c6b3458..93b8bf35 100644 --- a/src/Microsoft.Build.Tasks.Tfvc/Microsoft.Build.Tasks.Tfvc.csproj +++ b/src/Microsoft.Build.Tasks.Tfvc/Microsoft.Build.Tasks.Tfvc.csproj @@ -1,4 +1,6 @@ - + + + net472 true diff --git a/src/Microsoft.Build.Tasks.Tfvc/RepositoryTask.cs b/src/Microsoft.Build.Tasks.Tfvc/RepositoryTask.cs index 385cf5cd..3ad7e48a 100644 --- a/src/Microsoft.Build.Tasks.Tfvc/RepositoryTask.cs +++ b/src/Microsoft.Build.Tasks.Tfvc/RepositoryTask.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System.Diagnostics.CodeAnalysis; using Microsoft.Build.Framework; diff --git a/src/Microsoft.Build.Tasks.Tfvc/build/Microsoft.Build.Tasks.Tfvc.props b/src/Microsoft.Build.Tasks.Tfvc/build/Microsoft.Build.Tasks.Tfvc.props index aee1e765..64301247 100644 --- a/src/Microsoft.Build.Tasks.Tfvc/build/Microsoft.Build.Tasks.Tfvc.props +++ b/src/Microsoft.Build.Tasks.Tfvc/build/Microsoft.Build.Tasks.Tfvc.props @@ -1,6 +1,7 @@ - + + $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.Build.Tasks.Tfvc.dll - \ No newline at end of file + diff --git a/src/Microsoft.Build.Tasks.Tfvc/build/Microsoft.Build.Tasks.Tfvc.targets b/src/Microsoft.Build.Tasks.Tfvc/build/Microsoft.Build.Tasks.Tfvc.targets index fe9a936f..0bc8d3ae 100644 --- a/src/Microsoft.Build.Tasks.Tfvc/build/Microsoft.Build.Tasks.Tfvc.targets +++ b/src/Microsoft.Build.Tasks.Tfvc/build/Microsoft.Build.Tasks.Tfvc.targets @@ -1,4 +1,5 @@ - + + diff --git a/src/Microsoft.Build.Tasks.Tfvc/buildMultiTargeting/Microsoft.Build.Tasks.Tfvc.props b/src/Microsoft.Build.Tasks.Tfvc/buildMultiTargeting/Microsoft.Build.Tasks.Tfvc.props index 9c26c672..afadd0e1 100644 --- a/src/Microsoft.Build.Tasks.Tfvc/buildMultiTargeting/Microsoft.Build.Tasks.Tfvc.props +++ b/src/Microsoft.Build.Tasks.Tfvc/buildMultiTargeting/Microsoft.Build.Tasks.Tfvc.props @@ -1,4 +1,5 @@ - + + diff --git a/src/Microsoft.Build.Tasks.Tfvc/buildMultiTargeting/Microsoft.Build.Tasks.Tfvc.targets b/src/Microsoft.Build.Tasks.Tfvc/buildMultiTargeting/Microsoft.Build.Tasks.Tfvc.targets index 84afbc37..c72d0e0c 100644 --- a/src/Microsoft.Build.Tasks.Tfvc/buildMultiTargeting/Microsoft.Build.Tasks.Tfvc.targets +++ b/src/Microsoft.Build.Tasks.Tfvc/buildMultiTargeting/Microsoft.Build.Tasks.Tfvc.targets @@ -1,4 +1,5 @@ - + + diff --git a/src/SourceLink.AzureDevOpsServer.Git.UnitTests/AzureDevOpsUrlParserOnPremTests.cs b/src/SourceLink.AzureDevOpsServer.Git.UnitTests/AzureDevOpsUrlParserOnPremTests.cs index 8577b23d..95e5bc49 100644 --- a/src/SourceLink.AzureDevOpsServer.Git.UnitTests/AzureDevOpsUrlParserOnPremTests.cs +++ b/src/SourceLink.AzureDevOpsServer.Git.UnitTests/AzureDevOpsUrlParserOnPremTests.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using Xunit; diff --git a/src/SourceLink.AzureDevOpsServer.Git.UnitTests/GetSourceLinkUrlTests.cs b/src/SourceLink.AzureDevOpsServer.Git.UnitTests/GetSourceLinkUrlTests.cs index 661c4561..bb5fec9a 100644 --- a/src/SourceLink.AzureDevOpsServer.Git.UnitTests/GetSourceLinkUrlTests.cs +++ b/src/SourceLink.AzureDevOpsServer.Git.UnitTests/GetSourceLinkUrlTests.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using Microsoft.Build.Tasks.SourceControl; using TestUtilities; diff --git a/src/SourceLink.AzureDevOpsServer.Git.UnitTests/Microsoft.SourceLink.AzureDevOpsServer.Git.UnitTests.csproj b/src/SourceLink.AzureDevOpsServer.Git.UnitTests/Microsoft.SourceLink.AzureDevOpsServer.Git.UnitTests.csproj index 610f1e75..8754e0ac 100644 --- a/src/SourceLink.AzureDevOpsServer.Git.UnitTests/Microsoft.SourceLink.AzureDevOpsServer.Git.UnitTests.csproj +++ b/src/SourceLink.AzureDevOpsServer.Git.UnitTests/Microsoft.SourceLink.AzureDevOpsServer.Git.UnitTests.csproj @@ -1,4 +1,6 @@ - + + + net472;net6.0 diff --git a/src/SourceLink.AzureDevOpsServer.Git.UnitTests/TranslateRepositoryUrlsTests.cs b/src/SourceLink.AzureDevOpsServer.Git.UnitTests/TranslateRepositoryUrlsTests.cs index 81ef6a32..8e9b3f5f 100644 --- a/src/SourceLink.AzureDevOpsServer.Git.UnitTests/TranslateRepositoryUrlsTests.cs +++ b/src/SourceLink.AzureDevOpsServer.Git.UnitTests/TranslateRepositoryUrlsTests.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System.Linq; using TestUtilities; using Xunit; diff --git a/src/SourceLink.AzureDevOpsServer.Git/GetSourceLinkUrl.cs b/src/SourceLink.AzureDevOpsServer.Git/GetSourceLinkUrl.cs index 5a6d516e..c70f4465 100644 --- a/src/SourceLink.AzureDevOpsServer.Git/GetSourceLinkUrl.cs +++ b/src/SourceLink.AzureDevOpsServer.Git/GetSourceLinkUrl.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using Microsoft.Build.Framework; diff --git a/src/SourceLink.AzureDevOpsServer.Git/Microsoft.SourceLink.AzureDevOpsServer.Git.csproj b/src/SourceLink.AzureDevOpsServer.Git/Microsoft.SourceLink.AzureDevOpsServer.Git.csproj index c59c8b4b..ceec252b 100644 --- a/src/SourceLink.AzureDevOpsServer.Git/Microsoft.SourceLink.AzureDevOpsServer.Git.csproj +++ b/src/SourceLink.AzureDevOpsServer.Git/Microsoft.SourceLink.AzureDevOpsServer.Git.csproj @@ -1,4 +1,6 @@ - + + + net472;net6.0 true diff --git a/src/SourceLink.AzureDevOpsServer.Git/TranslateRepositoryUrls.cs b/src/SourceLink.AzureDevOpsServer.Git/TranslateRepositoryUrls.cs index 9b12b949..2994302f 100644 --- a/src/SourceLink.AzureDevOpsServer.Git/TranslateRepositoryUrls.cs +++ b/src/SourceLink.AzureDevOpsServer.Git/TranslateRepositoryUrls.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using Microsoft.Build.Tasks.SourceControl; diff --git a/src/SourceLink.AzureDevOpsServer.Git/build/Microsoft.SourceLink.AzureDevOpsServer.Git.targets b/src/SourceLink.AzureDevOpsServer.Git/build/Microsoft.SourceLink.AzureDevOpsServer.Git.targets index 8590b7d5..2e0e3cb3 100644 --- a/src/SourceLink.AzureDevOpsServer.Git/build/Microsoft.SourceLink.AzureDevOpsServer.Git.targets +++ b/src/SourceLink.AzureDevOpsServer.Git/build/Microsoft.SourceLink.AzureDevOpsServer.Git.targets @@ -1,4 +1,5 @@ - + + <_SourceLinkAzureDevOpsServerGitAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.AzureDevOpsServer.Git.dll @@ -68,4 +69,4 @@ - \ No newline at end of file + diff --git a/src/SourceLink.AzureDevOpsServer.Git/buildMultiTargeting/Microsoft.SourceLink.AzureDevOpsServer.Git.targets b/src/SourceLink.AzureDevOpsServer.Git/buildMultiTargeting/Microsoft.SourceLink.AzureDevOpsServer.Git.targets index 84afbc37..c72d0e0c 100644 --- a/src/SourceLink.AzureDevOpsServer.Git/buildMultiTargeting/Microsoft.SourceLink.AzureDevOpsServer.Git.targets +++ b/src/SourceLink.AzureDevOpsServer.Git/buildMultiTargeting/Microsoft.SourceLink.AzureDevOpsServer.Git.targets @@ -1,4 +1,5 @@ - + + diff --git a/src/SourceLink.AzureRepos.Git.UnitTests/AzureDevOpsUrlParserHostedTests.cs b/src/SourceLink.AzureRepos.Git.UnitTests/AzureDevOpsUrlParserHostedTests.cs index cbdac190..2284ff1f 100644 --- a/src/SourceLink.AzureRepos.Git.UnitTests/AzureDevOpsUrlParserHostedTests.cs +++ b/src/SourceLink.AzureRepos.Git.UnitTests/AzureDevOpsUrlParserHostedTests.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using Xunit; diff --git a/src/SourceLink.AzureRepos.Git.UnitTests/GetSourceLinkUrlTests.cs b/src/SourceLink.AzureRepos.Git.UnitTests/GetSourceLinkUrlTests.cs index 46854350..a84eb067 100644 --- a/src/SourceLink.AzureRepos.Git.UnitTests/GetSourceLinkUrlTests.cs +++ b/src/SourceLink.AzureRepos.Git.UnitTests/GetSourceLinkUrlTests.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using Microsoft.Build.Tasks.SourceControl; using TestUtilities; diff --git a/src/SourceLink.AzureRepos.Git.UnitTests/Microsoft.SourceLink.AzureRepos.Git.UnitTests.csproj b/src/SourceLink.AzureRepos.Git.UnitTests/Microsoft.SourceLink.AzureRepos.Git.UnitTests.csproj index 60d3a8ff..f8cc548b 100644 --- a/src/SourceLink.AzureRepos.Git.UnitTests/Microsoft.SourceLink.AzureRepos.Git.UnitTests.csproj +++ b/src/SourceLink.AzureRepos.Git.UnitTests/Microsoft.SourceLink.AzureRepos.Git.UnitTests.csproj @@ -1,4 +1,6 @@ - + + + net472;net6.0 diff --git a/src/SourceLink.AzureRepos.Git.UnitTests/TranslateRepositoryUrlsTests.cs b/src/SourceLink.AzureRepos.Git.UnitTests/TranslateRepositoryUrlsTests.cs index adbb8c0a..5ad83c5d 100644 --- a/src/SourceLink.AzureRepos.Git.UnitTests/TranslateRepositoryUrlsTests.cs +++ b/src/SourceLink.AzureRepos.Git.UnitTests/TranslateRepositoryUrlsTests.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System.Linq; using TestUtilities; using Xunit; diff --git a/src/SourceLink.AzureRepos.Git/GetSourceLinkUrl.cs b/src/SourceLink.AzureRepos.Git/GetSourceLinkUrl.cs index 5a74a384..f7116fa3 100644 --- a/src/SourceLink.AzureRepos.Git/GetSourceLinkUrl.cs +++ b/src/SourceLink.AzureRepos.Git/GetSourceLinkUrl.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using System.Collections.Generic; diff --git a/src/SourceLink.AzureRepos.Git/Microsoft.SourceLink.AzureRepos.Git.csproj b/src/SourceLink.AzureRepos.Git/Microsoft.SourceLink.AzureRepos.Git.csproj index 191ca700..bdb048e8 100644 --- a/src/SourceLink.AzureRepos.Git/Microsoft.SourceLink.AzureRepos.Git.csproj +++ b/src/SourceLink.AzureRepos.Git/Microsoft.SourceLink.AzureRepos.Git.csproj @@ -1,4 +1,6 @@ - + + + net472;net6.0 true diff --git a/src/SourceLink.AzureRepos.Git/TranslateRepositoryUrls.cs b/src/SourceLink.AzureRepos.Git/TranslateRepositoryUrls.cs index 73452eec..4dbdf60b 100644 --- a/src/SourceLink.AzureRepos.Git/TranslateRepositoryUrls.cs +++ b/src/SourceLink.AzureRepos.Git/TranslateRepositoryUrls.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using Microsoft.Build.Tasks.SourceControl; diff --git a/src/SourceLink.AzureRepos.Git/build/Microsoft.SourceLink.AzureRepos.Git.props b/src/SourceLink.AzureRepos.Git/build/Microsoft.SourceLink.AzureRepos.Git.props index c258402d..ca9cbc82 100644 --- a/src/SourceLink.AzureRepos.Git/build/Microsoft.SourceLink.AzureRepos.Git.props +++ b/src/SourceLink.AzureRepos.Git/build/Microsoft.SourceLink.AzureRepos.Git.props @@ -1,4 +1,5 @@ - + + diff --git a/src/SourceLink.AzureRepos.Git/build/Microsoft.SourceLink.AzureRepos.Git.targets b/src/SourceLink.AzureRepos.Git/build/Microsoft.SourceLink.AzureRepos.Git.targets index c07157a7..d431e138 100644 --- a/src/SourceLink.AzureRepos.Git/build/Microsoft.SourceLink.AzureRepos.Git.targets +++ b/src/SourceLink.AzureRepos.Git/build/Microsoft.SourceLink.AzureRepos.Git.targets @@ -1,4 +1,5 @@ - + + <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.AzureRepos.Git.dll @@ -55,4 +56,4 @@ - \ No newline at end of file + diff --git a/src/SourceLink.AzureRepos.Git/buildMultiTargeting/Microsoft.SourceLink.AzureRepos.Git.props b/src/SourceLink.AzureRepos.Git/buildMultiTargeting/Microsoft.SourceLink.AzureRepos.Git.props index 9c26c672..afadd0e1 100644 --- a/src/SourceLink.AzureRepos.Git/buildMultiTargeting/Microsoft.SourceLink.AzureRepos.Git.props +++ b/src/SourceLink.AzureRepos.Git/buildMultiTargeting/Microsoft.SourceLink.AzureRepos.Git.props @@ -1,4 +1,5 @@ - + + diff --git a/src/SourceLink.AzureRepos.Git/buildMultiTargeting/Microsoft.SourceLink.AzureRepos.Git.targets b/src/SourceLink.AzureRepos.Git/buildMultiTargeting/Microsoft.SourceLink.AzureRepos.Git.targets index 84afbc37..c72d0e0c 100644 --- a/src/SourceLink.AzureRepos.Git/buildMultiTargeting/Microsoft.SourceLink.AzureRepos.Git.targets +++ b/src/SourceLink.AzureRepos.Git/buildMultiTargeting/Microsoft.SourceLink.AzureRepos.Git.targets @@ -1,4 +1,5 @@ - + + diff --git a/src/SourceLink.AzureRepos.Tfvc/GetSourceLinkUrl.cs b/src/SourceLink.AzureRepos.Tfvc/GetSourceLinkUrl.cs index 59794c42..92528bca 100644 --- a/src/SourceLink.AzureRepos.Tfvc/GetSourceLinkUrl.cs +++ b/src/SourceLink.AzureRepos.Tfvc/GetSourceLinkUrl.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using System.Diagnostics.CodeAnalysis; diff --git a/src/SourceLink.AzureRepos.Tfvc/Microsoft.SourceLink.AzureRepos.Tfvc.csproj b/src/SourceLink.AzureRepos.Tfvc/Microsoft.SourceLink.AzureRepos.Tfvc.csproj index 91af51fe..fddc9662 100644 --- a/src/SourceLink.AzureRepos.Tfvc/Microsoft.SourceLink.AzureRepos.Tfvc.csproj +++ b/src/SourceLink.AzureRepos.Tfvc/Microsoft.SourceLink.AzureRepos.Tfvc.csproj @@ -1,4 +1,6 @@ - + + + net472 true diff --git a/src/SourceLink.AzureRepos.Tfvc/build/Microsoft.SourceLink.AzureRepos.Tfvc.targets b/src/SourceLink.AzureRepos.Tfvc/build/Microsoft.SourceLink.AzureRepos.Tfvc.targets index 5b7be15d..27fb8054 100644 --- a/src/SourceLink.AzureRepos.Tfvc/build/Microsoft.SourceLink.AzureRepos.Tfvc.targets +++ b/src/SourceLink.AzureRepos.Tfvc/build/Microsoft.SourceLink.AzureRepos.Tfvc.targets @@ -1,4 +1,5 @@ - + + <_SourceLinkAzureReposTfvcAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.AzureRepos.Tfvc.dll @@ -22,4 +23,4 @@ - \ No newline at end of file + diff --git a/src/SourceLink.AzureRepos.Tfvc/buildMultiTargeting/Microsoft.SourceLink.AzureRepos.Tfvc.targets b/src/SourceLink.AzureRepos.Tfvc/buildMultiTargeting/Microsoft.SourceLink.AzureRepos.Tfvc.targets index 84afbc37..c72d0e0c 100644 --- a/src/SourceLink.AzureRepos.Tfvc/buildMultiTargeting/Microsoft.SourceLink.AzureRepos.Tfvc.targets +++ b/src/SourceLink.AzureRepos.Tfvc/buildMultiTargeting/Microsoft.SourceLink.AzureRepos.Tfvc.targets @@ -1,4 +1,5 @@ - + + diff --git a/src/SourceLink.Bitbucket.Git.UnitTests/GetSourceLinkUrlTests.cs b/src/SourceLink.Bitbucket.Git.UnitTests/GetSourceLinkUrlTests.cs index 1d7f45e9..10cb201a 100644 --- a/src/SourceLink.Bitbucket.Git.UnitTests/GetSourceLinkUrlTests.cs +++ b/src/SourceLink.Bitbucket.Git.UnitTests/GetSourceLinkUrlTests.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using Microsoft.Build.Evaluation; using Microsoft.Build.Tasks.SourceControl; diff --git a/src/SourceLink.Bitbucket.Git.UnitTests/Microsoft.SourceLink.Bitbucket.Git.UnitTests.csproj b/src/SourceLink.Bitbucket.Git.UnitTests/Microsoft.SourceLink.Bitbucket.Git.UnitTests.csproj index c33cf00f..f20a90b2 100644 --- a/src/SourceLink.Bitbucket.Git.UnitTests/Microsoft.SourceLink.Bitbucket.Git.UnitTests.csproj +++ b/src/SourceLink.Bitbucket.Git.UnitTests/Microsoft.SourceLink.Bitbucket.Git.UnitTests.csproj @@ -1,4 +1,6 @@ - + + + net472;net6.0 diff --git a/src/SourceLink.Bitbucket.Git.UnitTests/TranslateRepositoryUrlsTests.cs b/src/SourceLink.Bitbucket.Git.UnitTests/TranslateRepositoryUrlsTests.cs index 68af468d..4d3f9bfd 100644 --- a/src/SourceLink.Bitbucket.Git.UnitTests/TranslateRepositoryUrlsTests.cs +++ b/src/SourceLink.Bitbucket.Git.UnitTests/TranslateRepositoryUrlsTests.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System.Linq; using TestUtilities; using Xunit; diff --git a/src/SourceLink.Bitbucket.Git/GetSourceLinkUrl.cs b/src/SourceLink.Bitbucket.Git/GetSourceLinkUrl.cs index 66c66349..eea57757 100644 --- a/src/SourceLink.Bitbucket.Git/GetSourceLinkUrl.cs +++ b/src/SourceLink.Bitbucket.Git/GetSourceLinkUrl.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using System.Diagnostics; diff --git a/src/SourceLink.Bitbucket.Git/Microsoft.SourceLink.Bitbucket.Git.csproj b/src/SourceLink.Bitbucket.Git/Microsoft.SourceLink.Bitbucket.Git.csproj index 86fe6336..bf27b3fc 100644 --- a/src/SourceLink.Bitbucket.Git/Microsoft.SourceLink.Bitbucket.Git.csproj +++ b/src/SourceLink.Bitbucket.Git/Microsoft.SourceLink.Bitbucket.Git.csproj @@ -1,4 +1,6 @@ - + + + net472;net6.0 true diff --git a/src/SourceLink.Bitbucket.Git/TranslateRepositoryUrls.cs b/src/SourceLink.Bitbucket.Git/TranslateRepositoryUrls.cs index 75189e9e..0892dda5 100644 --- a/src/SourceLink.Bitbucket.Git/TranslateRepositoryUrls.cs +++ b/src/SourceLink.Bitbucket.Git/TranslateRepositoryUrls.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using Microsoft.Build.Tasks.SourceControl; diff --git a/src/SourceLink.Bitbucket.Git/build/Microsoft.SourceLink.Bitbucket.Git.props b/src/SourceLink.Bitbucket.Git/build/Microsoft.SourceLink.Bitbucket.Git.props index 8710d6aa..5c99acf2 100644 --- a/src/SourceLink.Bitbucket.Git/build/Microsoft.SourceLink.Bitbucket.Git.props +++ b/src/SourceLink.Bitbucket.Git/build/Microsoft.SourceLink.Bitbucket.Git.props @@ -1,4 +1,5 @@ - + + diff --git a/src/SourceLink.Bitbucket.Git/build/Microsoft.SourceLink.Bitbucket.Git.targets b/src/SourceLink.Bitbucket.Git/build/Microsoft.SourceLink.Bitbucket.Git.targets index d826e799..7a6d4eeb 100644 --- a/src/SourceLink.Bitbucket.Git/build/Microsoft.SourceLink.Bitbucket.Git.targets +++ b/src/SourceLink.Bitbucket.Git/build/Microsoft.SourceLink.Bitbucket.Git.targets @@ -1,4 +1,5 @@ - + + <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Bitbucket.Git.dll diff --git a/src/SourceLink.Bitbucket.Git/buildMultiTargeting/Microsoft.SourceLink.Bitbucket.Git.props b/src/SourceLink.Bitbucket.Git/buildMultiTargeting/Microsoft.SourceLink.Bitbucket.Git.props index 9c26c672..afadd0e1 100644 --- a/src/SourceLink.Bitbucket.Git/buildMultiTargeting/Microsoft.SourceLink.Bitbucket.Git.props +++ b/src/SourceLink.Bitbucket.Git/buildMultiTargeting/Microsoft.SourceLink.Bitbucket.Git.props @@ -1,4 +1,5 @@ - + + diff --git a/src/SourceLink.Bitbucket.Git/buildMultiTargeting/Microsoft.SourceLink.Bitbucket.Git.targets b/src/SourceLink.Bitbucket.Git/buildMultiTargeting/Microsoft.SourceLink.Bitbucket.Git.targets index 84afbc37..c72d0e0c 100644 --- a/src/SourceLink.Bitbucket.Git/buildMultiTargeting/Microsoft.SourceLink.Bitbucket.Git.targets +++ b/src/SourceLink.Bitbucket.Git/buildMultiTargeting/Microsoft.SourceLink.Bitbucket.Git.targets @@ -1,4 +1,5 @@ - + + diff --git a/src/SourceLink.Common.UnitTests/GenerateSourceLinkFileTests.cs b/src/SourceLink.Common.UnitTests/GenerateSourceLinkFileTests.cs index 6c04671a..07fa14be 100644 --- a/src/SourceLink.Common.UnitTests/GenerateSourceLinkFileTests.cs +++ b/src/SourceLink.Common.UnitTests/GenerateSourceLinkFileTests.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using System.IO; using Xunit; diff --git a/src/SourceLink.Common.UnitTests/GetSourceLinkUrlTests.cs b/src/SourceLink.Common.UnitTests/GetSourceLinkUrlTests.cs index 96a7dfc5..59ae3b31 100644 --- a/src/SourceLink.Common.UnitTests/GetSourceLinkUrlTests.cs +++ b/src/SourceLink.Common.UnitTests/GetSourceLinkUrlTests.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using Microsoft.Build.Tasks.SourceControl; using TestUtilities; diff --git a/src/SourceLink.Common.UnitTests/Microsoft.SourceLink.Common.UnitTests.csproj b/src/SourceLink.Common.UnitTests/Microsoft.SourceLink.Common.UnitTests.csproj index 45b74dcf..483cab5c 100644 --- a/src/SourceLink.Common.UnitTests/Microsoft.SourceLink.Common.UnitTests.csproj +++ b/src/SourceLink.Common.UnitTests/Microsoft.SourceLink.Common.UnitTests.csproj @@ -1,4 +1,6 @@ - + + + net472;net6.0 diff --git a/src/SourceLink.Common.UnitTests/Mocks/MockGetSourceLinkUrlGitTask.cs b/src/SourceLink.Common.UnitTests/Mocks/MockGetSourceLinkUrlGitTask.cs index 34e1e869..a3707255 100644 --- a/src/SourceLink.Common.UnitTests/Mocks/MockGetSourceLinkUrlGitTask.cs +++ b/src/SourceLink.Common.UnitTests/Mocks/MockGetSourceLinkUrlGitTask.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using System.IO; using Xunit; diff --git a/src/SourceLink.Common.UnitTests/PathUtilitiesTests.cs b/src/SourceLink.Common.UnitTests/PathUtilitiesTests.cs index 431ac354..d9cb5914 100644 --- a/src/SourceLink.Common.UnitTests/PathUtilitiesTests.cs +++ b/src/SourceLink.Common.UnitTests/PathUtilitiesTests.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using TestUtilities; using Microsoft.Build.Tasks.SourceControl; using Xunit; diff --git a/src/SourceLink.Common.UnitTests/TranslateRepositoryUrlsTests.cs b/src/SourceLink.Common.UnitTests/TranslateRepositoryUrlsTests.cs index 9c77a292..a02060bf 100644 --- a/src/SourceLink.Common.UnitTests/TranslateRepositoryUrlsTests.cs +++ b/src/SourceLink.Common.UnitTests/TranslateRepositoryUrlsTests.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System.Linq; using Microsoft.Build.Tasks.SourceControl; using TestUtilities; diff --git a/src/SourceLink.Common.UnitTests/UriUtilitiesTests.cs b/src/SourceLink.Common.UnitTests/UriUtilitiesTests.cs index 9ab1dbb2..ebd428ae 100644 --- a/src/SourceLink.Common.UnitTests/UriUtilitiesTests.cs +++ b/src/SourceLink.Common.UnitTests/UriUtilitiesTests.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using TestUtilities; using Microsoft.Build.Tasks.SourceControl; using Xunit; diff --git a/src/SourceLink.Common/GenerateSourceLinkFile.cs b/src/SourceLink.Common/GenerateSourceLinkFile.cs index b3d763b2..124c937a 100644 --- a/src/SourceLink.Common/GenerateSourceLinkFile.cs +++ b/src/SourceLink.Common/GenerateSourceLinkFile.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using System.Diagnostics.CodeAnalysis; diff --git a/src/SourceLink.Common/Microsoft.SourceLink.Common.csproj b/src/SourceLink.Common/Microsoft.SourceLink.Common.csproj index 66636da6..09ac8ec5 100644 --- a/src/SourceLink.Common/Microsoft.SourceLink.Common.csproj +++ b/src/SourceLink.Common/Microsoft.SourceLink.Common.csproj @@ -1,4 +1,6 @@ - + + + net472;net6.0 true diff --git a/src/SourceLink.Common/SourceLinkHasSingleProvider.cs b/src/SourceLink.Common/SourceLinkHasSingleProvider.cs index c08290e0..98a69084 100644 --- a/src/SourceLink.Common/SourceLinkHasSingleProvider.cs +++ b/src/SourceLink.Common/SourceLinkHasSingleProvider.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using Microsoft.Build.Framework; diff --git a/src/SourceLink.Common/build/InitializeSourceControlInformation.targets b/src/SourceLink.Common/build/InitializeSourceControlInformation.targets index 27233b9b..81703fcb 100644 --- a/src/SourceLink.Common/build/InitializeSourceControlInformation.targets +++ b/src/SourceLink.Common/build/InitializeSourceControlInformation.targets @@ -1,4 +1,5 @@  + diff --git a/src/SourceLink.Common/build/Microsoft.SourceLink.Common.props b/src/SourceLink.Common/build/Microsoft.SourceLink.Common.props index 8840a5e6..2b056fe9 100644 --- a/src/SourceLink.Common/build/Microsoft.SourceLink.Common.props +++ b/src/SourceLink.Common/build/Microsoft.SourceLink.Common.props @@ -1,4 +1,5 @@ - + + <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Common.dll diff --git a/src/SourceLink.Common/build/Microsoft.SourceLink.Common.targets b/src/SourceLink.Common/build/Microsoft.SourceLink.Common.targets index 8b84623a..9a7f4d59 100644 --- a/src/SourceLink.Common/build/Microsoft.SourceLink.Common.targets +++ b/src/SourceLink.Common/build/Microsoft.SourceLink.Common.targets @@ -1,4 +1,5 @@ - + + diff --git a/src/SourceLink.Common/buildMultiTargeting/Microsoft.SourceLink.Common.props b/src/SourceLink.Common/buildMultiTargeting/Microsoft.SourceLink.Common.props index 9c26c672..afadd0e1 100644 --- a/src/SourceLink.Common/buildMultiTargeting/Microsoft.SourceLink.Common.props +++ b/src/SourceLink.Common/buildMultiTargeting/Microsoft.SourceLink.Common.props @@ -1,4 +1,5 @@ - + + diff --git a/src/SourceLink.Common/buildMultiTargeting/Microsoft.SourceLink.Common.targets b/src/SourceLink.Common/buildMultiTargeting/Microsoft.SourceLink.Common.targets index 8ff10e2f..8e8e3be3 100644 --- a/src/SourceLink.Common/buildMultiTargeting/Microsoft.SourceLink.Common.targets +++ b/src/SourceLink.Common/buildMultiTargeting/Microsoft.SourceLink.Common.targets @@ -1,4 +1,5 @@ - + + diff --git a/src/SourceLink.Git.IntegrationTests/AzureDevOpsServerTests.cs b/src/SourceLink.Git.IntegrationTests/AzureDevOpsServerTests.cs index 0f9fa83d..a3772897 100644 --- a/src/SourceLink.Git.IntegrationTests/AzureDevOpsServerTests.cs +++ b/src/SourceLink.Git.IntegrationTests/AzureDevOpsServerTests.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System.IO; using TestUtilities; diff --git a/src/SourceLink.Git.IntegrationTests/AzureReposAndGitHubTests.cs b/src/SourceLink.Git.IntegrationTests/AzureReposAndGitHubTests.cs index 21d2b6b1..fb043223 100644 --- a/src/SourceLink.Git.IntegrationTests/AzureReposAndGitHubTests.cs +++ b/src/SourceLink.Git.IntegrationTests/AzureReposAndGitHubTests.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System.IO; using Microsoft.SourceLink.Common; diff --git a/src/SourceLink.Git.IntegrationTests/AzureReposTests.cs b/src/SourceLink.Git.IntegrationTests/AzureReposTests.cs index 6a488d16..b8542707 100644 --- a/src/SourceLink.Git.IntegrationTests/AzureReposTests.cs +++ b/src/SourceLink.Git.IntegrationTests/AzureReposTests.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System.IO; using TestUtilities; diff --git a/src/SourceLink.Git.IntegrationTests/BitbucketGitTests.cs b/src/SourceLink.Git.IntegrationTests/BitbucketGitTests.cs index efefa8e4..6a37e7b2 100644 --- a/src/SourceLink.Git.IntegrationTests/BitbucketGitTests.cs +++ b/src/SourceLink.Git.IntegrationTests/BitbucketGitTests.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System.IO; using TestUtilities; diff --git a/src/SourceLink.Git.IntegrationTests/GitHubTests.cs b/src/SourceLink.Git.IntegrationTests/GitHubTests.cs index 324d4322..81cd9714 100644 --- a/src/SourceLink.Git.IntegrationTests/GitHubTests.cs +++ b/src/SourceLink.Git.IntegrationTests/GitHubTests.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using System.IO; diff --git a/src/SourceLink.Git.IntegrationTests/GitLabTests.cs b/src/SourceLink.Git.IntegrationTests/GitLabTests.cs index 5185cc49..5707f8d2 100644 --- a/src/SourceLink.Git.IntegrationTests/GitLabTests.cs +++ b/src/SourceLink.Git.IntegrationTests/GitLabTests.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System.IO; using TestUtilities; diff --git a/src/SourceLink.Git.IntegrationTests/GitWebTests.cs b/src/SourceLink.Git.IntegrationTests/GitWebTests.cs index 22080050..5d37d787 100644 --- a/src/SourceLink.Git.IntegrationTests/GitWebTests.cs +++ b/src/SourceLink.Git.IntegrationTests/GitWebTests.cs @@ -1,5 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using Microsoft.Build.Tasks.SourceControl; using System; diff --git a/src/SourceLink.Git.IntegrationTests/GiteaTests.cs b/src/SourceLink.Git.IntegrationTests/GiteaTests.cs index d0c06e9c..7839062b 100644 --- a/src/SourceLink.Git.IntegrationTests/GiteaTests.cs +++ b/src/SourceLink.Git.IntegrationTests/GiteaTests.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System.IO; using TestUtilities; diff --git a/src/SourceLink.Git.IntegrationTests/Microsoft.SourceLink.Git.IntegrationTests.csproj b/src/SourceLink.Git.IntegrationTests/Microsoft.SourceLink.Git.IntegrationTests.csproj index 00993826..8a036556 100644 --- a/src/SourceLink.Git.IntegrationTests/Microsoft.SourceLink.Git.IntegrationTests.csproj +++ b/src/SourceLink.Git.IntegrationTests/Microsoft.SourceLink.Git.IntegrationTests.csproj @@ -1,4 +1,6 @@ - + + + net472;net6.0 diff --git a/src/SourceLink.Git.IntegrationTests/TargetTests.cs b/src/SourceLink.Git.IntegrationTests/TargetTests.cs index 68b63dd0..8b452a39 100644 --- a/src/SourceLink.Git.IntegrationTests/TargetTests.cs +++ b/src/SourceLink.Git.IntegrationTests/TargetTests.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using System.IO; diff --git a/src/SourceLink.Git.IntegrationTests/Utilities/GitUtilities.cs b/src/SourceLink.Git.IntegrationTests/Utilities/GitUtilities.cs index 0e53153d..021cdc37 100644 --- a/src/SourceLink.Git.IntegrationTests/Utilities/GitUtilities.cs +++ b/src/SourceLink.Git.IntegrationTests/Utilities/GitUtilities.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using System.IO; diff --git a/src/SourceLink.Git.IntegrationTests/Utilities/TestUtilities.cs b/src/SourceLink.Git.IntegrationTests/Utilities/TestUtilities.cs index 0ca5030c..208cd2f6 100644 --- a/src/SourceLink.Git.IntegrationTests/Utilities/TestUtilities.cs +++ b/src/SourceLink.Git.IntegrationTests/Utilities/TestUtilities.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System.IO; using System.IO.Compression; diff --git a/src/SourceLink.GitHub.UnitTests/GetSourceLinkUrlTests.cs b/src/SourceLink.GitHub.UnitTests/GetSourceLinkUrlTests.cs index 8ad36929..d91ad538 100644 --- a/src/SourceLink.GitHub.UnitTests/GetSourceLinkUrlTests.cs +++ b/src/SourceLink.GitHub.UnitTests/GetSourceLinkUrlTests.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using Microsoft.Build.Tasks.SourceControl; using TestUtilities; using Xunit; diff --git a/src/SourceLink.GitHub.UnitTests/Microsoft.SourceLink.GitHub.UnitTests.csproj b/src/SourceLink.GitHub.UnitTests/Microsoft.SourceLink.GitHub.UnitTests.csproj index e9f9bf20..af24de0a 100644 --- a/src/SourceLink.GitHub.UnitTests/Microsoft.SourceLink.GitHub.UnitTests.csproj +++ b/src/SourceLink.GitHub.UnitTests/Microsoft.SourceLink.GitHub.UnitTests.csproj @@ -1,4 +1,6 @@ - + + + net472;net6.0 diff --git a/src/SourceLink.GitHub.UnitTests/TranslateRepositoryUrlsTests.cs b/src/SourceLink.GitHub.UnitTests/TranslateRepositoryUrlsTests.cs index 3310cbd3..85aac344 100644 --- a/src/SourceLink.GitHub.UnitTests/TranslateRepositoryUrlsTests.cs +++ b/src/SourceLink.GitHub.UnitTests/TranslateRepositoryUrlsTests.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System.Linq; using TestUtilities; using Xunit; diff --git a/src/SourceLink.GitHub/GetSourceLinkUrl.cs b/src/SourceLink.GitHub/GetSourceLinkUrl.cs index db632e7a..f7a6c601 100644 --- a/src/SourceLink.GitHub/GetSourceLinkUrl.cs +++ b/src/SourceLink.GitHub/GetSourceLinkUrl.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using Microsoft.Build.Framework; diff --git a/src/SourceLink.GitHub/Microsoft.SourceLink.GitHub.csproj b/src/SourceLink.GitHub/Microsoft.SourceLink.GitHub.csproj index aef83a7f..626b9cc5 100644 --- a/src/SourceLink.GitHub/Microsoft.SourceLink.GitHub.csproj +++ b/src/SourceLink.GitHub/Microsoft.SourceLink.GitHub.csproj @@ -1,4 +1,6 @@ - + + + net472;net6.0 true diff --git a/src/SourceLink.GitHub/TranslateRepositoryUrls.cs b/src/SourceLink.GitHub/TranslateRepositoryUrls.cs index fa1b2c6b..61e91713 100644 --- a/src/SourceLink.GitHub/TranslateRepositoryUrls.cs +++ b/src/SourceLink.GitHub/TranslateRepositoryUrls.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using Microsoft.Build.Tasks.SourceControl; diff --git a/src/SourceLink.GitHub/build/Microsoft.SourceLink.GitHub.props b/src/SourceLink.GitHub/build/Microsoft.SourceLink.GitHub.props index 54fdc53c..434ac4c7 100644 --- a/src/SourceLink.GitHub/build/Microsoft.SourceLink.GitHub.props +++ b/src/SourceLink.GitHub/build/Microsoft.SourceLink.GitHub.props @@ -1,4 +1,5 @@ - + + diff --git a/src/SourceLink.GitHub/build/Microsoft.SourceLink.GitHub.targets b/src/SourceLink.GitHub/build/Microsoft.SourceLink.GitHub.targets index e016121b..67ce1b10 100644 --- a/src/SourceLink.GitHub/build/Microsoft.SourceLink.GitHub.targets +++ b/src/SourceLink.GitHub/build/Microsoft.SourceLink.GitHub.targets @@ -1,4 +1,5 @@ - + + <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitHub.dll diff --git a/src/SourceLink.GitHub/buildMultiTargeting/Microsoft.SourceLink.GitHub.props b/src/SourceLink.GitHub/buildMultiTargeting/Microsoft.SourceLink.GitHub.props index 9c26c672..afadd0e1 100644 --- a/src/SourceLink.GitHub/buildMultiTargeting/Microsoft.SourceLink.GitHub.props +++ b/src/SourceLink.GitHub/buildMultiTargeting/Microsoft.SourceLink.GitHub.props @@ -1,4 +1,5 @@ - + + diff --git a/src/SourceLink.GitHub/buildMultiTargeting/Microsoft.SourceLink.GitHub.targets b/src/SourceLink.GitHub/buildMultiTargeting/Microsoft.SourceLink.GitHub.targets index 84afbc37..c72d0e0c 100644 --- a/src/SourceLink.GitHub/buildMultiTargeting/Microsoft.SourceLink.GitHub.targets +++ b/src/SourceLink.GitHub/buildMultiTargeting/Microsoft.SourceLink.GitHub.targets @@ -1,4 +1,5 @@ - + + diff --git a/src/SourceLink.GitLab.UnitTests/GetSourceLinkUrlTests.cs b/src/SourceLink.GitLab.UnitTests/GetSourceLinkUrlTests.cs index dadaccda..e412a6b8 100644 --- a/src/SourceLink.GitLab.UnitTests/GetSourceLinkUrlTests.cs +++ b/src/SourceLink.GitLab.UnitTests/GetSourceLinkUrlTests.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using Microsoft.Build.Tasks.SourceControl; using TestUtilities; using Xunit; diff --git a/src/SourceLink.GitLab.UnitTests/Microsoft.SourceLink.GitLab.UnitTests.csproj b/src/SourceLink.GitLab.UnitTests/Microsoft.SourceLink.GitLab.UnitTests.csproj index 21a594f4..6e3c417f 100644 --- a/src/SourceLink.GitLab.UnitTests/Microsoft.SourceLink.GitLab.UnitTests.csproj +++ b/src/SourceLink.GitLab.UnitTests/Microsoft.SourceLink.GitLab.UnitTests.csproj @@ -1,4 +1,6 @@ - + + + net472;net6.0 diff --git a/src/SourceLink.GitLab.UnitTests/TranslateRepositoryUrlsTests.cs b/src/SourceLink.GitLab.UnitTests/TranslateRepositoryUrlsTests.cs index e536cf20..75caf89d 100644 --- a/src/SourceLink.GitLab.UnitTests/TranslateRepositoryUrlsTests.cs +++ b/src/SourceLink.GitLab.UnitTests/TranslateRepositoryUrlsTests.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System.Linq; using TestUtilities; using Xunit; diff --git a/src/SourceLink.GitLab/GetSourceLinkUrl.cs b/src/SourceLink.GitLab/GetSourceLinkUrl.cs index 2edd3917..5c2f6d5a 100644 --- a/src/SourceLink.GitLab/GetSourceLinkUrl.cs +++ b/src/SourceLink.GitLab/GetSourceLinkUrl.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using Microsoft.Build.Framework; diff --git a/src/SourceLink.GitLab/Microsoft.SourceLink.GitLab.csproj b/src/SourceLink.GitLab/Microsoft.SourceLink.GitLab.csproj index f74e5f49..4a1d0af7 100644 --- a/src/SourceLink.GitLab/Microsoft.SourceLink.GitLab.csproj +++ b/src/SourceLink.GitLab/Microsoft.SourceLink.GitLab.csproj @@ -1,4 +1,6 @@ - + + + net472;net6.0 true diff --git a/src/SourceLink.GitLab/TranslateRepositoryUrls.cs b/src/SourceLink.GitLab/TranslateRepositoryUrls.cs index d56d7f65..78dafccc 100644 --- a/src/SourceLink.GitLab/TranslateRepositoryUrls.cs +++ b/src/SourceLink.GitLab/TranslateRepositoryUrls.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using Microsoft.Build.Tasks.SourceControl; diff --git a/src/SourceLink.GitLab/build/Microsoft.SourceLink.GitLab.targets b/src/SourceLink.GitLab/build/Microsoft.SourceLink.GitLab.targets index 724c0075..20ee5654 100644 --- a/src/SourceLink.GitLab/build/Microsoft.SourceLink.GitLab.targets +++ b/src/SourceLink.GitLab/build/Microsoft.SourceLink.GitLab.targets @@ -1,4 +1,5 @@ - + + <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitLab.dll diff --git a/src/SourceLink.GitLab/buildMultiTargeting/Microsoft.SourceLink.GitLab.targets b/src/SourceLink.GitLab/buildMultiTargeting/Microsoft.SourceLink.GitLab.targets index 84afbc37..c72d0e0c 100644 --- a/src/SourceLink.GitLab/buildMultiTargeting/Microsoft.SourceLink.GitLab.targets +++ b/src/SourceLink.GitLab/buildMultiTargeting/Microsoft.SourceLink.GitLab.targets @@ -1,4 +1,5 @@ - + + diff --git a/src/SourceLink.GitWeb.UnitTests/GetSourceLinkUrlTests.cs b/src/SourceLink.GitWeb.UnitTests/GetSourceLinkUrlTests.cs index b215d1a0..67000094 100644 --- a/src/SourceLink.GitWeb.UnitTests/GetSourceLinkUrlTests.cs +++ b/src/SourceLink.GitWeb.UnitTests/GetSourceLinkUrlTests.cs @@ -1,5 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using Microsoft.Build.Tasks.SourceControl; using TestUtilities; using Xunit; diff --git a/src/SourceLink.GitWeb.UnitTests/Microsoft.SourceLink.GitWeb.UnitTests.csproj b/src/SourceLink.GitWeb.UnitTests/Microsoft.SourceLink.GitWeb.UnitTests.csproj index 0a1d6a86..b4b92f6c 100644 --- a/src/SourceLink.GitWeb.UnitTests/Microsoft.SourceLink.GitWeb.UnitTests.csproj +++ b/src/SourceLink.GitWeb.UnitTests/Microsoft.SourceLink.GitWeb.UnitTests.csproj @@ -1,4 +1,6 @@ - + + + net472;net6.0 diff --git a/src/SourceLink.GitWeb.UnitTests/TranslateRepositoryUrlsTests.cs b/src/SourceLink.GitWeb.UnitTests/TranslateRepositoryUrlsTests.cs index 91ca1976..ac62ba4f 100644 --- a/src/SourceLink.GitWeb.UnitTests/TranslateRepositoryUrlsTests.cs +++ b/src/SourceLink.GitWeb.UnitTests/TranslateRepositoryUrlsTests.cs @@ -1,5 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System.Linq; using TestUtilities; using Xunit; diff --git a/src/SourceLink.GitWeb/GetSourceLinkUrl.cs b/src/SourceLink.GitWeb/GetSourceLinkUrl.cs index da5df319..fea2d2f7 100644 --- a/src/SourceLink.GitWeb/GetSourceLinkUrl.cs +++ b/src/SourceLink.GitWeb/GetSourceLinkUrl.cs @@ -1,5 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using Microsoft.Build.Framework; diff --git a/src/SourceLink.GitWeb/Microsoft.SourceLink.GitWeb.csproj b/src/SourceLink.GitWeb/Microsoft.SourceLink.GitWeb.csproj index e643e97d..19f92a8d 100644 --- a/src/SourceLink.GitWeb/Microsoft.SourceLink.GitWeb.csproj +++ b/src/SourceLink.GitWeb/Microsoft.SourceLink.GitWeb.csproj @@ -1,4 +1,6 @@ - + + + net472;net6.0 true diff --git a/src/SourceLink.GitWeb/TranslateRepositoryUrls.cs b/src/SourceLink.GitWeb/TranslateRepositoryUrls.cs index 591cd7d4..ccb83a0e 100644 --- a/src/SourceLink.GitWeb/TranslateRepositoryUrls.cs +++ b/src/SourceLink.GitWeb/TranslateRepositoryUrls.cs @@ -1,5 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using Microsoft.Build.Tasks.SourceControl; using System; diff --git a/src/SourceLink.GitWeb/build/Microsoft.SourceLink.GitWeb.targets b/src/SourceLink.GitWeb/build/Microsoft.SourceLink.GitWeb.targets index e3f61434..9140d6d4 100644 --- a/src/SourceLink.GitWeb/build/Microsoft.SourceLink.GitWeb.targets +++ b/src/SourceLink.GitWeb/build/Microsoft.SourceLink.GitWeb.targets @@ -1,4 +1,5 @@ - + + <_SourceLinkGitWebAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitWeb.dll diff --git a/src/SourceLink.GitWeb/buildMultiTargeting/Microsoft.SourceLink.GitWeb.targets b/src/SourceLink.GitWeb/buildMultiTargeting/Microsoft.SourceLink.GitWeb.targets index 84afbc37..c72d0e0c 100644 --- a/src/SourceLink.GitWeb/buildMultiTargeting/Microsoft.SourceLink.GitWeb.targets +++ b/src/SourceLink.GitWeb/buildMultiTargeting/Microsoft.SourceLink.GitWeb.targets @@ -1,4 +1,5 @@ - + + diff --git a/src/SourceLink.Gitea.UnitTests/GetSourceLinkUrlTests.cs b/src/SourceLink.Gitea.UnitTests/GetSourceLinkUrlTests.cs index 06e75407..98cab915 100644 --- a/src/SourceLink.Gitea.UnitTests/GetSourceLinkUrlTests.cs +++ b/src/SourceLink.Gitea.UnitTests/GetSourceLinkUrlTests.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using Microsoft.Build.Tasks.SourceControl; using TestUtilities; using Xunit; diff --git a/src/SourceLink.Gitea.UnitTests/Microsoft.SourceLink.Gitea.UnitTests.csproj b/src/SourceLink.Gitea.UnitTests/Microsoft.SourceLink.Gitea.UnitTests.csproj index 513d2842..6da282a2 100644 --- a/src/SourceLink.Gitea.UnitTests/Microsoft.SourceLink.Gitea.UnitTests.csproj +++ b/src/SourceLink.Gitea.UnitTests/Microsoft.SourceLink.Gitea.UnitTests.csproj @@ -1,4 +1,6 @@ - + + + net472;net6.0 diff --git a/src/SourceLink.Gitea.UnitTests/TranslateRepositoryUrlsTests.cs b/src/SourceLink.Gitea.UnitTests/TranslateRepositoryUrlsTests.cs index 3949583d..6578d097 100644 --- a/src/SourceLink.Gitea.UnitTests/TranslateRepositoryUrlsTests.cs +++ b/src/SourceLink.Gitea.UnitTests/TranslateRepositoryUrlsTests.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System.Linq; using TestUtilities; using Xunit; diff --git a/src/SourceLink.Gitea/GetSourceLinkUrl.cs b/src/SourceLink.Gitea/GetSourceLinkUrl.cs index 5d5526e7..22cd3d82 100644 --- a/src/SourceLink.Gitea/GetSourceLinkUrl.cs +++ b/src/SourceLink.Gitea/GetSourceLinkUrl.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using Microsoft.Build.Framework; diff --git a/src/SourceLink.Gitea/Microsoft.SourceLink.Gitea.csproj b/src/SourceLink.Gitea/Microsoft.SourceLink.Gitea.csproj index c4d0b140..fa9e33e4 100644 --- a/src/SourceLink.Gitea/Microsoft.SourceLink.Gitea.csproj +++ b/src/SourceLink.Gitea/Microsoft.SourceLink.Gitea.csproj @@ -1,4 +1,6 @@ - + + + net472;net6.0 true diff --git a/src/SourceLink.Gitea/TranslateRepositoryUrls.cs b/src/SourceLink.Gitea/TranslateRepositoryUrls.cs index 1bc949a7..b3e5d9c3 100644 --- a/src/SourceLink.Gitea/TranslateRepositoryUrls.cs +++ b/src/SourceLink.Gitea/TranslateRepositoryUrls.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using Microsoft.Build.Tasks.SourceControl; diff --git a/src/SourceLink.Gitea/build/Microsoft.SourceLink.Gitea.targets b/src/SourceLink.Gitea/build/Microsoft.SourceLink.Gitea.targets index d86a5d33..a7882e5e 100644 --- a/src/SourceLink.Gitea/build/Microsoft.SourceLink.Gitea.targets +++ b/src/SourceLink.Gitea/build/Microsoft.SourceLink.Gitea.targets @@ -1,4 +1,5 @@ - + + <_SourceLinkGiteaAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Gitea.dll diff --git a/src/SourceLink.Gitea/buildMultiTargeting/Microsoft.SourceLink.Gitea.targets b/src/SourceLink.Gitea/buildMultiTargeting/Microsoft.SourceLink.Gitea.targets index 84afbc37..c72d0e0c 100644 --- a/src/SourceLink.Gitea/buildMultiTargeting/Microsoft.SourceLink.Gitea.targets +++ b/src/SourceLink.Gitea/buildMultiTargeting/Microsoft.SourceLink.Gitea.targets @@ -1,4 +1,5 @@ - + + diff --git a/src/SourceLink.Tools.UnitTests/Microsoft.SourceLink.Tools.UnitTests.csproj b/src/SourceLink.Tools.UnitTests/Microsoft.SourceLink.Tools.UnitTests.csproj index 5122b50e..c56375f7 100644 --- a/src/SourceLink.Tools.UnitTests/Microsoft.SourceLink.Tools.UnitTests.csproj +++ b/src/SourceLink.Tools.UnitTests/Microsoft.SourceLink.Tools.UnitTests.csproj @@ -1,4 +1,6 @@ - + + + net472;net6.0 diff --git a/src/SourceLink.Tools.UnitTests/SourceLinkMapTests.cs b/src/SourceLink.Tools.UnitTests/SourceLinkMapTests.cs index db134dfa..db6cb9f5 100644 --- a/src/SourceLink.Tools.UnitTests/SourceLinkMapTests.cs +++ b/src/SourceLink.Tools.UnitTests/SourceLinkMapTests.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using System.Collections.Generic; diff --git a/src/SourceLink.Tools/Microsoft.SourceLink.Tools.Package.csproj b/src/SourceLink.Tools/Microsoft.SourceLink.Tools.Package.csproj index baea22f8..5d17262c 100644 --- a/src/SourceLink.Tools/Microsoft.SourceLink.Tools.Package.csproj +++ b/src/SourceLink.Tools/Microsoft.SourceLink.Tools.Package.csproj @@ -1,5 +1,5 @@  - + net6.0;netstandard2.0 @@ -21,4 +21,4 @@ - \ No newline at end of file + diff --git a/src/SourceLink.Tools/SourceLinkMap.cs b/src/SourceLink.Tools/SourceLinkMap.cs index 2aff6b81..1218c9c4 100644 --- a/src/SourceLink.Tools/SourceLinkMap.cs +++ b/src/SourceLink.Tools/SourceLinkMap.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. #nullable enable @@ -226,4 +228,4 @@ private static bool TryParseEntry(string key, string value, out Entry entry) return false; } } -} \ No newline at end of file +} diff --git a/src/TestUtilities/AssertEx.cs b/src/TestUtilities/AssertEx.cs index 82cc2eb1..804ac4d7 100644 --- a/src/TestUtilities/AssertEx.cs +++ b/src/TestUtilities/AssertEx.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using System.Collections; diff --git a/src/TestUtilities/ConditionalFactAttribute.cs b/src/TestUtilities/ConditionalFactAttribute.cs index 8a013c7b..720b84c7 100644 --- a/src/TestUtilities/ConditionalFactAttribute.cs +++ b/src/TestUtilities/ConditionalFactAttribute.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using System.IO; diff --git a/src/TestUtilities/DiffUtil.cs b/src/TestUtilities/DiffUtil.cs index 5bcbc94c..2cbf156f 100644 --- a/src/TestUtilities/DiffUtil.cs +++ b/src/TestUtilities/DiffUtil.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using System.Collections.Generic; diff --git a/src/TestUtilities/DotNetSdk/BuildInfoAttribute.cs b/src/TestUtilities/DotNetSdk/BuildInfoAttribute.cs index fc9ba9fc..d4830392 100644 --- a/src/TestUtilities/DotNetSdk/BuildInfoAttribute.cs +++ b/src/TestUtilities/DotNetSdk/BuildInfoAttribute.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; namespace TestUtilities diff --git a/src/TestUtilities/DotNetSdk/DotNetSdkTestBase.cs b/src/TestUtilities/DotNetSdk/DotNetSdkTestBase.cs index a9936150..8608bf80 100644 --- a/src/TestUtilities/DotNetSdk/DotNetSdkTestBase.cs +++ b/src/TestUtilities/DotNetSdk/DotNetSdkTestBase.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using System.Collections.Generic; using System.Diagnostics; diff --git a/src/TestUtilities/EnumerableExtensions.cs b/src/TestUtilities/EnumerableExtensions.cs index c86b6cdc..e4c90136 100644 --- a/src/TestUtilities/EnumerableExtensions.cs +++ b/src/TestUtilities/EnumerableExtensions.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using System.Collections.Generic; diff --git a/src/TestUtilities/KeyValuePairUtils.cs b/src/TestUtilities/KeyValuePairUtils.cs index a452e9ff..2a3abc5e 100644 --- a/src/TestUtilities/KeyValuePairUtils.cs +++ b/src/TestUtilities/KeyValuePairUtils.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System.Collections.Generic; diff --git a/src/TestUtilities/MockEngine.cs b/src/TestUtilities/MockEngine.cs index d29fe2be..3fcb3ad1 100644 --- a/src/TestUtilities/MockEngine.cs +++ b/src/TestUtilities/MockEngine.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// 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.txt file in the project root for more information. using System; using System.Collections; diff --git a/src/TestUtilities/MockItem.cs b/src/TestUtilities/MockItem.cs index 0b33105c..e2b0e8ef 100644 --- a/src/TestUtilities/MockItem.cs +++ b/src/TestUtilities/MockItem.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// 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.txt file in the project root for more information. using System; using System.Collections; diff --git a/src/TestUtilities/ProcessResult.cs b/src/TestUtilities/ProcessResult.cs index ef41d145..072e56a0 100644 --- a/src/TestUtilities/ProcessResult.cs +++ b/src/TestUtilities/ProcessResult.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; @@ -39,4 +41,4 @@ public bool ContainsErrors get { return this.ExitCode != 0 || !string.IsNullOrEmpty(this.Errors); } } } -} \ No newline at end of file +} diff --git a/src/TestUtilities/ProcessUtilities.cs b/src/TestUtilities/ProcessUtilities.cs index 445b54cb..dc35fdea 100644 --- a/src/TestUtilities/ProcessUtilities.cs +++ b/src/TestUtilities/ProcessUtilities.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using System.Collections.Generic; diff --git a/src/TestUtilities/TempFiles/DisposableDirectory.cs b/src/TestUtilities/TempFiles/DisposableDirectory.cs index abf9af44..ef5536de 100644 --- a/src/TestUtilities/TempFiles/DisposableDirectory.cs +++ b/src/TestUtilities/TempFiles/DisposableDirectory.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using System.IO; diff --git a/src/TestUtilities/TempFiles/DisposableFile.cs b/src/TestUtilities/TempFiles/DisposableFile.cs index cd7669d9..35784a5a 100644 --- a/src/TestUtilities/TempFiles/DisposableFile.cs +++ b/src/TestUtilities/TempFiles/DisposableFile.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using System.IO; diff --git a/src/TestUtilities/TempFiles/TempDirectory.cs b/src/TestUtilities/TempFiles/TempDirectory.cs index e6860d82..f3be0afd 100644 --- a/src/TestUtilities/TempFiles/TempDirectory.cs +++ b/src/TestUtilities/TempFiles/TempDirectory.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using System.Diagnostics; diff --git a/src/TestUtilities/TempFiles/TempFile.cs b/src/TestUtilities/TempFiles/TempFile.cs index 0bd9dc32..3b921b6c 100644 --- a/src/TestUtilities/TempFiles/TempFile.cs +++ b/src/TestUtilities/TempFiles/TempFile.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using System.Collections.Immutable; diff --git a/src/TestUtilities/TempFiles/TempRoot.cs b/src/TestUtilities/TempFiles/TempRoot.cs index 5e5083ea..69202a53 100644 --- a/src/TestUtilities/TempFiles/TempRoot.cs +++ b/src/TestUtilities/TempFiles/TempRoot.cs @@ -1,4 +1,6 @@ -// 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. +// See the License.txt file in the project root for more information. using System; using System.Collections.Concurrent; diff --git a/src/TestUtilities/TestUtilities.csproj b/src/TestUtilities/TestUtilities.csproj index b5572c7c..95630830 100644 --- a/src/TestUtilities/TestUtilities.csproj +++ b/src/TestUtilities/TestUtilities.csproj @@ -1,4 +1,6 @@ - + + + net472;net6.0 false