Build: setup .NET 9 for unit test as well #317
Annotations
5 warnings
🛠️ Build:
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.'
|
🛠️ Build:
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.'
|
🛠️ Build:
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.'
|
🛠️ Build:
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)
|
🛠️ Build:
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)
|
Loading