Skip to content

Include all projects in NuGet package #57

Include all projects in NuGet package

Include all projects in NuGet package #57

Triggered via pull request June 24, 2023 07:56
Status Failure
Total duration 4m 53s
Artifacts

PR.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 20 warnings
ubuntu-latest
/usr/share/dotnet/sdk/7.0.304/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.ApiCompat.ValidatePackage.targets(39,5): error CP0006: Cannot add interface member 'NPOI.SS.UserModel.ICell.SetCellValue(System.DateOnly)' to lib/net6.0/NPOI.Core.dll because it does not exist on lib/netstandard2.1/NPOI.Core.dll [/home/runner/work/npoi/npoi/solution/NPOI.Pack.csproj]
ubuntu-latest
Target "Pack" has thrown an exception
ubuntu-latest
Process completed with exit code 255.
windows-latest
C:\Program Files\dotnet\sdk\7.0.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.ApiCompat.ValidatePackage.targets(39,5): error CP0006: Cannot add interface member 'NPOI.SS.UserModel.ICell.SetCellValue(System.DateOnly)' to lib/net6.0/NPOI.Core.dll because it does not exist on lib/netstandard2.1/NPOI.Core.dll [D:\a\npoi\npoi\solution\NPOI.Pack.csproj]
windows-latest
Target "Pack" has thrown an exception
windows-latest
Process completed with exit code 1.
ubuntu-latest
/home/runner/work/npoi/npoi/main/POIFS/Crypt/Standard/StandardDecryptor.cs(225,20): warning CS0114: 'CipherInputStream.Read(byte[])' hides inherited member 'InputStream.Read(byte[])'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword. [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=netstandard2.1]
ubuntu-latest
/home/runner/work/npoi/npoi/main/POIFS/Crypt/Standard/StandardDecryptor.cs(262,21): warning CS0114: 'CipherInputStream.Skip(long)' hides inherited member 'InputStream.Skip(long)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword. [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=netstandard2.1]
ubuntu-latest
/home/runner/work/npoi/npoi/main/POIFS/Crypt/Standard/StandardDecryptor.cs(305,21): warning CS0114: 'CipherInputStream.MarkSupported()' hides inherited member 'ByteArrayInputStream.MarkSupported()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword. [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=netstandard2.1]
ubuntu-latest
/home/runner/work/npoi/npoi/main/POIFS/FileSystem/POIFSFileSystem.cs(66,30): warning CS0108: 'POIFSFileSystem.CreateNonClosingInputStream(Stream)' hides inherited member 'NPOIFSFileSystem.CreateNonClosingInputStream(Stream)'. Use the new keyword if hiding was intended. [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=netstandard2.1]
ubuntu-latest
/home/runner/work/npoi/npoi/main/SS/Formula/Eval/FunctionEval.cs(62,37): warning CS0628: 'FunctionEval.functions': new protected member declared in sealed type [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=netstandard2.1]
ubuntu-latest
/home/runner/work/npoi/npoi/main/SS/UserModel/Workbook.cs(447,14): warning CS0108: 'IWorkbook.Close()' hides inherited member 'ICloseable.Close()'. Use the new keyword if hiding was intended. [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=netstandard2.1]
ubuntu-latest
/home/runner/work/npoi/npoi/main/Util/StringUtil.cs(514,49): warning CS0472: The result of the expression is always 'false' since a value of type 'int' is never equal to 'null' of type 'int?' [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=netstandard2.1]
ubuntu-latest
/home/runner/work/npoi/npoi/main/SS/Formula/Functions/FinanceFunction.cs(96,13): warning CS0162: Unreachable code detected [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=netstandard2.1]
ubuntu-latest
/home/runner/work/npoi/npoi/main/SS/Formula/Functions/Countif.cs(341,21): warning CS0162: Unreachable code detected [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=netstandard2.1]
ubuntu-latest
/home/runner/work/npoi/npoi/main/SS/Formula/Atp/DateParser.cs(86,17): warning CS0162: Unreachable code detected [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=netstandard2.1]
windows-latest
D:\a\npoi\npoi\main\POIFS\Crypt\Standard\StandardDecryptor.cs(225,20): warning CS0114: 'CipherInputStream.Read(byte[])' hides inherited member 'InputStream.Read(byte[])'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword. [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=netstandard2.0]
windows-latest
D:\a\npoi\npoi\main\POIFS\Crypt\Standard\StandardDecryptor.cs(262,21): warning CS0114: 'CipherInputStream.Skip(long)' hides inherited member 'InputStream.Skip(long)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword. [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=netstandard2.0]
windows-latest
D:\a\npoi\npoi\main\POIFS\Crypt\Standard\StandardDecryptor.cs(305,21): warning CS0114: 'CipherInputStream.MarkSupported()' hides inherited member 'ByteArrayInputStream.MarkSupported()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword. [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=netstandard2.0]
windows-latest
D:\a\npoi\npoi\main\POIFS\FileSystem\POIFSFileSystem.cs(66,30): warning CS0108: 'POIFSFileSystem.CreateNonClosingInputStream(Stream)' hides inherited member 'NPOIFSFileSystem.CreateNonClosingInputStream(Stream)'. Use the new keyword if hiding was intended. [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=netstandard2.0]
windows-latest
D:\a\npoi\npoi\main\SS\Formula\Eval\FunctionEval.cs(62,37): warning CS0628: 'FunctionEval.functions': new protected member declared in sealed type [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=netstandard2.0]
windows-latest
D:\a\npoi\npoi\main\SS\UserModel\Workbook.cs(447,14): warning CS0108: 'IWorkbook.Close()' hides inherited member 'ICloseable.Close()'. Use the new keyword if hiding was intended. [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=netstandard2.0]
windows-latest
D:\a\npoi\npoi\main\Util\StringUtil.cs(514,49): warning CS0472: The result of the expression is always 'false' since a value of type 'int' is never equal to 'null' of type 'int?' [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=netstandard2.0]
windows-latest
D:\a\npoi\npoi\main\SS\Formula\Functions\FinanceFunction.cs(96,13): warning CS0162: Unreachable code detected [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=netstandard2.0]
windows-latest
D:\a\npoi\npoi\main\SS\Formula\Functions\Countif.cs(341,21): warning CS0162: Unreachable code detected [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=netstandard2.0]
windows-latest
D:\a\npoi\npoi\main\SS\Formula\Atp\DateParser.cs(86,17): warning CS0162: Unreachable code detected [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=netstandard2.0]