Skip to content

Commit 655e643

Browse files
authored
Adding third party notice for code coverage, (#2886)
1 parent 2acc8af commit 655e643

File tree

5 files changed

+72
-1
lines changed

5 files changed

+72
-1
lines changed

scripts/build.ps1

+1
Original file line numberDiff line numberDiff line change
@@ -902,6 +902,7 @@ function Create-NugetPackages
902902
# Copy empty and third patry notice file
903903
Copy-Item $tpNuspecDir\"_._" $stagingDir -Force
904904
Copy-Item $tpNuspecDir\..\"ThirdPartyNotices.txt" $stagingDir -Force
905+
Copy-Item $tpNuspecDir\..\"ThirdPartyNoticesCodeCoverage.txt" $stagingDir -Force
905906

906907
# Copy licenses folder
907908
Copy-Item (Join-Path $env:TP_PACKAGE_PROJ_DIR "licenses") $stagingDir -Force -Recurse

scripts/verify-nupkgs.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function Verify-Nuget-Packages($packageDirectory, $version)
1212
{
1313
Write-Log "Starting Verify-Nuget-Packages."
1414
$expectedNumOfFiles = @{
15-
"Microsoft.CodeCoverage" = 57;
15+
"Microsoft.CodeCoverage" = 59;
1616
"Microsoft.NET.Test.Sdk" = 27;
1717
"Microsoft.TestPlatform" = 494;
1818
"Microsoft.TestPlatform.Build" = 21;

src/package/ThirdPartyNotices.txt

+29
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ informational purposes only. Microsoft reserves all rights not expressly granted
99
implication, estoppel or otherwise.
1010

1111
1. Newtonsoft version 9.0.1 (https://github.com/JamesNK/Newtonsoft.Json)
12+
2. Mono.Cecil version 0.11.3 (https://github.com/jbevain/cecil)
1213

1314

1415

@@ -33,3 +34,31 @@ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTI
3334
THE USE OR OTHER DEALINGS IN THE SOFTWARE.
3435
=========================================
3536
END OF Newtonsoft NOTICES AND INFORMATION
37+
38+
39+
40+
%% Mono.Cecil NOTICES AND INFORMATION BEGIN HERE
41+
=========================================
42+
Copyright (c) 2008 - 2015 Jb Evain
43+
Copyright (c) 2008 - 2011 Novell, Inc.
44+
45+
Permission is hereby granted, free of charge, to any person obtaining
46+
a copy of this software and associated documentation files (the
47+
"Software"), to deal in the Software without restriction, including
48+
without limitation the rights to use, copy, modify, merge, publish,
49+
distribute, sublicense, and/or sell copies of the Software, and to
50+
permit persons to whom the Software is furnished to do so, subject to
51+
the following conditions:
52+
53+
The above copyright notice and this permission notice shall be
54+
included in all copies or substantial portions of the Software.
55+
56+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
57+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
58+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
59+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
60+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
61+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
62+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
63+
=========================================
64+
END OF Mono.Cecil NOTICES AND INFORMATION
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
CodeCoverage
2+
3+
THIRD-PARTY SOFTWARE NOTICES AND INFORMATION
4+
Do Not Translate or Localize
5+
6+
This software incorporates components from the projects listed below. The original copyright notices
7+
and the licenses under which Microsoft received such components are set forth below and are provided for
8+
informational purposes only. Microsoft reserves all rights not expressly granted herein, whether by
9+
implication, estoppel or otherwise.
10+
11+
1. Mono.Cecil version 0.11.3 (https://github.com/jbevain/cecil)
12+
13+
14+
15+
%% Mono.Cecil NOTICES AND INFORMATION BEGIN HERE
16+
=========================================
17+
Copyright (c) 2008 - 2015 Jb Evain
18+
Copyright (c) 2008 - 2011 Novell, Inc.
19+
20+
Permission is hereby granted, free of charge, to any person obtaining
21+
a copy of this software and associated documentation files (the
22+
"Software"), to deal in the Software without restriction, including
23+
without limitation the rights to use, copy, modify, merge, publish,
24+
distribute, sublicense, and/or sell copies of the Software, and to
25+
permit persons to whom the Software is furnished to do so, subject to
26+
the following conditions:
27+
28+
The above copyright notice and this permission notice shall be
29+
included in all copies or substantial portions of the Software.
30+
31+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
32+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
33+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
34+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
35+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
36+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
37+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
38+
=========================================
39+
END OF Mono.Cecil NOTICES AND INFORMATION

src/package/nuspec/Microsoft.CodeCoverage.nuspec

+2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
<files>
2929
<file src="Icon.png" target="" />
3030
<file src="licenses\LICENSE_NET.txt" target="" />
31+
<file src="ThirdPartyNoticesCodeCoverage.txt" target="ThirdPartyNotices.txt" />
32+
<file src="ThirdPartyNoticesCodeCoverage.txt" target="build\netstandard1.0\ThirdPartyNotices.txt" />
3133
<file src="Microsoft.CodeCoverage.props" target="build\netstandard1.0\" />
3234
<file src="Microsoft.CodeCoverage.targets" target="build\netstandard1.0\" />
3335
<file src="Microsoft.CodeCoverage\Microsoft.VisualStudio.TraceDataCollector.dll" target="build\netstandard1.0\" />

0 commit comments

Comments
 (0)