From 91525989cfd539c981787b7fcef0817b62ccd4f8 Mon Sep 17 00:00:00 2001 From: SobirjonovSodiqjonovich Date: Fri, 21 Oct 2022 21:36:03 +0500 Subject: [PATCH 1/3] created project --- src/Oceloton.Core/Class1.cs | 7 ++++ src/Oceloton.Core/Oceloton.Core.csproj | 9 +++++ src/Oceloton.Desktop.sln | 37 ++++++++++++++++++++ src/Oceloton.Desktop/App.xaml | 9 +++++ src/Oceloton.Desktop/App.xaml.cs | 17 +++++++++ src/Oceloton.Desktop/AssemblyInfo.cs | 10 ++++++ src/Oceloton.Desktop/MainWindow.xaml | 12 +++++++ src/Oceloton.Desktop/MainWindow.xaml.cs | 28 +++++++++++++++ src/Oceloton.Desktop/Oceloton.Desktop.csproj | 10 ++++++ src/Oceloton.Domain/Class1.cs | 7 ++++ src/Oceloton.Domain/Oceloton.Domain.csproj | 9 +++++ 11 files changed, 155 insertions(+) create mode 100644 src/Oceloton.Core/Class1.cs create mode 100644 src/Oceloton.Core/Oceloton.Core.csproj create mode 100644 src/Oceloton.Desktop.sln create mode 100644 src/Oceloton.Desktop/App.xaml create mode 100644 src/Oceloton.Desktop/App.xaml.cs create mode 100644 src/Oceloton.Desktop/AssemblyInfo.cs create mode 100644 src/Oceloton.Desktop/MainWindow.xaml create mode 100644 src/Oceloton.Desktop/MainWindow.xaml.cs create mode 100644 src/Oceloton.Desktop/Oceloton.Desktop.csproj create mode 100644 src/Oceloton.Domain/Class1.cs create mode 100644 src/Oceloton.Domain/Oceloton.Domain.csproj diff --git a/src/Oceloton.Core/Class1.cs b/src/Oceloton.Core/Class1.cs new file mode 100644 index 0000000..8b9b612 --- /dev/null +++ b/src/Oceloton.Core/Class1.cs @@ -0,0 +1,7 @@ +namespace Oceloton.Core +{ + public class Class1 + { + + } +} \ No newline at end of file diff --git a/src/Oceloton.Core/Oceloton.Core.csproj b/src/Oceloton.Core/Oceloton.Core.csproj new file mode 100644 index 0000000..132c02c --- /dev/null +++ b/src/Oceloton.Core/Oceloton.Core.csproj @@ -0,0 +1,9 @@ + + + + net6.0 + enable + enable + + + diff --git a/src/Oceloton.Desktop.sln b/src/Oceloton.Desktop.sln new file mode 100644 index 0000000..66a9956 --- /dev/null +++ b/src/Oceloton.Desktop.sln @@ -0,0 +1,37 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.1.32407.343 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Oceloton.Desktop", "Oceloton.Desktop\Oceloton.Desktop.csproj", "{50DCCD96-4671-4BB6-B1D7-E468E11B7759}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Oceloton.Domain", "Oceloton.Domain\Oceloton.Domain.csproj", "{57CC221A-CD14-49AF-9E71-414BB7A55543}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Oceloton.Core", "Oceloton.Core\Oceloton.Core.csproj", "{70169296-236F-4DDB-B2FF-058FD379787C}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {50DCCD96-4671-4BB6-B1D7-E468E11B7759}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {50DCCD96-4671-4BB6-B1D7-E468E11B7759}.Debug|Any CPU.Build.0 = Debug|Any CPU + {50DCCD96-4671-4BB6-B1D7-E468E11B7759}.Release|Any CPU.ActiveCfg = Release|Any CPU + {50DCCD96-4671-4BB6-B1D7-E468E11B7759}.Release|Any CPU.Build.0 = Release|Any CPU + {57CC221A-CD14-49AF-9E71-414BB7A55543}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {57CC221A-CD14-49AF-9E71-414BB7A55543}.Debug|Any CPU.Build.0 = Debug|Any CPU + {57CC221A-CD14-49AF-9E71-414BB7A55543}.Release|Any CPU.ActiveCfg = Release|Any CPU + {57CC221A-CD14-49AF-9E71-414BB7A55543}.Release|Any CPU.Build.0 = Release|Any CPU + {70169296-236F-4DDB-B2FF-058FD379787C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {70169296-236F-4DDB-B2FF-058FD379787C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {70169296-236F-4DDB-B2FF-058FD379787C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {70169296-236F-4DDB-B2FF-058FD379787C}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {335CB828-4460-4578-B666-5E4BCD3A5C8F} + EndGlobalSection +EndGlobal diff --git a/src/Oceloton.Desktop/App.xaml b/src/Oceloton.Desktop/App.xaml new file mode 100644 index 0000000..8a91373 --- /dev/null +++ b/src/Oceloton.Desktop/App.xaml @@ -0,0 +1,9 @@ + + + + + diff --git a/src/Oceloton.Desktop/App.xaml.cs b/src/Oceloton.Desktop/App.xaml.cs new file mode 100644 index 0000000..72cea28 --- /dev/null +++ b/src/Oceloton.Desktop/App.xaml.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Configuration; +using System.Data; +using System.Linq; +using System.Threading.Tasks; +using System.Windows; + +namespace Oceloton.Desktop +{ + /// + /// Interaction logic for App.xaml + /// + public partial class App : Application + { + } +} diff --git a/src/Oceloton.Desktop/AssemblyInfo.cs b/src/Oceloton.Desktop/AssemblyInfo.cs new file mode 100644 index 0000000..8b5504e --- /dev/null +++ b/src/Oceloton.Desktop/AssemblyInfo.cs @@ -0,0 +1,10 @@ +using System.Windows; + +[assembly: ThemeInfo( + ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located + //(used if a resource is not found in the page, + // or application resource dictionaries) + ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located + //(used if a resource is not found in the page, + // app, or any theme specific resource dictionaries) +)] diff --git a/src/Oceloton.Desktop/MainWindow.xaml b/src/Oceloton.Desktop/MainWindow.xaml new file mode 100644 index 0000000..81cc08c --- /dev/null +++ b/src/Oceloton.Desktop/MainWindow.xaml @@ -0,0 +1,12 @@ + + + + + diff --git a/src/Oceloton.Desktop/MainWindow.xaml.cs b/src/Oceloton.Desktop/MainWindow.xaml.cs new file mode 100644 index 0000000..2d8ebe9 --- /dev/null +++ b/src/Oceloton.Desktop/MainWindow.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace Oceloton.Desktop +{ + /// + /// Interaction logic for MainWindow.xaml + /// + public partial class MainWindow : Window + { + public MainWindow() + { + InitializeComponent(); + } + } +} diff --git a/src/Oceloton.Desktop/Oceloton.Desktop.csproj b/src/Oceloton.Desktop/Oceloton.Desktop.csproj new file mode 100644 index 0000000..4106cb0 --- /dev/null +++ b/src/Oceloton.Desktop/Oceloton.Desktop.csproj @@ -0,0 +1,10 @@ + + + + WinExe + net6.0-windows + enable + true + + + diff --git a/src/Oceloton.Domain/Class1.cs b/src/Oceloton.Domain/Class1.cs new file mode 100644 index 0000000..a771a30 --- /dev/null +++ b/src/Oceloton.Domain/Class1.cs @@ -0,0 +1,7 @@ +namespace Oceloton.Domain +{ + public class Class1 + { + + } +} \ No newline at end of file diff --git a/src/Oceloton.Domain/Oceloton.Domain.csproj b/src/Oceloton.Domain/Oceloton.Domain.csproj new file mode 100644 index 0000000..132c02c --- /dev/null +++ b/src/Oceloton.Domain/Oceloton.Domain.csproj @@ -0,0 +1,9 @@ + + + + net6.0 + enable + enable + + + From d8a7f51e0f5d7054f9a485d5957ed72b821fece3 Mon Sep 17 00:00:00 2001 From: SobirjonovSodiqjonovich Date: Fri, 21 Oct 2022 21:37:16 +0500 Subject: [PATCH 2/3] created test console project --- src/Oceloton.Console/Oceloton.Console.csproj | 10 ++++++++++ src/Oceloton.Console/Program.cs | 2 ++ src/Oceloton.Desktop.sln | 6 ++++++ 3 files changed, 18 insertions(+) create mode 100644 src/Oceloton.Console/Oceloton.Console.csproj create mode 100644 src/Oceloton.Console/Program.cs diff --git a/src/Oceloton.Console/Oceloton.Console.csproj b/src/Oceloton.Console/Oceloton.Console.csproj new file mode 100644 index 0000000..74abf5c --- /dev/null +++ b/src/Oceloton.Console/Oceloton.Console.csproj @@ -0,0 +1,10 @@ + + + + Exe + net6.0 + enable + enable + + + diff --git a/src/Oceloton.Console/Program.cs b/src/Oceloton.Console/Program.cs new file mode 100644 index 0000000..3751555 --- /dev/null +++ b/src/Oceloton.Console/Program.cs @@ -0,0 +1,2 @@ +// See https://aka.ms/new-console-template for more information +Console.WriteLine("Hello, World!"); diff --git a/src/Oceloton.Desktop.sln b/src/Oceloton.Desktop.sln index 66a9956..a9b91b7 100644 --- a/src/Oceloton.Desktop.sln +++ b/src/Oceloton.Desktop.sln @@ -9,6 +9,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Oceloton.Domain", "Oceloton EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Oceloton.Core", "Oceloton.Core\Oceloton.Core.csproj", "{70169296-236F-4DDB-B2FF-058FD379787C}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Oceloton.Console", "Oceloton.Console\Oceloton.Console.csproj", "{37819AA5-6B81-4BEC-B98D-858F4AD0BF38}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -27,6 +29,10 @@ Global {70169296-236F-4DDB-B2FF-058FD379787C}.Debug|Any CPU.Build.0 = Debug|Any CPU {70169296-236F-4DDB-B2FF-058FD379787C}.Release|Any CPU.ActiveCfg = Release|Any CPU {70169296-236F-4DDB-B2FF-058FD379787C}.Release|Any CPU.Build.0 = Release|Any CPU + {37819AA5-6B81-4BEC-B98D-858F4AD0BF38}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {37819AA5-6B81-4BEC-B98D-858F4AD0BF38}.Debug|Any CPU.Build.0 = Debug|Any CPU + {37819AA5-6B81-4BEC-B98D-858F4AD0BF38}.Release|Any CPU.ActiveCfg = Release|Any CPU + {37819AA5-6B81-4BEC-B98D-858F4AD0BF38}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE From 42a8ff1e37afb5b84f56c7e347bcde573c7e902b Mon Sep 17 00:00:00 2001 From: SobirjonovSodiqjonovich Date: Fri, 21 Oct 2022 21:37:47 +0500 Subject: [PATCH 3/3] updated --- src/Oceloton.Domain/Class1.cs | 7 ------- src/Oceloton.Domain/Oceloton.Domain.csproj | 6 +++++- 2 files changed, 5 insertions(+), 8 deletions(-) delete mode 100644 src/Oceloton.Domain/Class1.cs diff --git a/src/Oceloton.Domain/Class1.cs b/src/Oceloton.Domain/Class1.cs deleted file mode 100644 index a771a30..0000000 --- a/src/Oceloton.Domain/Class1.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace Oceloton.Domain -{ - public class Class1 - { - - } -} \ No newline at end of file diff --git a/src/Oceloton.Domain/Oceloton.Domain.csproj b/src/Oceloton.Domain/Oceloton.Domain.csproj index 132c02c..962b8f6 100644 --- a/src/Oceloton.Domain/Oceloton.Domain.csproj +++ b/src/Oceloton.Domain/Oceloton.Domain.csproj @@ -1,4 +1,4 @@ - + net6.0 @@ -6,4 +6,8 @@ enable + + + +