diff --git a/Directory.Build.props b/Directory.Build.props index 7928b323f..08e472cc9 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -13,6 +13,13 @@ false + + + true + + + false + false \ No newline at end of file diff --git a/Directory.Packages.props b/Directory.Packages.props index cd46cb5c8..fea945873 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -19,7 +19,6 @@ - diff --git a/sample/src/DeviceTestingKitApp/App.xaml.cs b/sample/src/DeviceTestingKitApp/App.xaml.cs index e2c85c2b8..19cb2083b 100644 --- a/sample/src/DeviceTestingKitApp/App.xaml.cs +++ b/sample/src/DeviceTestingKitApp/App.xaml.cs @@ -5,7 +5,10 @@ public partial class App : Application public App() { InitializeComponent(); + } - MainPage = new AppShell(); + protected override Window CreateWindow(IActivationState? activationState) + { + return new Window(new AppShell()); } } diff --git a/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj b/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj index d1106902a..6a91f8e36 100644 --- a/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj +++ b/sample/test/DeviceTestingKitApp.DeviceTests/DeviceTestingKitApp.DeviceTests.csproj @@ -21,6 +21,12 @@ 1.0 1 + + + false + + + $(WarningsNotAsErrors);XC0022;XC0025 @@ -79,4 +85,12 @@ + + + + + + + diff --git a/src/DeviceRunners.Cli/DeviceRunners.Cli.csproj b/src/DeviceRunners.Cli/DeviceRunners.Cli.csproj index c54412bf0..c25a4a463 100644 --- a/src/DeviceRunners.Cli/DeviceRunners.Cli.csproj +++ b/src/DeviceRunners.Cli/DeviceRunners.Cli.csproj @@ -17,7 +17,6 @@ - diff --git a/src/DeviceRunners.UITesting.Maui/DeviceRunners.UITesting.Maui.csproj b/src/DeviceRunners.UITesting.Maui/DeviceRunners.UITesting.Maui.csproj index 93fea68e9..14c8d4939 100644 --- a/src/DeviceRunners.UITesting.Maui/DeviceRunners.UITesting.Maui.csproj +++ b/src/DeviceRunners.UITesting.Maui/DeviceRunners.UITesting.Maui.csproj @@ -5,6 +5,8 @@ true true true + + CA2255 diff --git a/src/DeviceRunners.VisualRunners.Core/DeviceRunners.VisualRunners.Core.csproj b/src/DeviceRunners.VisualRunners.Core/DeviceRunners.VisualRunners.Core.csproj index 8e2c5f4b2..7b31a9094 100644 --- a/src/DeviceRunners.VisualRunners.Core/DeviceRunners.VisualRunners.Core.csproj +++ b/src/DeviceRunners.VisualRunners.Core/DeviceRunners.VisualRunners.Core.csproj @@ -4,7 +4,6 @@ net9.0;net10.0 DeviceRunners.VisualRunners Core cross-platform types for DeviceRunners visual test runners (result channels, formatters, test events). - true diff --git a/src/DeviceRunners.VisualRunners.Maui/App/Pages/CreditsPage.xaml b/src/DeviceRunners.VisualRunners.Maui/App/Pages/CreditsPage.xaml index f6512bd19..eba916089 100644 --- a/src/DeviceRunners.VisualRunners.Maui/App/Pages/CreditsPage.xaml +++ b/src/DeviceRunners.VisualRunners.Maui/App/Pages/CreditsPage.xaml @@ -1,8 +1,10 @@  diff --git a/src/DeviceRunners.VisualRunners.Maui/App/Pages/DiagnosticsPage.xaml b/src/DeviceRunners.VisualRunners.Maui/App/Pages/DiagnosticsPage.xaml index aa81ffac9..f9a3fd2f4 100644 --- a/src/DeviceRunners.VisualRunners.Maui/App/Pages/DiagnosticsPage.xaml +++ b/src/DeviceRunners.VisualRunners.Maui/App/Pages/DiagnosticsPage.xaml @@ -1,8 +1,10 @@  diff --git a/src/DeviceRunners.VisualRunners.Maui/App/Pages/HomePage.xaml b/src/DeviceRunners.VisualRunners.Maui/App/Pages/HomePage.xaml index 43629eec6..df6b6c543 100644 --- a/src/DeviceRunners.VisualRunners.Maui/App/Pages/HomePage.xaml +++ b/src/DeviceRunners.VisualRunners.Maui/App/Pages/HomePage.xaml @@ -1,8 +1,10 @@  - + -