From 702bd37f7bf1720252985e795873dd7eb877cc0f Mon Sep 17 00:00:00 2001 From: Alexandre Agostinho Date: Tue, 4 Apr 2023 19:16:25 +0200 Subject: [PATCH] :bricks: init struct w. app/lib/tests/view proj --- MCTGApp/MCTGApp.csproj | 10 + MCTGApp/Program.cs | 2 + MCTGLib/Class1.cs | 7 + MCTGLib/MCTGLib.csproj | 9 + SAE-2.01.sln | 45 ++ Tests/Tests.csproj | 25 ++ Tests/UnitTest1.cs | 11 + Tests/Usings.cs | 1 + Views/App.xaml | 14 + Views/App.xaml.cs | 12 + Views/AppShell.xaml | 14 + Views/AppShell.xaml.cs | 10 + Views/MainPage.xaml | 41 ++ Views/MainPage.xaml.cs | 24 ++ Views/MauiProgram.cs | 25 ++ Views/Platforms/Android/AndroidManifest.xml | 6 + Views/Platforms/Android/MainActivity.cs | 11 + Views/Platforms/Android/MainApplication.cs | 16 + .../Android/Resources/values/colors.xml | 6 + Views/Platforms/MacCatalyst/AppDelegate.cs | 10 + Views/Platforms/MacCatalyst/Info.plist | 30 ++ Views/Platforms/MacCatalyst/Program.cs | 16 + Views/Platforms/Tizen/Main.cs | 17 + Views/Platforms/Tizen/tizen-manifest.xml | 15 + Views/Platforms/Windows/App.xaml | 8 + Views/Platforms/Windows/App.xaml.cs | 24 ++ Views/Platforms/Windows/Package.appxmanifest | 46 ++ Views/Platforms/Windows/app.manifest | 15 + Views/Platforms/iOS/AppDelegate.cs | 10 + Views/Platforms/iOS/Info.plist | 32 ++ Views/Platforms/iOS/Program.cs | 16 + Views/Properties/launchSettings.json | 8 + Views/Resources/AppIcon/appicon.svg | 4 + Views/Resources/AppIcon/appiconfg.svg | 8 + Views/Resources/Fonts/OpenSans-Regular.ttf | Bin 0 -> 107140 bytes Views/Resources/Fonts/OpenSans-Semibold.ttf | Bin 0 -> 111068 bytes Views/Resources/Images/dotnet_bot.svg | 93 ++++ Views/Resources/Raw/AboutAssets.txt | 15 + Views/Resources/Splash/splash.svg | 8 + Views/Resources/Styles/Colors.xaml | 44 ++ Views/Resources/Styles/Styles.xaml | 405 ++++++++++++++++++ Views/Views.csproj | 55 +++ 42 files changed, 1168 insertions(+) create mode 100644 MCTGApp/MCTGApp.csproj create mode 100644 MCTGApp/Program.cs create mode 100644 MCTGLib/Class1.cs create mode 100644 MCTGLib/MCTGLib.csproj create mode 100644 SAE-2.01.sln create mode 100644 Tests/Tests.csproj create mode 100644 Tests/UnitTest1.cs create mode 100644 Tests/Usings.cs create mode 100644 Views/App.xaml create mode 100644 Views/App.xaml.cs create mode 100644 Views/AppShell.xaml create mode 100644 Views/AppShell.xaml.cs create mode 100644 Views/MainPage.xaml create mode 100644 Views/MainPage.xaml.cs create mode 100644 Views/MauiProgram.cs create mode 100644 Views/Platforms/Android/AndroidManifest.xml create mode 100644 Views/Platforms/Android/MainActivity.cs create mode 100644 Views/Platforms/Android/MainApplication.cs create mode 100644 Views/Platforms/Android/Resources/values/colors.xml create mode 100644 Views/Platforms/MacCatalyst/AppDelegate.cs create mode 100644 Views/Platforms/MacCatalyst/Info.plist create mode 100644 Views/Platforms/MacCatalyst/Program.cs create mode 100644 Views/Platforms/Tizen/Main.cs create mode 100644 Views/Platforms/Tizen/tizen-manifest.xml create mode 100644 Views/Platforms/Windows/App.xaml create mode 100644 Views/Platforms/Windows/App.xaml.cs create mode 100644 Views/Platforms/Windows/Package.appxmanifest create mode 100644 Views/Platforms/Windows/app.manifest create mode 100644 Views/Platforms/iOS/AppDelegate.cs create mode 100644 Views/Platforms/iOS/Info.plist create mode 100644 Views/Platforms/iOS/Program.cs create mode 100644 Views/Properties/launchSettings.json create mode 100644 Views/Resources/AppIcon/appicon.svg create mode 100644 Views/Resources/AppIcon/appiconfg.svg create mode 100644 Views/Resources/Fonts/OpenSans-Regular.ttf create mode 100644 Views/Resources/Fonts/OpenSans-Semibold.ttf create mode 100644 Views/Resources/Images/dotnet_bot.svg create mode 100644 Views/Resources/Raw/AboutAssets.txt create mode 100644 Views/Resources/Splash/splash.svg create mode 100644 Views/Resources/Styles/Colors.xaml create mode 100644 Views/Resources/Styles/Styles.xaml create mode 100644 Views/Views.csproj diff --git a/MCTGApp/MCTGApp.csproj b/MCTGApp/MCTGApp.csproj new file mode 100644 index 0000000..f02677b --- /dev/null +++ b/MCTGApp/MCTGApp.csproj @@ -0,0 +1,10 @@ + + + + Exe + net7.0 + enable + enable + + + diff --git a/MCTGApp/Program.cs b/MCTGApp/Program.cs new file mode 100644 index 0000000..3751555 --- /dev/null +++ b/MCTGApp/Program.cs @@ -0,0 +1,2 @@ +// See https://aka.ms/new-console-template for more information +Console.WriteLine("Hello, World!"); diff --git a/MCTGLib/Class1.cs b/MCTGLib/Class1.cs new file mode 100644 index 0000000..5b51184 --- /dev/null +++ b/MCTGLib/Class1.cs @@ -0,0 +1,7 @@ +namespace MCTGLib +{ + public class Class1 + { + + } +} \ No newline at end of file diff --git a/MCTGLib/MCTGLib.csproj b/MCTGLib/MCTGLib.csproj new file mode 100644 index 0000000..cfadb03 --- /dev/null +++ b/MCTGLib/MCTGLib.csproj @@ -0,0 +1,9 @@ + + + + net7.0 + enable + enable + + + diff --git a/SAE-2.01.sln b/SAE-2.01.sln new file mode 100644 index 0000000..abb3ff8 --- /dev/null +++ b/SAE-2.01.sln @@ -0,0 +1,45 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.5.33516.290 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MCTGApp", "MCTGApp\MCTGApp.csproj", "{666C2211-8EBB-4FC8-9484-CB93BC854153}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MCTGLib", "MCTGLib\MCTGLib.csproj", "{42FF86BD-92F9-4A32-A938-68515905378F}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Views", "Views\Views.csproj", "{508B5600-AFD0-4AE4-A3CF-5FA8BE3ECE75}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests", "Tests\Tests.csproj", "{1F346D8D-9697-454E-A1B8-8E6E921F58CC}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {666C2211-8EBB-4FC8-9484-CB93BC854153}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {666C2211-8EBB-4FC8-9484-CB93BC854153}.Debug|Any CPU.Build.0 = Debug|Any CPU + {666C2211-8EBB-4FC8-9484-CB93BC854153}.Release|Any CPU.ActiveCfg = Release|Any CPU + {666C2211-8EBB-4FC8-9484-CB93BC854153}.Release|Any CPU.Build.0 = Release|Any CPU + {42FF86BD-92F9-4A32-A938-68515905378F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {42FF86BD-92F9-4A32-A938-68515905378F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {42FF86BD-92F9-4A32-A938-68515905378F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {42FF86BD-92F9-4A32-A938-68515905378F}.Release|Any CPU.Build.0 = Release|Any CPU + {508B5600-AFD0-4AE4-A3CF-5FA8BE3ECE75}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {508B5600-AFD0-4AE4-A3CF-5FA8BE3ECE75}.Debug|Any CPU.Build.0 = Debug|Any CPU + {508B5600-AFD0-4AE4-A3CF-5FA8BE3ECE75}.Debug|Any CPU.Deploy.0 = Debug|Any CPU + {508B5600-AFD0-4AE4-A3CF-5FA8BE3ECE75}.Release|Any CPU.ActiveCfg = Release|Any CPU + {508B5600-AFD0-4AE4-A3CF-5FA8BE3ECE75}.Release|Any CPU.Build.0 = Release|Any CPU + {508B5600-AFD0-4AE4-A3CF-5FA8BE3ECE75}.Release|Any CPU.Deploy.0 = Release|Any CPU + {1F346D8D-9697-454E-A1B8-8E6E921F58CC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1F346D8D-9697-454E-A1B8-8E6E921F58CC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1F346D8D-9697-454E-A1B8-8E6E921F58CC}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1F346D8D-9697-454E-A1B8-8E6E921F58CC}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {ADEA5603-1EF6-4D43-9493-7D6D9DE7FA3F} + EndGlobalSection +EndGlobal diff --git a/Tests/Tests.csproj b/Tests/Tests.csproj new file mode 100644 index 0000000..42ff44d --- /dev/null +++ b/Tests/Tests.csproj @@ -0,0 +1,25 @@ + + + + net7.0 + enable + enable + + false + true + + + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + + diff --git a/Tests/UnitTest1.cs b/Tests/UnitTest1.cs new file mode 100644 index 0000000..61fdd57 --- /dev/null +++ b/Tests/UnitTest1.cs @@ -0,0 +1,11 @@ +namespace Tests +{ + public class UnitTest1 + { + [Fact] + public void Test1() + { + + } + } +} \ No newline at end of file diff --git a/Tests/Usings.cs b/Tests/Usings.cs new file mode 100644 index 0000000..8c927eb --- /dev/null +++ b/Tests/Usings.cs @@ -0,0 +1 @@ +global using Xunit; \ No newline at end of file diff --git a/Views/App.xaml b/Views/App.xaml new file mode 100644 index 0000000..beb7cff --- /dev/null +++ b/Views/App.xaml @@ -0,0 +1,14 @@ + + + + + + + + + + + diff --git a/Views/App.xaml.cs b/Views/App.xaml.cs new file mode 100644 index 0000000..40c0c3f --- /dev/null +++ b/Views/App.xaml.cs @@ -0,0 +1,12 @@ +namespace Views +{ + public partial class App : Application + { + public App() + { + InitializeComponent(); + + MainPage = new AppShell(); + } + } +} \ No newline at end of file diff --git a/Views/AppShell.xaml b/Views/AppShell.xaml new file mode 100644 index 0000000..54e7dbe --- /dev/null +++ b/Views/AppShell.xaml @@ -0,0 +1,14 @@ + + + + + + diff --git a/Views/AppShell.xaml.cs b/Views/AppShell.xaml.cs new file mode 100644 index 0000000..15833b6 --- /dev/null +++ b/Views/AppShell.xaml.cs @@ -0,0 +1,10 @@ +namespace Views +{ + public partial class AppShell : Shell + { + public AppShell() + { + InitializeComponent(); + } + } +} \ No newline at end of file diff --git a/Views/MainPage.xaml b/Views/MainPage.xaml new file mode 100644 index 0000000..a1864aa --- /dev/null +++ b/Views/MainPage.xaml @@ -0,0 +1,41 @@ + + + + + + + + +