Skip to content

Files PR Validation #10310

Files PR Validation

Files PR Validation #10310

Triggered via pull request August 28, 2026 21:23
Status Success
Total duration 16m 51s
Artifacts

ci.yml

on: pull_request
Matrix: build
check-formatting
34s
check-formatting
report-bundle-size
7s
report-bundle-size
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

43 warnings
build (Debug, x64): src/Files.App/ViewModels/Settings/GeneralViewModel.cs#L7
'MenuFlyoutHelper' is obsolete: 'Must not use this helper to generate menu flyout any longer.'
build (Debug, x64): src/Files.App/UserControls/Menus/FileTagsContextMenu.cs#L9
'MenuFlyoutHelper' is obsolete: 'Must not use this helper to generate menu flyout any longer.'
build (Debug, x64): src/Files.App.Storage/Legacy/RecycleBinWatcher.cs#L21
The event 'RecycleBinWatcher.ItemChanged' is never used
build (Debug, x64): src/Files.App.Controls/PropertiesView/PropertiesViewItemSeparator.cs#L44
Casting to type 'Microsoft.UI.Xaml.Controls.Orientation' is not trim-safe, as it is unboxing a WinRT 'IReference`1<T>' value type. Add the '[DynamicWindowsRuntimeCast]' attribute to the containing method (or field), which will ensure the necessary metadata is kept. This will allow the cast to always work correctly when using trimming. (https://github.com/microsoft/CsWinRT/tree/master/src/Authoring/WinRT.SourceGenerator/AnalyzerReleases.Shipped.md)
build (Debug, x64): src/Files.App.Controls/PropertiesView/PropertiesViewCard.cs#L316
Casting to type 'Microsoft.UI.Xaml.Controls.TextBlock' is not trim-safe, as it is a WinRT runtime class type. Add the '[DynamicWindowsRuntimeCast]' attribute to the containing method (or field), which will ensure the necessary metadata is kept. This will allow the cast to always work correctly when using trimming. (https://github.com/microsoft/CsWinRT/tree/master/src/Authoring/WinRT.SourceGenerator/AnalyzerReleases.Shipped.md)
build (Debug, x64): src/Files.App.Controls/PropertiesView/PropertiesViewCard.cs#L316
Casting to type 'Microsoft.UI.Xaml.Controls.Primitives.ButtonBase' is not trim-safe, as it is a WinRT runtime class type. Add the '[DynamicWindowsRuntimeCast]' attribute to the containing method (or field), which will ensure the necessary metadata is kept. This will allow the cast to always work correctly when using trimming. (https://github.com/microsoft/CsWinRT/tree/master/src/Authoring/WinRT.SourceGenerator/AnalyzerReleases.Shipped.md)
build (Debug, x64): src/Files.App.Controls/PropertiesView/PropertiesViewCard.cs#L315
Casting to type 'Microsoft.UI.Xaml.UIElement' is not trim-safe, as it is a WinRT runtime class type. Add the '[DynamicWindowsRuntimeCast]' attribute to the containing method (or field), which will ensure the necessary metadata is kept. This will allow the cast to always work correctly when using trimming. (https://github.com/microsoft/CsWinRT/tree/master/src/Authoring/WinRT.SourceGenerator/AnalyzerReleases.Shipped.md)
build (Debug, x64): src/Files.App.Controls/PropertiesView/PropertiesViewCard.cs#L261
Casting to type 'Microsoft.UI.Xaml.FrameworkElement' is not trim-safe, as it is a WinRT runtime class type. Add the '[DynamicWindowsRuntimeCast]' attribute to the containing method (or field), which will ensure the necessary metadata is kept. This will allow the cast to always work correctly when using trimming. (https://github.com/microsoft/CsWinRT/tree/master/src/Authoring/WinRT.SourceGenerator/AnalyzerReleases.Shipped.md)
build (Debug, x64): src/Files.App.Controls/PropertiesView/PropertiesViewCard.cs#L253
Casting to type 'Microsoft.UI.Xaml.FrameworkElement' is not trim-safe, as it is a WinRT runtime class type. Add the '[DynamicWindowsRuntimeCast]' attribute to the containing method (or field), which will ensure the necessary metadata is kept. This will allow the cast to always work correctly when using trimming. (https://github.com/microsoft/CsWinRT/tree/master/src/Authoring/WinRT.SourceGenerator/AnalyzerReleases.Shipped.md)
build (Debug, x64): src/Files.App.Controls/PropertiesView/PropertiesViewInfo.cs#L142
Casting to type 'Microsoft.UI.Xaml.FrameworkElement' is not trim-safe, as it is a WinRT runtime class type. Add the '[DynamicWindowsRuntimeCast]' attribute to the containing method (or field), which will ensure the necessary metadata is kept. This will allow the cast to always work correctly when using trimming. (https://github.com/microsoft/CsWinRT/tree/master/src/Authoring/WinRT.SourceGenerator/AnalyzerReleases.Shipped.md)
build (Debug, arm64): src/Files.App/ViewModels/Settings/GeneralViewModel.cs#L7
'MenuFlyoutHelper' is obsolete: 'Must not use this helper to generate menu flyout any longer.'
build (Debug, arm64): src/Files.App/UserControls/Menus/FileTagsContextMenu.cs#L9
'MenuFlyoutHelper' is obsolete: 'Must not use this helper to generate menu flyout any longer.'
build (Debug, arm64): src/Files.App.Storage/Legacy/RecycleBinWatcher.cs#L21
The event 'RecycleBinWatcher.ItemChanged' is never used
build (Debug, arm64): src/Files.App.Controls/PropertiesView/PropertiesViewCard.cs#L316
Casting to type 'Microsoft.UI.Xaml.Controls.TextBlock' is not trim-safe, as it is a WinRT runtime class type. Add the '[DynamicWindowsRuntimeCast]' attribute to the containing method (or field), which will ensure the necessary metadata is kept. This will allow the cast to always work correctly when using trimming. (https://github.com/microsoft/CsWinRT/tree/master/src/Authoring/WinRT.SourceGenerator/AnalyzerReleases.Shipped.md)
build (Debug, arm64): src/Files.App.Controls/PropertiesView/PropertiesViewCard.cs#L316
Casting to type 'Microsoft.UI.Xaml.Controls.Primitives.ButtonBase' is not trim-safe, as it is a WinRT runtime class type. Add the '[DynamicWindowsRuntimeCast]' attribute to the containing method (or field), which will ensure the necessary metadata is kept. This will allow the cast to always work correctly when using trimming. (https://github.com/microsoft/CsWinRT/tree/master/src/Authoring/WinRT.SourceGenerator/AnalyzerReleases.Shipped.md)
build (Debug, arm64): src/Files.App.Controls/PropertiesView/PropertiesViewCard.cs#L315
Casting to type 'Microsoft.UI.Xaml.UIElement' is not trim-safe, as it is a WinRT runtime class type. Add the '[DynamicWindowsRuntimeCast]' attribute to the containing method (or field), which will ensure the necessary metadata is kept. This will allow the cast to always work correctly when using trimming. (https://github.com/microsoft/CsWinRT/tree/master/src/Authoring/WinRT.SourceGenerator/AnalyzerReleases.Shipped.md)
build (Debug, arm64): src/Files.App.Controls/PropertiesView/PropertiesViewCard.cs#L261
Casting to type 'Microsoft.UI.Xaml.FrameworkElement' is not trim-safe, as it is a WinRT runtime class type. Add the '[DynamicWindowsRuntimeCast]' attribute to the containing method (or field), which will ensure the necessary metadata is kept. This will allow the cast to always work correctly when using trimming. (https://github.com/microsoft/CsWinRT/tree/master/src/Authoring/WinRT.SourceGenerator/AnalyzerReleases.Shipped.md)
build (Debug, arm64): src/Files.App.Controls/PropertiesView/PropertiesViewCard.cs#L253
Casting to type 'Microsoft.UI.Xaml.FrameworkElement' is not trim-safe, as it is a WinRT runtime class type. Add the '[DynamicWindowsRuntimeCast]' attribute to the containing method (or field), which will ensure the necessary metadata is kept. This will allow the cast to always work correctly when using trimming. (https://github.com/microsoft/CsWinRT/tree/master/src/Authoring/WinRT.SourceGenerator/AnalyzerReleases.Shipped.md)
build (Debug, arm64): src/Files.App.Controls/PropertiesView/PropertiesViewInfo.cs#L142
Casting to type 'Microsoft.UI.Xaml.FrameworkElement' is not trim-safe, as it is a WinRT runtime class type. Add the '[DynamicWindowsRuntimeCast]' attribute to the containing method (or field), which will ensure the necessary metadata is kept. This will allow the cast to always work correctly when using trimming. (https://github.com/microsoft/CsWinRT/tree/master/src/Authoring/WinRT.SourceGenerator/AnalyzerReleases.Shipped.md)
build (Debug, arm64): src/Files.App.Controls/PropertiesView/PropertiesViewItemSeparator.cs#L44
Casting to type 'Microsoft.UI.Xaml.Controls.Orientation' is not trim-safe, as it is unboxing a WinRT 'IReference`1<T>' value type. Add the '[DynamicWindowsRuntimeCast]' attribute to the containing method (or field), which will ensure the necessary metadata is kept. This will allow the cast to always work correctly when using trimming. (https://github.com/microsoft/CsWinRT/tree/master/src/Authoring/WinRT.SourceGenerator/AnalyzerReleases.Shipped.md)
build (Release, arm64): src/Files.App/ViewModels/Settings/GeneralViewModel.cs#L7
'MenuFlyoutHelper' is obsolete: 'Must not use this helper to generate menu flyout any longer.'
build (Release, arm64): src/Files.App/UserControls/Menus/FileTagsContextMenu.cs#L9
'MenuFlyoutHelper' is obsolete: 'Must not use this helper to generate menu flyout any longer.'
build (Release, arm64): src/Files.App.Storage/Legacy/RecycleBinWatcher.cs#L21
The event 'RecycleBinWatcher.ItemChanged' is never used
build (Release, arm64): src/Files.App.Controls/PropertiesView/PropertiesViewItemSeparator.cs#L44
Casting to type 'Microsoft.UI.Xaml.Controls.Orientation' is not trim-safe, as it is unboxing a WinRT 'IReference`1<T>' value type. Add the '[DynamicWindowsRuntimeCast]' attribute to the containing method (or field), which will ensure the necessary metadata is kept. This will allow the cast to always work correctly when using trimming. (https://github.com/microsoft/CsWinRT/tree/master/src/Authoring/WinRT.SourceGenerator/AnalyzerReleases.Shipped.md)
build (Release, arm64): src/Files.App.Controls/PropertiesView/PropertiesViewCard.cs#L316
Casting to type 'Microsoft.UI.Xaml.Controls.TextBlock' is not trim-safe, as it is a WinRT runtime class type. Add the '[DynamicWindowsRuntimeCast]' attribute to the containing method (or field), which will ensure the necessary metadata is kept. This will allow the cast to always work correctly when using trimming. (https://github.com/microsoft/CsWinRT/tree/master/src/Authoring/WinRT.SourceGenerator/AnalyzerReleases.Shipped.md)
build (Release, arm64): src/Files.App.Controls/PropertiesView/PropertiesViewCard.cs#L316
Casting to type 'Microsoft.UI.Xaml.Controls.Primitives.ButtonBase' is not trim-safe, as it is a WinRT runtime class type. Add the '[DynamicWindowsRuntimeCast]' attribute to the containing method (or field), which will ensure the necessary metadata is kept. This will allow the cast to always work correctly when using trimming. (https://github.com/microsoft/CsWinRT/tree/master/src/Authoring/WinRT.SourceGenerator/AnalyzerReleases.Shipped.md)
build (Release, arm64): src/Files.App.Controls/PropertiesView/PropertiesViewCard.cs#L315
Casting to type 'Microsoft.UI.Xaml.UIElement' is not trim-safe, as it is a WinRT runtime class type. Add the '[DynamicWindowsRuntimeCast]' attribute to the containing method (or field), which will ensure the necessary metadata is kept. This will allow the cast to always work correctly when using trimming. (https://github.com/microsoft/CsWinRT/tree/master/src/Authoring/WinRT.SourceGenerator/AnalyzerReleases.Shipped.md)
build (Release, arm64): src/Files.App.Controls/PropertiesView/PropertiesViewInfo.cs#L142
Casting to type 'Microsoft.UI.Xaml.FrameworkElement' is not trim-safe, as it is a WinRT runtime class type. Add the '[DynamicWindowsRuntimeCast]' attribute to the containing method (or field), which will ensure the necessary metadata is kept. This will allow the cast to always work correctly when using trimming. (https://github.com/microsoft/CsWinRT/tree/master/src/Authoring/WinRT.SourceGenerator/AnalyzerReleases.Shipped.md)
build (Release, arm64): src/Files.App.Controls/PropertiesView/PropertiesViewCard.cs#L261
Casting to type 'Microsoft.UI.Xaml.FrameworkElement' is not trim-safe, as it is a WinRT runtime class type. Add the '[DynamicWindowsRuntimeCast]' attribute to the containing method (or field), which will ensure the necessary metadata is kept. This will allow the cast to always work correctly when using trimming. (https://github.com/microsoft/CsWinRT/tree/master/src/Authoring/WinRT.SourceGenerator/AnalyzerReleases.Shipped.md)
build (Release, arm64): src/Files.App.Controls/PropertiesView/PropertiesViewCard.cs#L253
Casting to type 'Microsoft.UI.Xaml.FrameworkElement' is not trim-safe, as it is a WinRT runtime class type. Add the '[DynamicWindowsRuntimeCast]' attribute to the containing method (or field), which will ensure the necessary metadata is kept. This will allow the cast to always work correctly when using trimming. (https://github.com/microsoft/CsWinRT/tree/master/src/Authoring/WinRT.SourceGenerator/AnalyzerReleases.Shipped.md)
build (Release, x64): tests/Files.InteractionTests/Tests/ShareTests.cs#L92
This call site is reachable on all platforms. 'PInvoke.GetClassName(HWND, Span<char>)' is only supported on: 'windows' 5.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
build (Release, x64): tests/Files.InteractionTests/Tests/ShareTests.cs#L108
This call site is reachable on all platforms. 'PInvoke.PostMessage(HWND, uint, WPARAM, LPARAM)' is only supported on: 'windows' 5.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
build (Release, x64): tests/Files.InteractionTests/Tests/ShareTests.cs#L90
This call site is reachable on all platforms. 'PInvoke.GetForegroundWindow()' is only supported on: 'windows' 5.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
build (Release, x64): src/Files.App/ViewModels/Settings/GeneralViewModel.cs#L7
'MenuFlyoutHelper' is obsolete: 'Must not use this helper to generate menu flyout any longer.'
build (Release, x64): src/Files.App/UserControls/Menus/FileTagsContextMenu.cs#L9
'MenuFlyoutHelper' is obsolete: 'Must not use this helper to generate menu flyout any longer.'
build (Release, x64): src/Files.App.Storage/Legacy/RecycleBinWatcher.cs#L21
The event 'RecycleBinWatcher.ItemChanged' is never used
build (Release, x64): src/Files.App.Controls/PropertiesView/PropertiesViewInfo.cs#L142
Casting to type 'Microsoft.UI.Xaml.FrameworkElement' is not trim-safe, as it is a WinRT runtime class type. Add the '[DynamicWindowsRuntimeCast]' attribute to the containing method (or field), which will ensure the necessary metadata is kept. This will allow the cast to always work correctly when using trimming. (https://github.com/microsoft/CsWinRT/tree/master/src/Authoring/WinRT.SourceGenerator/AnalyzerReleases.Shipped.md)
build (Release, x64): src/Files.App.Controls/PropertiesView/PropertiesViewCard.cs#L316
Casting to type 'Microsoft.UI.Xaml.Controls.TextBlock' is not trim-safe, as it is a WinRT runtime class type. Add the '[DynamicWindowsRuntimeCast]' attribute to the containing method (or field), which will ensure the necessary metadata is kept. This will allow the cast to always work correctly when using trimming. (https://github.com/microsoft/CsWinRT/tree/master/src/Authoring/WinRT.SourceGenerator/AnalyzerReleases.Shipped.md)
build (Release, x64): src/Files.App.Controls/PropertiesView/PropertiesViewCard.cs#L316
Casting to type 'Microsoft.UI.Xaml.Controls.Primitives.ButtonBase' is not trim-safe, as it is a WinRT runtime class type. Add the '[DynamicWindowsRuntimeCast]' attribute to the containing method (or field), which will ensure the necessary metadata is kept. This will allow the cast to always work correctly when using trimming. (https://github.com/microsoft/CsWinRT/tree/master/src/Authoring/WinRT.SourceGenerator/AnalyzerReleases.Shipped.md)
build (Release, x64): src/Files.App.Controls/PropertiesView/PropertiesViewCard.cs#L315
Casting to type 'Microsoft.UI.Xaml.UIElement' is not trim-safe, as it is a WinRT runtime class type. Add the '[DynamicWindowsRuntimeCast]' attribute to the containing method (or field), which will ensure the necessary metadata is kept. This will allow the cast to always work correctly when using trimming. (https://github.com/microsoft/CsWinRT/tree/master/src/Authoring/WinRT.SourceGenerator/AnalyzerReleases.Shipped.md)
build (Release, x64): src/Files.App.Controls/PropertiesView/PropertiesViewCard.cs#L261
Casting to type 'Microsoft.UI.Xaml.FrameworkElement' is not trim-safe, as it is a WinRT runtime class type. Add the '[DynamicWindowsRuntimeCast]' attribute to the containing method (or field), which will ensure the necessary metadata is kept. This will allow the cast to always work correctly when using trimming. (https://github.com/microsoft/CsWinRT/tree/master/src/Authoring/WinRT.SourceGenerator/AnalyzerReleases.Shipped.md)
build (Release, x64): src/Files.App.Controls/PropertiesView/PropertiesViewCard.cs#L253
Casting to type 'Microsoft.UI.Xaml.FrameworkElement' is not trim-safe, as it is a WinRT runtime class type. Add the '[DynamicWindowsRuntimeCast]' attribute to the containing method (or field), which will ensure the necessary metadata is kept. This will allow the cast to always work correctly when using trimming. (https://github.com/microsoft/CsWinRT/tree/master/src/Authoring/WinRT.SourceGenerator/AnalyzerReleases.Shipped.md)
build (Release, x64): src/Files.App.Controls/PropertiesView/PropertiesViewItemSeparator.cs#L44
Casting to type 'Microsoft.UI.Xaml.Controls.Orientation' is not trim-safe, as it is unboxing a WinRT 'IReference`1<T>' value type. Add the '[DynamicWindowsRuntimeCast]' attribute to the containing method (or field), which will ensure the necessary metadata is kept. This will allow the cast to always work correctly when using trimming. (https://github.com/microsoft/CsWinRT/tree/master/src/Authoring/WinRT.SourceGenerator/AnalyzerReleases.Shipped.md)