Skip to content

Commit

Permalink
Change license packages that use .NET Library license to MIT (#4658)
Browse files Browse the repository at this point in the history
  • Loading branch information
nohwnd committed Aug 21, 2023
1 parent 370762c commit 3fe577c
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 71 deletions.
4 changes: 2 additions & 2 deletions Directory.Build.props
Expand Up @@ -70,8 +70,8 @@
<PropertyGroup>
<Copyright>$(CopyrightMicrosoft)</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageLicenseFile>LICENSE_NET.txt</PackageLicenseFile>
<PackageLicenseFullPath>$(SrcPackageFolder)licenses/LICENSE_NET.txt</PackageLicenseFullPath>
<PackageLicenseFile>LICENSE_MIT.txt</PackageLicenseFile>
<PackageLicenseFullPath>$(SrcPackageFolder)licenses/LICENSE_MIT.txt</PackageLicenseFullPath>
<!-- Prevent warning about deprecated target frameworks -->
<CheckEolTargetFramework>false</CheckEolTargetFramework>
<DefineConstants Condition=" '$(DotNetBuildFromSource)' == 'true' ">$(DefineConstants);DOTNET_BUILD_FROM_SOURCE</DefineConstants>
Expand Down
24 changes: 24 additions & 0 deletions src/package/licenses/LICENSE_MIT.txt
@@ -0,0 +1,24 @@
The MIT License (MIT)

Copyright (c) Microsoft Corporation

All rights reserved.

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:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

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.

65 changes: 0 additions & 65 deletions src/package/licenses/LICENSE_NET.txt

This file was deleted.

Expand Up @@ -7,7 +7,7 @@
<authors>Microsoft</authors>
<owners>Microsoft</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<license type="file">LICENSE_NET.txt</license>
<license type="file">LICENSE_MIT.txt</license>
<iconUrl>http://go.microsoft.com/fwlink/?LinkID=288859</iconUrl>
<description>MSDia typelib for reading debug symbols from managed code.</description>
<copyright>Copyright © Microsoft Corporation</copyright>
Expand All @@ -17,7 +17,7 @@
</contentFiles>
</metadata>
<files>
<file src="package\licenses\LICENSE_NET.txt" target="" />
<file src="package\licenses\LICENSE_MIT.txt" target="" />
<file src="CPPSimpleProj\Release\Microsoft.TestPlatform.TestAsset.NativeCPP.dll" target="contentFiles\any\any\" />
<file src="CPPSimpleProj\x64\Release\Microsoft.TestPlatform.TestAsset.NativeCPP.dll" target="contentFiles\any\any\x64" />
<file src="ConsoleNativeApp\Release\Microsoft.TestPlatform.TestAsset.ConsoleNativeApp.exe" target="contentFiles\any\any\" />
Expand Down
Expand Up @@ -7,7 +7,7 @@
<authors>Microsoft</authors>
<owners>Microsoft</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<license type="file">LICENSE_NET.txt</license>
<license type="file">LICENSE_MIT.txt</license>
<iconUrl>http://go.microsoft.com/fwlink/?LinkID=288859</iconUrl>
<description>MSDia typelib for reading debug symbols from managed code.</description>
<copyright>Copyright © Microsoft Corporation</copyright>
Expand All @@ -17,7 +17,7 @@
</contentFiles>
</metadata>
<files>
<file src="package\licenses\LICENSE_NET.txt" target="" />
<file src="package\licenses\LICENSE_MIT.txt" target="" />
<file src="BingWebTest\bin\*.*" target="contentFiles\any\any\WebTestAssets" />
</files>
</package>

0 comments on commit 3fe577c

Please sign in to comment.