Skip to content

Build: setup .NET 9 for unit test as well #317

Build: setup .NET 9 for unit test as well

Build: setup .NET 9 for unit test as well #317

Triggered via push November 13, 2024 17:45
Status Failure
Total duration 19m 45s
Artifacts 1
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 22 warnings
Test
To build this project, the following workloads must be installed: maui-tizen
Test
To install these workloads, run the following command: dotnet workload restore
Test
Process completed with exit code 1.
Windows: src/NewsReader/NewsReader.Presentation/App.xaml.cs#L42
'Application.MainPage.set' is obsolete: 'This property is deprecated. Initialize your application by overriding Application.CreateWindow rather than setting MainPage. To modify the root page in an active application, use Windows[0].Page for applications with a single window. For applications with multiple windows, use Application.Windows to identify and update the root page on the correct window. Additionally, each element features a Window property, accessible when it's part of the current window.'
Windows: src/NewsReader/NewsReader.Presentation/Services/MessageService.cs#L8
'Application.MainPage.get' is obsolete: 'This property has been deprecated. For single-window applications, use Windows[0].Page. For multi-window applications, identify and use the appropriate Window object to access the desired Page. Additionally, each element features a Window property, accessible when it's part of the current window.'
Windows: src/NewsReader/NewsReader.Presentation/Services/MessageService.cs#L10
'Application.MainPage.get' is obsolete: 'This property has been deprecated. For single-window applications, use Windows[0].Page. For multi-window applications, identify and use the appropriate Window object to access the desired Page. Additionally, each element features a Window property, accessible when it's part of the current window.'
Windows: src/NewsReader/NewsReader.Presentation/Services/DataService.cs#L19
Prefer 'System.Convert.ToHexString(byte[])' over call chains based on 'System.BitConverter.ToString(byte[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1872)
Windows: src/NewsReader/NewsReader.MauiSystem/MauiModule.cs#L5
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
Windows: src/NewsReader/NewsReader.MauiSystem/MauiProgram.cs#L8
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
Windows: src/NewsReader/NewsReader.MauiSystem/Platforms/Windows/App.xaml.cs#L3
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
Android: src/NewsReader/NewsReader.Presentation/App.xaml.cs#L42
'Application.MainPage.set' is obsolete: 'This property is deprecated. Initialize your application by overriding Application.CreateWindow rather than setting MainPage. To modify the root page in an active application, use Windows[0].Page for applications with a single window. For applications with multiple windows, use Application.Windows to identify and update the root page on the correct window. Additionally, each element features a Window property, accessible when it's part of the current window.'
Android: src/NewsReader/NewsReader.Presentation/Services/MessageService.cs#L8
'Application.MainPage.get' is obsolete: 'This property has been deprecated. For single-window applications, use Windows[0].Page. For multi-window applications, identify and use the appropriate Window object to access the desired Page. Additionally, each element features a Window property, accessible when it's part of the current window.'
Android: src/NewsReader/NewsReader.Presentation/Services/MessageService.cs#L10
'Application.MainPage.get' is obsolete: 'This property has been deprecated. For single-window applications, use Windows[0].Page. For multi-window applications, identify and use the appropriate Window object to access the desired Page. Additionally, each element features a Window property, accessible when it's part of the current window.'
Android: src/NewsReader/NewsReader.Presentation/App.xaml.cs#L71
Member 'OnDeactivated' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
Android: src/NewsReader/NewsReader.Presentation/Services/DataService.cs#L19
Prefer 'System.Convert.ToHexString(byte[])' over call chains based on 'System.BitConverter.ToString(byte[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1872)
iOS: src/NewsReader/NewsReader.Presentation/App.xaml.cs#L42
'Application.MainPage.set' is obsolete: 'This property is deprecated. Initialize your application by overriding Application.CreateWindow rather than setting MainPage. To modify the root page in an active application, use Windows[0].Page for applications with a single window. For applications with multiple windows, use Application.Windows to identify and update the root page on the correct window. Additionally, each element features a Window property, accessible when it's part of the current window.'
iOS: src/NewsReader/NewsReader.Presentation/Services/MessageService.cs#L8
'Application.MainPage.get' is obsolete: 'This property has been deprecated. For single-window applications, use Windows[0].Page. For multi-window applications, identify and use the appropriate Window object to access the desired Page. Additionally, each element features a Window property, accessible when it's part of the current window.'
iOS: src/NewsReader/NewsReader.Presentation/Services/MessageService.cs#L10
'Application.MainPage.get' is obsolete: 'This property has been deprecated. For single-window applications, use Windows[0].Page. For multi-window applications, identify and use the appropriate Window object to access the desired Page. Additionally, each element features a Window property, accessible when it's part of the current window.'
iOS: src/NewsReader/NewsReader.Presentation/Services/DataService.cs#L19
Prefer 'System.Convert.ToHexString(byte[])' over call chains based on 'System.BitConverter.ToString(byte[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1872)
iOS: src/NewsReader/NewsReader.MauiSystem/MauiModule.cs#L5
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
iOS: src/NewsReader/NewsReader.MauiSystem/MauiProgram.cs#L8
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
iOS: src/NewsReader/NewsReader.MauiSystem/Platforms/iOS/AppDelegate.cs#L6
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
iOS: src/NewsReader/NewsReader.MauiSystem/Platforms/iOS/Program.cs#L5
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
iOS: src/NewsReader/NewsReader.MauiSystem/Platforms/iOS/Services/LocalizationService.cs#L8
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
iOS: src/NewsReader/NewsReader.Presentation/App.xaml.cs#L42
'Application.MainPage.set' is obsolete: 'This property is deprecated. Initialize your application by overriding Application.CreateWindow rather than setting MainPage. To modify the root page in an active application, use Windows[0].Page for applications with a single window. For applications with multiple windows, use Application.Windows to identify and update the root page on the correct window. Additionally, each element features a Window property, accessible when it's part of the current window.'

Artifacts

Produced during runtime
Name Size
newsreader-android
66.9 MB