Skip to content

Commit 4c55a08

Browse files
morning4coffe-devMartinZikmund
authored andcommitted
chore: Move to new template
1 parent bd3e1fe commit 4c55a08

27 files changed

+94
-697
lines changed
Lines changed: 13 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,87 +1,36 @@
1+
12
Microsoft Visual Studio Solution File, Format Version 12.00
23
# Visual Studio Version 17
3-
VisualStudioVersion = 17.2.32210.308
4-
MinimumVisualStudioVersion = 15.0.26124.0
5-
6-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "UnoPongWars", "UnoPongWars\UnoPongWars.csproj", "{D2C54C34-B718-4089-A24E-71FD6F799204}"
4+
VisualStudioVersion = 17.9.34728.123
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UnoPongWars", "UnoPongWars\UnoPongWars.csproj", "{049AF152-F2D6-4234-A047-4C5BE56633EA}"
77
EndProject
8-
9-
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{BADA71DC-7FFD-4EDC-9F28-FB74AEADC713}"
8+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{6A44B210-8281-4A90-B194-7FFA494C4DFC}"
109
ProjectSection(SolutionItems) = preProject
1110
.gitignore = .gitignore
1211
Directory.Build.props = Directory.Build.props
1312
Directory.Build.targets = Directory.Build.targets
14-
global.json = global.json
1513
Directory.Packages.props = Directory.Packages.props
14+
global.json = global.json
1615
EndProjectSection
1716
EndProject
1817
Global
1918
GlobalSection(SolutionConfigurationPlatforms) = preSolution
2019
Debug|Any CPU = Debug|Any CPU
21-
Debug|ARM = Debug|ARM
22-
Debug|ARM64 = Debug|ARM64
23-
Debug|iPhone = Debug|iPhone
24-
Debug|iPhoneSimulator = Debug|iPhoneSimulator
25-
Debug|x64 = Debug|x64
26-
Debug|x86 = Debug|x86
2720
Release|Any CPU = Release|Any CPU
28-
Release|ARM = Release|ARM
29-
Release|ARM64 = Release|ARM64
30-
Release|iPhone = Release|iPhone
31-
Release|iPhoneSimulator = Release|iPhoneSimulator
32-
Release|x64 = Release|x64
33-
Release|x86 = Release|x86
3421
EndGlobalSection
3522
GlobalSection(ProjectConfigurationPlatforms) = postSolution
36-
{D2C54C34-B718-4089-A24E-71FD6F799204}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
37-
{D2C54C34-B718-4089-A24E-71FD6F799204}.Debug|Any CPU.Build.0 = Debug|Any CPU
38-
{D2C54C34-B718-4089-A24E-71FD6F799204}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
39-
{D2C54C34-B718-4089-A24E-71FD6F799204}.Debug|ARM.ActiveCfg = Debug|Any CPU
40-
{D2C54C34-B718-4089-A24E-71FD6F799204}.Debug|ARM.Build.0 = Debug|Any CPU
41-
{D2C54C34-B718-4089-A24E-71FD6F799204}.Debug|ARM.Deploy.0 = Debug|Any CPU
42-
{D2C54C34-B718-4089-A24E-71FD6F799204}.Debug|ARM64.ActiveCfg = Debug|Any CPU
43-
{D2C54C34-B718-4089-A24E-71FD6F799204}.Debug|ARM64.Build.0 = Debug|Any CPU
44-
{D2C54C34-B718-4089-A24E-71FD6F799204}.Debug|ARM64.Deploy.0 = Debug|Any CPU
45-
{D2C54C34-B718-4089-A24E-71FD6F799204}.Debug|iPhone.ActiveCfg = Debug|Any CPU
46-
{D2C54C34-B718-4089-A24E-71FD6F799204}.Debug|iPhone.Build.0 = Debug|Any CPU
47-
{D2C54C34-B718-4089-A24E-71FD6F799204}.Debug|iPhone.Deploy.0 = Debug|Any CPU
48-
{D2C54C34-B718-4089-A24E-71FD6F799204}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
49-
{D2C54C34-B718-4089-A24E-71FD6F799204}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
50-
{D2C54C34-B718-4089-A24E-71FD6F799204}.Debug|iPhoneSimulator.Deploy.0 = Debug|Any CPU
51-
{D2C54C34-B718-4089-A24E-71FD6F799204}.Debug|x64.ActiveCfg = Debug|Any CPU
52-
{D2C54C34-B718-4089-A24E-71FD6F799204}.Debug|x64.Build.0 = Debug|Any CPU
53-
{D2C54C34-B718-4089-A24E-71FD6F799204}.Debug|x64.Deploy.0 = Debug|Any CPU
54-
{D2C54C34-B718-4089-A24E-71FD6F799204}.Debug|x86.ActiveCfg = Debug|Any CPU
55-
{D2C54C34-B718-4089-A24E-71FD6F799204}.Debug|x86.Build.0 = Debug|Any CPU
56-
{D2C54C34-B718-4089-A24E-71FD6F799204}.Debug|x86.Deploy.0 = Debug|Any CPU
57-
{D2C54C34-B718-4089-A24E-71FD6F799204}.Release|Any CPU.ActiveCfg = Release|Any CPU
58-
{D2C54C34-B718-4089-A24E-71FD6F799204}.Release|Any CPU.Build.0 = Release|Any CPU
59-
{D2C54C34-B718-4089-A24E-71FD6F799204}.Release|Any CPU.Deploy.0 = Release|Any CPU
60-
{D2C54C34-B718-4089-A24E-71FD6F799204}.Release|ARM.ActiveCfg = Release|Any CPU
61-
{D2C54C34-B718-4089-A24E-71FD6F799204}.Release|ARM.Build.0 = Release|Any CPU
62-
{D2C54C34-B718-4089-A24E-71FD6F799204}.Release|ARM.Deploy.0 = Release|Any CPU
63-
{D2C54C34-B718-4089-A24E-71FD6F799204}.Release|ARM64.ActiveCfg = Release|Any CPU
64-
{D2C54C34-B718-4089-A24E-71FD6F799204}.Release|ARM64.Build.0 = Release|Any CPU
65-
{D2C54C34-B718-4089-A24E-71FD6F799204}.Release|ARM64.Deploy.0 = Release|Any CPU
66-
{D2C54C34-B718-4089-A24E-71FD6F799204}.Release|iPhone.ActiveCfg = Release|Any CPU
67-
{D2C54C34-B718-4089-A24E-71FD6F799204}.Release|iPhone.Build.0 = Release|Any CPU
68-
{D2C54C34-B718-4089-A24E-71FD6F799204}.Release|iPhone.Deploy.0 = Release|Any CPU
69-
{D2C54C34-B718-4089-A24E-71FD6F799204}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
70-
{D2C54C34-B718-4089-A24E-71FD6F799204}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
71-
{D2C54C34-B718-4089-A24E-71FD6F799204}.Release|iPhoneSimulator.Deploy.0 = Release|Any CPU
72-
{D2C54C34-B718-4089-A24E-71FD6F799204}.Release|x64.ActiveCfg = Release|Any CPU
73-
{D2C54C34-B718-4089-A24E-71FD6F799204}.Release|x64.Build.0 = Release|Any CPU
74-
{D2C54C34-B718-4089-A24E-71FD6F799204}.Release|x64.Deploy.0 = Release|Any CPU
75-
{D2C54C34-B718-4089-A24E-71FD6F799204}.Release|x86.ActiveCfg = Release|Any CPU
76-
{D2C54C34-B718-4089-A24E-71FD6F799204}.Release|x86.Build.0 = Release|Any CPU
77-
{D2C54C34-B718-4089-A24E-71FD6F799204}.Release|x86.Deploy.0 = Release|Any CPU
23+
{049AF152-F2D6-4234-A047-4C5BE56633EA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
24+
{049AF152-F2D6-4234-A047-4C5BE56633EA}.Debug|Any CPU.Build.0 = Debug|Any CPU
25+
{049AF152-F2D6-4234-A047-4C5BE56633EA}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
26+
{049AF152-F2D6-4234-A047-4C5BE56633EA}.Release|Any CPU.ActiveCfg = Release|Any CPU
27+
{049AF152-F2D6-4234-A047-4C5BE56633EA}.Release|Any CPU.Build.0 = Release|Any CPU
28+
{049AF152-F2D6-4234-A047-4C5BE56633EA}.Release|Any CPU.Deploy.0 = Release|Any CPU
7829
EndGlobalSection
7930
GlobalSection(SolutionProperties) = preSolution
8031
HideSolutionNode = FALSE
8132
EndGlobalSection
82-
GlobalSection(NestedProjects) = preSolution
83-
EndGlobalSection
8433
GlobalSection(ExtensibilityGlobals) = postSolution
85-
SolutionGuid = {3550E5C7-6B43-4CA3-995E-C3A1D6CE3886}
34+
SolutionGuid = {44726950-17B7-490F-99B4-EDAFC3A80ECB}
8635
EndGlobalSection
8736
EndGlobal

UI/PongWars/UnoPongWars/UnoPongWars/App.xaml.cs

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using Uno.Resizetizer;
22

33
namespace UnoPongWars;
4-
54
public partial class App : Application
65
{
76
/// <summary>
@@ -24,7 +23,7 @@ protected async override void OnLaunched(LaunchActivatedEventArgs args)
2423

2524
// Load Uno.UI.Toolkit and Material Resources
2625
Resources.Build(r => r.Merged(
27-
new MaterialToolkitTheme(
26+
new MaterialToolkitTheme(
2827
new Styles.ColorPaletteOverride(),
2928
new Styles.MaterialFontsOverride())));
3029
var builder = this.CreateBuilder(args)
@@ -70,20 +69,6 @@ protected async override void OnLaunched(LaunchActivatedEventArgs args)
7069
.EmbeddedSource<App>()
7170
.Section<AppConfig>()
7271
)
73-
// Enable localization (see appsettings.json for supported languages)
74-
.UseLocalization()
75-
// Register Json serializers (ISerializer and ISerializer)
76-
.UseSerialization((context, services) => services
77-
.AddContentSerializer(context)
78-
.AddJsonTypeInfo(WeatherForecastContext.Default.IImmutableListWeatherForecast))
79-
.UseHttp((context, services) => services
80-
// Register HttpClient
81-
#if DEBUG
82-
// DelegatingHandler will be automatically injected into Refit Client
83-
.AddTransient<DelegatingHandler, DebugHttpHandler>()
84-
#endif
85-
.AddSingleton<IWeatherCache, WeatherCache>()
86-
.AddRefitClient<IApiClient>(context))
8772
.ConfigureServices((context, services) =>
8873
{
8974
// TODO: Register your services
@@ -112,7 +97,7 @@ private static void RegisterRoutes(IViewRegistry views, IRouteRegistry routes)
11297
new RouteMap("", View: views.FindByViewModel<ShellModel>(),
11398
Nested:
11499
[
115-
new RouteMap("Main", View: views.FindByViewModel<GameModel>()),
100+
new ("Main", View: views.FindByViewModel<GameModel>()),
116101
]
117102
)
118103
);
Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
1-
global using System.Collections.Immutable;
1+
global using System.Collections.Immutable;
22
global using Microsoft.Extensions.DependencyInjection;
33
global using Microsoft.Extensions.Hosting;
4-
global using Microsoft.Extensions.Localization;
54
global using Microsoft.Extensions.Logging;
65
global using Microsoft.Extensions.Options;
76
global using UnoPongWars.Models;
87
global using UnoPongWars.Presentation;
9-
global using UnoPongWars.DataContracts;
10-
global using UnoPongWars.DataContracts.Serialization;
11-
global using UnoPongWars.Services.Caching;
12-
global using UnoPongWars.Services.Endpoints;
138
global using ApplicationExecutionState = Windows.ApplicationModel.Activation.ApplicationExecutionState;
149
global using Color = Windows.UI.Color;
15-
global using UnoPongWars.Business.Models;
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
namespace UnoPongWars.Business.Models;
1+
namespace UnoPongWars.Models;
22

33
public partial record struct Cell(int Id, int Player, bool HasBall);

UI/PongWars/UnoPongWars/UnoPongWars/Models/Entity.cs

Lines changed: 0 additions & 3 deletions
This file was deleted.

UI/PongWars/UnoPongWars/UnoPongWars/Business/Models/Game.cs renamed to UI/PongWars/UnoPongWars/UnoPongWars/Models/Game.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using Uno.Extensions.Specialized;
33
using Windows.Foundation;
44

5-
namespace UnoPongWars.Business.Models;
5+
namespace UnoPongWars.Models;
66

77
public record Game(int Width, int Height)
88
{

UI/PongWars/UnoPongWars/UnoPongWars/Models/WeatherForecast.cs

Lines changed: 0 additions & 15 deletions
This file was deleted.

UI/PongWars/UnoPongWars/UnoPongWars/Package.appxmanifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<Identity
1010
Name="UnoPongWars"
11-
Publisher="O=UnoPongWars"
11+
Publisher="O=UnoPlatform"
1212
Version="1.0.0.0" />
1313

1414
<Properties>

UI/PongWars/UnoPongWars/UnoPongWars/Platforms/Android/Main.Android.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
using Microsoft.UI.Xaml.Media;
1313

1414
namespace UnoPongWars.Droid;
15-
1615
[global::Android.App.ApplicationAttribute(
1716
Label = "@string/ApplicationName",
1817
Icon = "@mipmap/icon",

UI/PongWars/UnoPongWars/UnoPongWars/Platforms/Android/MainActivity.Android.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
using Android.Widget;
66

77
namespace UnoPongWars.Droid;
8-
98
[Activity(
109
MainLauncher = true,
1110
ConfigurationChanges = global::Uno.UI.ActivityHelper.AllConfigChanges,

0 commit comments

Comments
 (0)