diff --git a/Project.Controller/Class1.cs b/Project.Controller/Class1.cs new file mode 100644 index 0000000..9c0c164 --- /dev/null +++ b/Project.Controller/Class1.cs @@ -0,0 +1,6 @@ +namespace Project.Controller; + +public class Class1 +{ + +} diff --git a/Project.Controller/Project.Controller.csproj b/Project.Controller/Project.Controller.csproj new file mode 100644 index 0000000..513f819 --- /dev/null +++ b/Project.Controller/Project.Controller.csproj @@ -0,0 +1,14 @@ + + + + + + + + + net9.0 + enable + enable + + + diff --git a/Project.Model/Class1.cs b/Project.Model/Class1.cs new file mode 100644 index 0000000..86d88bb --- /dev/null +++ b/Project.Model/Class1.cs @@ -0,0 +1,6 @@ +namespace Project.Model; + +public class Class1 +{ + +} diff --git a/Project.Model/Project.Model.csproj b/Project.Model/Project.Model.csproj new file mode 100644 index 0000000..125f4c9 --- /dev/null +++ b/Project.Model/Project.Model.csproj @@ -0,0 +1,9 @@ + + + + net9.0 + enable + enable + + + diff --git a/Project.Persistence/Class1.cs b/Project.Persistence/Class1.cs new file mode 100644 index 0000000..d1432aa --- /dev/null +++ b/Project.Persistence/Class1.cs @@ -0,0 +1,6 @@ +namespace Project.Persistence; + +public class Class1 +{ + +} diff --git a/Project.Persistence/Project.Persistence.csproj b/Project.Persistence/Project.Persistence.csproj new file mode 100644 index 0000000..21e93f0 --- /dev/null +++ b/Project.Persistence/Project.Persistence.csproj @@ -0,0 +1,13 @@ + + + + + + + + net9.0 + enable + enable + + + diff --git a/Project.View/App.axaml b/Project.View/App.axaml new file mode 100644 index 0000000..849ab87 --- /dev/null +++ b/Project.View/App.axaml @@ -0,0 +1,10 @@ + + + + + + + \ No newline at end of file diff --git a/Project.View/App.axaml.cs b/Project.View/App.axaml.cs new file mode 100644 index 0000000..202097e --- /dev/null +++ b/Project.View/App.axaml.cs @@ -0,0 +1,23 @@ +using Avalonia; +using Avalonia.Controls.ApplicationLifetimes; +using Avalonia.Markup.Xaml; + +namespace Project.View; + +public partial class App : Application +{ + public override void Initialize() + { + AvaloniaXamlLoader.Load(this); + } + + public override void OnFrameworkInitializationCompleted() + { + if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop) + { + desktop.MainWindow = new MainWindow(); + } + + base.OnFrameworkInitializationCompleted(); + } +} \ No newline at end of file diff --git a/Project.View/MainWindow.axaml b/Project.View/MainWindow.axaml new file mode 100644 index 0000000..b13833c --- /dev/null +++ b/Project.View/MainWindow.axaml @@ -0,0 +1,9 @@ + + Welcome to Avalonia! + diff --git a/Project.View/MainWindow.axaml.cs b/Project.View/MainWindow.axaml.cs new file mode 100644 index 0000000..94850b5 --- /dev/null +++ b/Project.View/MainWindow.axaml.cs @@ -0,0 +1,11 @@ +using Avalonia.Controls; + +namespace Project.View; + +public partial class MainWindow : Window +{ + public MainWindow() + { + InitializeComponent(); + } +} \ No newline at end of file diff --git a/Project.View/Program.cs b/Project.View/Program.cs new file mode 100644 index 0000000..e226a2f --- /dev/null +++ b/Project.View/Program.cs @@ -0,0 +1,21 @@ +using Avalonia; +using System; + +namespace Project.View; + +class Program +{ + // Initialization code. Don't use any Avalonia, third-party APIs or any + // SynchronizationContext-reliant code before AppMain is called: things aren't initialized + // yet and stuff might break. + [STAThread] + public static void Main(string[] args) => BuildAvaloniaApp() + .StartWithClassicDesktopLifetime(args); + + // Avalonia configuration, don't remove; also used by visual designer. + public static AppBuilder BuildAvaloniaApp() + => AppBuilder.Configure() + .UsePlatformDetect() + .WithInterFont() + .LogToTrace(); +} diff --git a/Project.View/Project.View.csproj b/Project.View/Project.View.csproj new file mode 100644 index 0000000..927d9c4 --- /dev/null +++ b/Project.View/Project.View.csproj @@ -0,0 +1,27 @@ + + + WinExe + net9.0 + enable + true + app.manifest + true + + + + + + + + + + None + All + + + + + + + + diff --git a/Project.View/app.manifest b/Project.View/app.manifest new file mode 100644 index 0000000..be67aea --- /dev/null +++ b/Project.View/app.manifest @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + diff --git a/Project.sln b/Project.sln new file mode 100644 index 0000000..5d36e70 --- /dev/null +++ b/Project.sln @@ -0,0 +1,40 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Project.View", "Project.View\Project.View.csproj", "{33395AB0-0F43-4F9D-BEBB-9246845F7655}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Project.Model", "Project.Model\Project.Model.csproj", "{4CD95B18-E90F-4436-9E2C-886C182D194F}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Project.Controller", "Project.Controller\Project.Controller.csproj", "{F48C30CE-7852-45BC-B647-D6B13804CAD0}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Project.Persistence", "Project.Persistence\Project.Persistence.csproj", "{D52533E8-0F1A-4B13-8CC4-B0F5054422AF}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {33395AB0-0F43-4F9D-BEBB-9246845F7655}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {33395AB0-0F43-4F9D-BEBB-9246845F7655}.Debug|Any CPU.Build.0 = Debug|Any CPU + {33395AB0-0F43-4F9D-BEBB-9246845F7655}.Release|Any CPU.ActiveCfg = Release|Any CPU + {33395AB0-0F43-4F9D-BEBB-9246845F7655}.Release|Any CPU.Build.0 = Release|Any CPU + {4CD95B18-E90F-4436-9E2C-886C182D194F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4CD95B18-E90F-4436-9E2C-886C182D194F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4CD95B18-E90F-4436-9E2C-886C182D194F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4CD95B18-E90F-4436-9E2C-886C182D194F}.Release|Any CPU.Build.0 = Release|Any CPU + {F48C30CE-7852-45BC-B647-D6B13804CAD0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F48C30CE-7852-45BC-B647-D6B13804CAD0}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F48C30CE-7852-45BC-B647-D6B13804CAD0}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F48C30CE-7852-45BC-B647-D6B13804CAD0}.Release|Any CPU.Build.0 = Release|Any CPU + {D52533E8-0F1A-4B13-8CC4-B0F5054422AF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D52533E8-0F1A-4B13-8CC4-B0F5054422AF}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D52533E8-0F1A-4B13-8CC4-B0F5054422AF}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D52533E8-0F1A-4B13-8CC4-B0F5054422AF}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal