Skip to content

Simplify and improve pdfium native lib loading #191

Simplify and improve pdfium native lib loading

Simplify and improve pdfium native lib loading #191

Triggered via pull request October 12, 2023 18:47
Status Failure
Total duration 20m 9s
Artifacts

dotnet.yml

on: pull_request
Matrix: test
Publish tests results
13s
Publish tests results
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 14 warnings
Build
resource style/Theme.MaterialComponents.Light.DarkActionBar (aka com.companyname.monoandroid:style/Theme.MaterialComponents.Light.DarkActionBar) not found.
Build: src/FrameworkTests/MonoAndroid/Resources/values/styles.xml#L2
style attribute 'attr/colorPrimary (aka com.companyname.monoandroid:attr/colorPrimary)' not found.
Build: src/FrameworkTests/MonoAndroid/Resources/values/styles.xml#L2
style attribute 'attr/colorPrimaryDark (aka com.companyname.monoandroid:attr/colorPrimaryDark)' not found.
Build: src/FrameworkTests/MonoAndroid/Resources/values/styles.xml#L2
style attribute 'attr/colorAccent (aka com.companyname.monoandroid:attr/colorAccent)' not found.
Build
resource style/ThemeOverlay.MaterialComponents.Dark.ActionBar (aka com.companyname.monoandroid:style/ThemeOverlay.MaterialComponents.Dark.ActionBar) not found.
Build: src/FrameworkTests/MonoAndroid/Resources/values/styles.xml#L2
style attribute 'attr/windowActionBar (aka com.companyname.monoandroid:attr/windowActionBar)' not found.
Build: src/FrameworkTests/MonoAndroid/Resources/values/styles.xml#L2
style attribute 'attr/windowNoTitle (aka com.companyname.monoandroid:attr/windowNoTitle)' not found.
Build
resource style/ThemeOverlay.MaterialComponents.Light (aka com.companyname.monoandroid:style/ThemeOverlay.MaterialComponents.Light) not found.
Build
failed linking references.
Build
Process completed with exit code 1.
SonarCloud: src/PDFtoImage/PdfiumViewer/PdfFile.cs#L193
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
SonarCloud: src/PDFtoImage/PdfiumViewer/NativeMethods.Pdfium.cs#L575
Remove the unused private field 'Release'. (https://rules.sonarsource.com/csharp/RSPEC-1144)
SonarCloud: src/PDFtoImage/PdfiumViewer/NativeMethods.Pdfium.cs#L577
Remove the unused private field 'FFI_Invalidate'. (https://rules.sonarsource.com/csharp/RSPEC-1144)
SonarCloud: src/PDFtoImage/PdfiumViewer/NativeMethods.Pdfium.cs#L579
Remove the unused private field 'FFI_OutputSelectedRect'. (https://rules.sonarsource.com/csharp/RSPEC-1144)
SonarCloud: src/PDFtoImage/PdfiumViewer/NativeMethods.Pdfium.cs#L581
Remove the unused private field 'FFI_SetCursor'. (https://rules.sonarsource.com/csharp/RSPEC-1144)
SonarCloud: src/PDFtoImage/PdfiumViewer/NativeMethods.Pdfium.cs#L583
Remove the unused private field 'FFI_SetTimer'. (https://rules.sonarsource.com/csharp/RSPEC-1144)
SonarCloud: src/PDFtoImage/PdfiumViewer/NativeMethods.Pdfium.cs#L585
Remove the unused private field 'FFI_KillTimer'. (https://rules.sonarsource.com/csharp/RSPEC-1144)
SonarCloud: src/PDFtoImage/PdfiumViewer/NativeMethods.Pdfium.cs#L587
Remove the unused private field 'FFI_GetLocalTime'. (https://rules.sonarsource.com/csharp/RSPEC-1144)
SonarCloud: src/PDFtoImage/PdfiumViewer/NativeMethods.Pdfium.cs#L589
Remove the unused private field 'FFI_OnChange'. (https://rules.sonarsource.com/csharp/RSPEC-1144)
SonarCloud: src/PDFtoImage/PdfiumViewer/NativeMethods.Pdfium.cs#L591
Remove the unused private field 'FFI_GetPage'. (https://rules.sonarsource.com/csharp/RSPEC-1144)
Build: src/FrameworkTests/MauiApp/MainPage.xaml.cs#L18
This call site is reachable on: 'iOS' 11.0 and later, 'maccatalyst' 11.0 and later. 'Conversion.ToImage(Stream, string?, int, int, int?, int?, bool, bool, bool, PdfRotation)' is only supported on: 'Android' 31.0 and later, 'Linux', 'macOS/OSX', 'Windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build: src/FrameworkTests/MauiApp/MainPage.xaml.cs#L18
This call site is reachable on: 'MacCatalyst' 13.1 and later. 'Conversion.ToImage(Stream, string?, int, int, int?, int?, bool, bool, bool, PdfRotation)' is only supported on: 'Android' 31.0 and later, 'Linux', 'macOS/OSX', 'Windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build: src/FrameworkTests/AspNetCore/Program.cs#L25
This call site is reachable on all platforms. 'Conversion.ToImage(Stream, string?, int, int, int?, int?, bool, bool, bool, PdfRotation)' is only supported on: 'Android' 31.0 and later, 'Linux', 'macOS/OSX', 'Windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Publish tests results
Could not find any files for artifacts/**/*.trx