private bool IsBlank()

in code/src/UI/Services/ProjectConfigInfoService.cs [219:236]


        private bool IsBlank(string platform)
        {
            switch (platform)
            {
                case Platforms.Uwp:
                    return !(ExistsFileInProjectPath("ShellPage.xaml", "Views")
                        || ExistsFileInProjectPath("PivotPage.xaml", "Views"));
                case Platforms.Wpf:
                    return ExistsFileInProjectPath("ShellWindow.xaml", "Views")
                        && !FileContainsLine("Views", "ShellWindow.xaml", "<Menu Grid.Row=\"0\" Focusable=\"False\">")
                        && !FileContainsLine("Views", "ShellWindow.xaml", "<controls:HamburgerMenu")
                        && !FileContainsLine("Views", "ShellWindow.xaml", "<Fluent:Ribbon x:Name=\"ribbonControl\" Grid.Row=\"0\">");
                case Platforms.WinUI:
                    return ExistsFileInProjectPath("MainWindow.xaml") || IsCppProject();
                default:
                    return false;
            }
        }