Update to .Net 8.
@@ -1,138 +0,0 @@
|
|||||||
|
|
||||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
|
||||||
# Visual Studio Version 17
|
|
||||||
VisualStudioVersion = 17.5.33627.172
|
|
||||||
MinimumVisualStudioVersion = 10.0.40219.1
|
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestApp", "TestApp\TestApp\TestApp.csproj", "{B86D0E02-053A-411E-9C97-FE520A67BF92}"
|
|
||||||
EndProject
|
|
||||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Platforms", "Platforms", "{396481E0-54D5-4B3F-9BEC-ED3D09CE0518}"
|
|
||||||
EndProject
|
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestApp.Mobile", "TestApp\TestApp.Mobile\TestApp.Mobile.csproj", "{D7F63168-6563-404F-B6FA-F68D01454C5A}"
|
|
||||||
EndProject
|
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestApp.Windows", "TestApp\TestApp.Windows\TestApp.Windows.csproj", "{3B69A13C-B8A0-4B51-9B78-9088BBFB5A5B}"
|
|
||||||
EndProject
|
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestApp.Skia.Gtk", "TestApp\TestApp.Skia.Gtk\TestApp.Skia.Gtk.csproj", "{F0B4A2C3-3CEB-4498-B704-CB08D2D1AD4E}"
|
|
||||||
EndProject
|
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestApp.Data", "TestApp.Data\TestApp.Data.csproj", "{2719E894-38DA-4F8F-B7C7-AE9D784A8B85}"
|
|
||||||
EndProject
|
|
||||||
Global
|
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
|
||||||
Debug|Any CPU = Debug|Any CPU
|
|
||||||
Debug|arm64 = Debug|arm64
|
|
||||||
Debug|x64 = Debug|x64
|
|
||||||
Debug|x86 = Debug|x86
|
|
||||||
Release|Any CPU = Release|Any CPU
|
|
||||||
Release|arm64 = Release|arm64
|
|
||||||
Release|x64 = Release|x64
|
|
||||||
Release|x86 = Release|x86
|
|
||||||
EndGlobalSection
|
|
||||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
|
||||||
{B86D0E02-053A-411E-9C97-FE520A67BF92}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
|
||||||
{B86D0E02-053A-411E-9C97-FE520A67BF92}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
|
||||||
{B86D0E02-053A-411E-9C97-FE520A67BF92}.Debug|arm64.ActiveCfg = Debug|Any CPU
|
|
||||||
{B86D0E02-053A-411E-9C97-FE520A67BF92}.Debug|arm64.Build.0 = Debug|Any CPU
|
|
||||||
{B86D0E02-053A-411E-9C97-FE520A67BF92}.Debug|x64.ActiveCfg = Debug|Any CPU
|
|
||||||
{B86D0E02-053A-411E-9C97-FE520A67BF92}.Debug|x64.Build.0 = Debug|Any CPU
|
|
||||||
{B86D0E02-053A-411E-9C97-FE520A67BF92}.Debug|x86.ActiveCfg = Debug|Any CPU
|
|
||||||
{B86D0E02-053A-411E-9C97-FE520A67BF92}.Debug|x86.Build.0 = Debug|Any CPU
|
|
||||||
{B86D0E02-053A-411E-9C97-FE520A67BF92}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
|
||||||
{B86D0E02-053A-411E-9C97-FE520A67BF92}.Release|Any CPU.Build.0 = Release|Any CPU
|
|
||||||
{B86D0E02-053A-411E-9C97-FE520A67BF92}.Release|arm64.ActiveCfg = Release|Any CPU
|
|
||||||
{B86D0E02-053A-411E-9C97-FE520A67BF92}.Release|arm64.Build.0 = Release|Any CPU
|
|
||||||
{B86D0E02-053A-411E-9C97-FE520A67BF92}.Release|x64.ActiveCfg = Release|Any CPU
|
|
||||||
{B86D0E02-053A-411E-9C97-FE520A67BF92}.Release|x64.Build.0 = Release|Any CPU
|
|
||||||
{B86D0E02-053A-411E-9C97-FE520A67BF92}.Release|x86.ActiveCfg = Release|Any CPU
|
|
||||||
{B86D0E02-053A-411E-9C97-FE520A67BF92}.Release|x86.Build.0 = Release|Any CPU
|
|
||||||
{D7F63168-6563-404F-B6FA-F68D01454C5A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
|
||||||
{D7F63168-6563-404F-B6FA-F68D01454C5A}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
|
||||||
{D7F63168-6563-404F-B6FA-F68D01454C5A}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
|
|
||||||
{D7F63168-6563-404F-B6FA-F68D01454C5A}.Debug|arm64.ActiveCfg = Debug|Any CPU
|
|
||||||
{D7F63168-6563-404F-B6FA-F68D01454C5A}.Debug|arm64.Build.0 = Debug|Any CPU
|
|
||||||
{D7F63168-6563-404F-B6FA-F68D01454C5A}.Debug|arm64.Deploy.0 = Debug|Any CPU
|
|
||||||
{D7F63168-6563-404F-B6FA-F68D01454C5A}.Debug|x64.ActiveCfg = Debug|Any CPU
|
|
||||||
{D7F63168-6563-404F-B6FA-F68D01454C5A}.Debug|x64.Build.0 = Debug|Any CPU
|
|
||||||
{D7F63168-6563-404F-B6FA-F68D01454C5A}.Debug|x64.Deploy.0 = Debug|Any CPU
|
|
||||||
{D7F63168-6563-404F-B6FA-F68D01454C5A}.Debug|x86.ActiveCfg = Debug|Any CPU
|
|
||||||
{D7F63168-6563-404F-B6FA-F68D01454C5A}.Debug|x86.Build.0 = Debug|Any CPU
|
|
||||||
{D7F63168-6563-404F-B6FA-F68D01454C5A}.Debug|x86.Deploy.0 = Debug|Any CPU
|
|
||||||
{D7F63168-6563-404F-B6FA-F68D01454C5A}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
|
||||||
{D7F63168-6563-404F-B6FA-F68D01454C5A}.Release|Any CPU.Build.0 = Release|Any CPU
|
|
||||||
{D7F63168-6563-404F-B6FA-F68D01454C5A}.Release|Any CPU.Deploy.0 = Release|Any CPU
|
|
||||||
{D7F63168-6563-404F-B6FA-F68D01454C5A}.Release|arm64.ActiveCfg = Release|Any CPU
|
|
||||||
{D7F63168-6563-404F-B6FA-F68D01454C5A}.Release|arm64.Build.0 = Release|Any CPU
|
|
||||||
{D7F63168-6563-404F-B6FA-F68D01454C5A}.Release|arm64.Deploy.0 = Release|Any CPU
|
|
||||||
{D7F63168-6563-404F-B6FA-F68D01454C5A}.Release|x64.ActiveCfg = Release|Any CPU
|
|
||||||
{D7F63168-6563-404F-B6FA-F68D01454C5A}.Release|x64.Build.0 = Release|Any CPU
|
|
||||||
{D7F63168-6563-404F-B6FA-F68D01454C5A}.Release|x64.Deploy.0 = Release|Any CPU
|
|
||||||
{D7F63168-6563-404F-B6FA-F68D01454C5A}.Release|x86.ActiveCfg = Release|Any CPU
|
|
||||||
{D7F63168-6563-404F-B6FA-F68D01454C5A}.Release|x86.Build.0 = Release|Any CPU
|
|
||||||
{D7F63168-6563-404F-B6FA-F68D01454C5A}.Release|x86.Deploy.0 = Release|Any CPU
|
|
||||||
{3B69A13C-B8A0-4B51-9B78-9088BBFB5A5B}.Debug|Any CPU.ActiveCfg = Debug|x64
|
|
||||||
{3B69A13C-B8A0-4B51-9B78-9088BBFB5A5B}.Debug|Any CPU.Build.0 = Debug|x64
|
|
||||||
{3B69A13C-B8A0-4B51-9B78-9088BBFB5A5B}.Debug|Any CPU.Deploy.0 = Debug|x64
|
|
||||||
{3B69A13C-B8A0-4B51-9B78-9088BBFB5A5B}.Debug|arm64.ActiveCfg = Debug|arm64
|
|
||||||
{3B69A13C-B8A0-4B51-9B78-9088BBFB5A5B}.Debug|arm64.Build.0 = Debug|arm64
|
|
||||||
{3B69A13C-B8A0-4B51-9B78-9088BBFB5A5B}.Debug|arm64.Deploy.0 = Debug|arm64
|
|
||||||
{3B69A13C-B8A0-4B51-9B78-9088BBFB5A5B}.Debug|x64.ActiveCfg = Debug|x64
|
|
||||||
{3B69A13C-B8A0-4B51-9B78-9088BBFB5A5B}.Debug|x64.Build.0 = Debug|x64
|
|
||||||
{3B69A13C-B8A0-4B51-9B78-9088BBFB5A5B}.Debug|x64.Deploy.0 = Debug|x64
|
|
||||||
{3B69A13C-B8A0-4B51-9B78-9088BBFB5A5B}.Debug|x86.ActiveCfg = Debug|x86
|
|
||||||
{3B69A13C-B8A0-4B51-9B78-9088BBFB5A5B}.Debug|x86.Build.0 = Debug|x86
|
|
||||||
{3B69A13C-B8A0-4B51-9B78-9088BBFB5A5B}.Debug|x86.Deploy.0 = Debug|x86
|
|
||||||
{3B69A13C-B8A0-4B51-9B78-9088BBFB5A5B}.Release|Any CPU.ActiveCfg = Release|x64
|
|
||||||
{3B69A13C-B8A0-4B51-9B78-9088BBFB5A5B}.Release|Any CPU.Build.0 = Release|x64
|
|
||||||
{3B69A13C-B8A0-4B51-9B78-9088BBFB5A5B}.Release|Any CPU.Deploy.0 = Release|x64
|
|
||||||
{3B69A13C-B8A0-4B51-9B78-9088BBFB5A5B}.Release|arm64.ActiveCfg = Release|arm64
|
|
||||||
{3B69A13C-B8A0-4B51-9B78-9088BBFB5A5B}.Release|arm64.Build.0 = Release|arm64
|
|
||||||
{3B69A13C-B8A0-4B51-9B78-9088BBFB5A5B}.Release|arm64.Deploy.0 = Release|arm64
|
|
||||||
{3B69A13C-B8A0-4B51-9B78-9088BBFB5A5B}.Release|x64.ActiveCfg = Release|x64
|
|
||||||
{3B69A13C-B8A0-4B51-9B78-9088BBFB5A5B}.Release|x64.Build.0 = Release|x64
|
|
||||||
{3B69A13C-B8A0-4B51-9B78-9088BBFB5A5B}.Release|x64.Deploy.0 = Release|x64
|
|
||||||
{3B69A13C-B8A0-4B51-9B78-9088BBFB5A5B}.Release|x86.ActiveCfg = Release|x86
|
|
||||||
{3B69A13C-B8A0-4B51-9B78-9088BBFB5A5B}.Release|x86.Build.0 = Release|x86
|
|
||||||
{3B69A13C-B8A0-4B51-9B78-9088BBFB5A5B}.Release|x86.Deploy.0 = Release|x86
|
|
||||||
{F0B4A2C3-3CEB-4498-B704-CB08D2D1AD4E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
|
||||||
{F0B4A2C3-3CEB-4498-B704-CB08D2D1AD4E}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
|
||||||
{F0B4A2C3-3CEB-4498-B704-CB08D2D1AD4E}.Debug|arm64.ActiveCfg = Debug|Any CPU
|
|
||||||
{F0B4A2C3-3CEB-4498-B704-CB08D2D1AD4E}.Debug|arm64.Build.0 = Debug|Any CPU
|
|
||||||
{F0B4A2C3-3CEB-4498-B704-CB08D2D1AD4E}.Debug|x64.ActiveCfg = Debug|Any CPU
|
|
||||||
{F0B4A2C3-3CEB-4498-B704-CB08D2D1AD4E}.Debug|x64.Build.0 = Debug|Any CPU
|
|
||||||
{F0B4A2C3-3CEB-4498-B704-CB08D2D1AD4E}.Debug|x86.ActiveCfg = Debug|Any CPU
|
|
||||||
{F0B4A2C3-3CEB-4498-B704-CB08D2D1AD4E}.Debug|x86.Build.0 = Debug|Any CPU
|
|
||||||
{F0B4A2C3-3CEB-4498-B704-CB08D2D1AD4E}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
|
||||||
{F0B4A2C3-3CEB-4498-B704-CB08D2D1AD4E}.Release|Any CPU.Build.0 = Release|Any CPU
|
|
||||||
{F0B4A2C3-3CEB-4498-B704-CB08D2D1AD4E}.Release|arm64.ActiveCfg = Release|Any CPU
|
|
||||||
{F0B4A2C3-3CEB-4498-B704-CB08D2D1AD4E}.Release|arm64.Build.0 = Release|Any CPU
|
|
||||||
{F0B4A2C3-3CEB-4498-B704-CB08D2D1AD4E}.Release|x64.ActiveCfg = Release|Any CPU
|
|
||||||
{F0B4A2C3-3CEB-4498-B704-CB08D2D1AD4E}.Release|x64.Build.0 = Release|Any CPU
|
|
||||||
{F0B4A2C3-3CEB-4498-B704-CB08D2D1AD4E}.Release|x86.ActiveCfg = Release|Any CPU
|
|
||||||
{F0B4A2C3-3CEB-4498-B704-CB08D2D1AD4E}.Release|x86.Build.0 = Release|Any CPU
|
|
||||||
{2719E894-38DA-4F8F-B7C7-AE9D784A8B85}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
|
||||||
{2719E894-38DA-4F8F-B7C7-AE9D784A8B85}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
|
||||||
{2719E894-38DA-4F8F-B7C7-AE9D784A8B85}.Debug|arm64.ActiveCfg = Debug|Any CPU
|
|
||||||
{2719E894-38DA-4F8F-B7C7-AE9D784A8B85}.Debug|arm64.Build.0 = Debug|Any CPU
|
|
||||||
{2719E894-38DA-4F8F-B7C7-AE9D784A8B85}.Debug|x64.ActiveCfg = Debug|Any CPU
|
|
||||||
{2719E894-38DA-4F8F-B7C7-AE9D784A8B85}.Debug|x64.Build.0 = Debug|Any CPU
|
|
||||||
{2719E894-38DA-4F8F-B7C7-AE9D784A8B85}.Debug|x86.ActiveCfg = Debug|Any CPU
|
|
||||||
{2719E894-38DA-4F8F-B7C7-AE9D784A8B85}.Debug|x86.Build.0 = Debug|Any CPU
|
|
||||||
{2719E894-38DA-4F8F-B7C7-AE9D784A8B85}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
|
||||||
{2719E894-38DA-4F8F-B7C7-AE9D784A8B85}.Release|Any CPU.Build.0 = Release|Any CPU
|
|
||||||
{2719E894-38DA-4F8F-B7C7-AE9D784A8B85}.Release|arm64.ActiveCfg = Release|Any CPU
|
|
||||||
{2719E894-38DA-4F8F-B7C7-AE9D784A8B85}.Release|arm64.Build.0 = Release|Any CPU
|
|
||||||
{2719E894-38DA-4F8F-B7C7-AE9D784A8B85}.Release|x64.ActiveCfg = Release|Any CPU
|
|
||||||
{2719E894-38DA-4F8F-B7C7-AE9D784A8B85}.Release|x64.Build.0 = Release|Any CPU
|
|
||||||
{2719E894-38DA-4F8F-B7C7-AE9D784A8B85}.Release|x86.ActiveCfg = Release|Any CPU
|
|
||||||
{2719E894-38DA-4F8F-B7C7-AE9D784A8B85}.Release|x86.Build.0 = Release|Any CPU
|
|
||||||
EndGlobalSection
|
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
|
||||||
HideSolutionNode = FALSE
|
|
||||||
EndGlobalSection
|
|
||||||
GlobalSection(NestedProjects) = preSolution
|
|
||||||
{D7F63168-6563-404F-B6FA-F68D01454C5A} = {396481E0-54D5-4B3F-9BEC-ED3D09CE0518}
|
|
||||||
{3B69A13C-B8A0-4B51-9B78-9088BBFB5A5B} = {396481E0-54D5-4B3F-9BEC-ED3D09CE0518}
|
|
||||||
{F0B4A2C3-3CEB-4498-B704-CB08D2D1AD4E} = {396481E0-54D5-4B3F-9BEC-ED3D09CE0518}
|
|
||||||
EndGlobalSection
|
|
||||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
|
||||||
SolutionGuid = {DBE75C9E-AE63-4318-8302-E69660E41D90}
|
|
||||||
EndGlobalSection
|
|
||||||
EndGlobal
|
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net7.0</TargetFramework>
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
@@ -0,0 +1,171 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio Version 17
|
||||||
|
VisualStudioVersion = 17.8.34330.188
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Source", "Source", "{101A0480-BD9D-4A1D-9C44-3641997525EF}"
|
||||||
|
EndProject
|
||||||
|
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Platforms", "Platforms", "{0387379C-46C4-4084-84E5-26627A8C4B93}"
|
||||||
|
EndProject
|
||||||
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HotelOnContainers_App", "HotelOnContainers_App\HotelOnContainers_App\HotelOnContainers_App.csproj", "{FDE9FEB0-57CE-424F-9073-61FE5721D5E6}"
|
||||||
|
EndProject
|
||||||
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HotelOnContainers_App.Shared", "HotelOnContainers_App\HotelOnContainers_App.Shared\HotelOnContainers_App.Shared.csproj", "{89876A94-47D5-4323-AF35-9E5C9E815B6A}"
|
||||||
|
EndProject
|
||||||
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HotelOnContainers_App.Mobile", "HotelOnContainers_App\HotelOnContainers_App.Mobile\HotelOnContainers_App.Mobile.csproj", "{240CF684-A7A1-4C13-BB9B-2D6D7A38863F}"
|
||||||
|
EndProject
|
||||||
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HotelOnContainers_App.Windows", "HotelOnContainers_App\HotelOnContainers_App.Windows\HotelOnContainers_App.Windows.csproj", "{5CEA9A22-E421-4F60-AE69-137E5FC931BE}"
|
||||||
|
EndProject
|
||||||
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HotelOnContainers_App.Skia.Gtk", "HotelOnContainers_App\HotelOnContainers_App.Skia.Gtk\HotelOnContainers_App.Skia.Gtk.csproj", "{FABAF1D2-7A85-4E90-96EB-4C27B66B86FB}"
|
||||||
|
EndProject
|
||||||
|
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{C61CF00C-B091-4799-BB0F-E4CDF2068C0A}"
|
||||||
|
ProjectSection(SolutionItems) = preProject
|
||||||
|
HotelOnContainers_App\.gitignore = HotelOnContainers_App\.gitignore
|
||||||
|
HotelOnContainers_App\Directory.Build.props = HotelOnContainers_App\Directory.Build.props
|
||||||
|
HotelOnContainers_App\Directory.Build.targets = HotelOnContainers_App\Directory.Build.targets
|
||||||
|
HotelOnContainers_App\Directory.Packages.props = HotelOnContainers_App\Directory.Packages.props
|
||||||
|
HotelOnContainers_App\solution-config.props.sample = HotelOnContainers_App\solution-config.props.sample
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HotelOnContainers.Data", "HotelOnContainers.Data\HotelOnContainers.Data.csproj", "{AD2E24BE-C2AD-4F6B-B8EB-EB1CEB1482D9}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Debug|arm64 = Debug|arm64
|
||||||
|
Debug|x64 = Debug|x64
|
||||||
|
Debug|x86 = Debug|x86
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
Release|arm64 = Release|arm64
|
||||||
|
Release|x64 = Release|x64
|
||||||
|
Release|x86 = Release|x86
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{FDE9FEB0-57CE-424F-9073-61FE5721D5E6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{FDE9FEB0-57CE-424F-9073-61FE5721D5E6}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{FDE9FEB0-57CE-424F-9073-61FE5721D5E6}.Debug|arm64.ActiveCfg = Debug|Any CPU
|
||||||
|
{FDE9FEB0-57CE-424F-9073-61FE5721D5E6}.Debug|arm64.Build.0 = Debug|Any CPU
|
||||||
|
{FDE9FEB0-57CE-424F-9073-61FE5721D5E6}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||||
|
{FDE9FEB0-57CE-424F-9073-61FE5721D5E6}.Debug|x64.Build.0 = Debug|Any CPU
|
||||||
|
{FDE9FEB0-57CE-424F-9073-61FE5721D5E6}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{FDE9FEB0-57CE-424F-9073-61FE5721D5E6}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
|
{FDE9FEB0-57CE-424F-9073-61FE5721D5E6}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{FDE9FEB0-57CE-424F-9073-61FE5721D5E6}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{FDE9FEB0-57CE-424F-9073-61FE5721D5E6}.Release|arm64.ActiveCfg = Release|Any CPU
|
||||||
|
{FDE9FEB0-57CE-424F-9073-61FE5721D5E6}.Release|arm64.Build.0 = Release|Any CPU
|
||||||
|
{FDE9FEB0-57CE-424F-9073-61FE5721D5E6}.Release|x64.ActiveCfg = Release|Any CPU
|
||||||
|
{FDE9FEB0-57CE-424F-9073-61FE5721D5E6}.Release|x64.Build.0 = Release|Any CPU
|
||||||
|
{FDE9FEB0-57CE-424F-9073-61FE5721D5E6}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{FDE9FEB0-57CE-424F-9073-61FE5721D5E6}.Release|x86.Build.0 = Release|Any CPU
|
||||||
|
{89876A94-47D5-4323-AF35-9E5C9E815B6A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{89876A94-47D5-4323-AF35-9E5C9E815B6A}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{89876A94-47D5-4323-AF35-9E5C9E815B6A}.Debug|arm64.ActiveCfg = Debug|Any CPU
|
||||||
|
{89876A94-47D5-4323-AF35-9E5C9E815B6A}.Debug|arm64.Build.0 = Debug|Any CPU
|
||||||
|
{89876A94-47D5-4323-AF35-9E5C9E815B6A}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||||
|
{89876A94-47D5-4323-AF35-9E5C9E815B6A}.Debug|x64.Build.0 = Debug|Any CPU
|
||||||
|
{89876A94-47D5-4323-AF35-9E5C9E815B6A}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{89876A94-47D5-4323-AF35-9E5C9E815B6A}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
|
{89876A94-47D5-4323-AF35-9E5C9E815B6A}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{89876A94-47D5-4323-AF35-9E5C9E815B6A}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{89876A94-47D5-4323-AF35-9E5C9E815B6A}.Release|arm64.ActiveCfg = Release|Any CPU
|
||||||
|
{89876A94-47D5-4323-AF35-9E5C9E815B6A}.Release|arm64.Build.0 = Release|Any CPU
|
||||||
|
{89876A94-47D5-4323-AF35-9E5C9E815B6A}.Release|x64.ActiveCfg = Release|Any CPU
|
||||||
|
{89876A94-47D5-4323-AF35-9E5C9E815B6A}.Release|x64.Build.0 = Release|Any CPU
|
||||||
|
{89876A94-47D5-4323-AF35-9E5C9E815B6A}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{89876A94-47D5-4323-AF35-9E5C9E815B6A}.Release|x86.Build.0 = Release|Any CPU
|
||||||
|
{240CF684-A7A1-4C13-BB9B-2D6D7A38863F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{240CF684-A7A1-4C13-BB9B-2D6D7A38863F}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{240CF684-A7A1-4C13-BB9B-2D6D7A38863F}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
|
||||||
|
{240CF684-A7A1-4C13-BB9B-2D6D7A38863F}.Debug|arm64.ActiveCfg = Debug|Any CPU
|
||||||
|
{240CF684-A7A1-4C13-BB9B-2D6D7A38863F}.Debug|arm64.Build.0 = Debug|Any CPU
|
||||||
|
{240CF684-A7A1-4C13-BB9B-2D6D7A38863F}.Debug|arm64.Deploy.0 = Debug|Any CPU
|
||||||
|
{240CF684-A7A1-4C13-BB9B-2D6D7A38863F}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||||
|
{240CF684-A7A1-4C13-BB9B-2D6D7A38863F}.Debug|x64.Build.0 = Debug|Any CPU
|
||||||
|
{240CF684-A7A1-4C13-BB9B-2D6D7A38863F}.Debug|x64.Deploy.0 = Debug|Any CPU
|
||||||
|
{240CF684-A7A1-4C13-BB9B-2D6D7A38863F}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{240CF684-A7A1-4C13-BB9B-2D6D7A38863F}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
|
{240CF684-A7A1-4C13-BB9B-2D6D7A38863F}.Debug|x86.Deploy.0 = Debug|Any CPU
|
||||||
|
{240CF684-A7A1-4C13-BB9B-2D6D7A38863F}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{240CF684-A7A1-4C13-BB9B-2D6D7A38863F}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{240CF684-A7A1-4C13-BB9B-2D6D7A38863F}.Release|Any CPU.Deploy.0 = Release|Any CPU
|
||||||
|
{240CF684-A7A1-4C13-BB9B-2D6D7A38863F}.Release|arm64.ActiveCfg = Release|Any CPU
|
||||||
|
{240CF684-A7A1-4C13-BB9B-2D6D7A38863F}.Release|arm64.Build.0 = Release|Any CPU
|
||||||
|
{240CF684-A7A1-4C13-BB9B-2D6D7A38863F}.Release|arm64.Deploy.0 = Release|Any CPU
|
||||||
|
{240CF684-A7A1-4C13-BB9B-2D6D7A38863F}.Release|x64.ActiveCfg = Release|Any CPU
|
||||||
|
{240CF684-A7A1-4C13-BB9B-2D6D7A38863F}.Release|x64.Build.0 = Release|Any CPU
|
||||||
|
{240CF684-A7A1-4C13-BB9B-2D6D7A38863F}.Release|x64.Deploy.0 = Release|Any CPU
|
||||||
|
{240CF684-A7A1-4C13-BB9B-2D6D7A38863F}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{240CF684-A7A1-4C13-BB9B-2D6D7A38863F}.Release|x86.Build.0 = Release|Any CPU
|
||||||
|
{240CF684-A7A1-4C13-BB9B-2D6D7A38863F}.Release|x86.Deploy.0 = Release|Any CPU
|
||||||
|
{5CEA9A22-E421-4F60-AE69-137E5FC931BE}.Debug|Any CPU.ActiveCfg = Debug|x64
|
||||||
|
{5CEA9A22-E421-4F60-AE69-137E5FC931BE}.Debug|Any CPU.Build.0 = Debug|x64
|
||||||
|
{5CEA9A22-E421-4F60-AE69-137E5FC931BE}.Debug|Any CPU.Deploy.0 = Debug|x64
|
||||||
|
{5CEA9A22-E421-4F60-AE69-137E5FC931BE}.Debug|arm64.ActiveCfg = Debug|arm64
|
||||||
|
{5CEA9A22-E421-4F60-AE69-137E5FC931BE}.Debug|arm64.Build.0 = Debug|arm64
|
||||||
|
{5CEA9A22-E421-4F60-AE69-137E5FC931BE}.Debug|arm64.Deploy.0 = Debug|arm64
|
||||||
|
{5CEA9A22-E421-4F60-AE69-137E5FC931BE}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{5CEA9A22-E421-4F60-AE69-137E5FC931BE}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{5CEA9A22-E421-4F60-AE69-137E5FC931BE}.Debug|x64.Deploy.0 = Debug|x64
|
||||||
|
{5CEA9A22-E421-4F60-AE69-137E5FC931BE}.Debug|x86.ActiveCfg = Debug|x86
|
||||||
|
{5CEA9A22-E421-4F60-AE69-137E5FC931BE}.Debug|x86.Build.0 = Debug|x86
|
||||||
|
{5CEA9A22-E421-4F60-AE69-137E5FC931BE}.Debug|x86.Deploy.0 = Debug|x86
|
||||||
|
{5CEA9A22-E421-4F60-AE69-137E5FC931BE}.Release|Any CPU.ActiveCfg = Release|x64
|
||||||
|
{5CEA9A22-E421-4F60-AE69-137E5FC931BE}.Release|Any CPU.Build.0 = Release|x64
|
||||||
|
{5CEA9A22-E421-4F60-AE69-137E5FC931BE}.Release|Any CPU.Deploy.0 = Release|x64
|
||||||
|
{5CEA9A22-E421-4F60-AE69-137E5FC931BE}.Release|arm64.ActiveCfg = Release|arm64
|
||||||
|
{5CEA9A22-E421-4F60-AE69-137E5FC931BE}.Release|arm64.Build.0 = Release|arm64
|
||||||
|
{5CEA9A22-E421-4F60-AE69-137E5FC931BE}.Release|arm64.Deploy.0 = Release|arm64
|
||||||
|
{5CEA9A22-E421-4F60-AE69-137E5FC931BE}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{5CEA9A22-E421-4F60-AE69-137E5FC931BE}.Release|x64.Build.0 = Release|x64
|
||||||
|
{5CEA9A22-E421-4F60-AE69-137E5FC931BE}.Release|x64.Deploy.0 = Release|x64
|
||||||
|
{5CEA9A22-E421-4F60-AE69-137E5FC931BE}.Release|x86.ActiveCfg = Release|x86
|
||||||
|
{5CEA9A22-E421-4F60-AE69-137E5FC931BE}.Release|x86.Build.0 = Release|x86
|
||||||
|
{5CEA9A22-E421-4F60-AE69-137E5FC931BE}.Release|x86.Deploy.0 = Release|x86
|
||||||
|
{FABAF1D2-7A85-4E90-96EB-4C27B66B86FB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{FABAF1D2-7A85-4E90-96EB-4C27B66B86FB}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{FABAF1D2-7A85-4E90-96EB-4C27B66B86FB}.Debug|arm64.ActiveCfg = Debug|Any CPU
|
||||||
|
{FABAF1D2-7A85-4E90-96EB-4C27B66B86FB}.Debug|arm64.Build.0 = Debug|Any CPU
|
||||||
|
{FABAF1D2-7A85-4E90-96EB-4C27B66B86FB}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||||
|
{FABAF1D2-7A85-4E90-96EB-4C27B66B86FB}.Debug|x64.Build.0 = Debug|Any CPU
|
||||||
|
{FABAF1D2-7A85-4E90-96EB-4C27B66B86FB}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{FABAF1D2-7A85-4E90-96EB-4C27B66B86FB}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
|
{FABAF1D2-7A85-4E90-96EB-4C27B66B86FB}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{FABAF1D2-7A85-4E90-96EB-4C27B66B86FB}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{FABAF1D2-7A85-4E90-96EB-4C27B66B86FB}.Release|arm64.ActiveCfg = Release|Any CPU
|
||||||
|
{FABAF1D2-7A85-4E90-96EB-4C27B66B86FB}.Release|arm64.Build.0 = Release|Any CPU
|
||||||
|
{FABAF1D2-7A85-4E90-96EB-4C27B66B86FB}.Release|x64.ActiveCfg = Release|Any CPU
|
||||||
|
{FABAF1D2-7A85-4E90-96EB-4C27B66B86FB}.Release|x64.Build.0 = Release|Any CPU
|
||||||
|
{FABAF1D2-7A85-4E90-96EB-4C27B66B86FB}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{FABAF1D2-7A85-4E90-96EB-4C27B66B86FB}.Release|x86.Build.0 = Release|Any CPU
|
||||||
|
{AD2E24BE-C2AD-4F6B-B8EB-EB1CEB1482D9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{AD2E24BE-C2AD-4F6B-B8EB-EB1CEB1482D9}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{AD2E24BE-C2AD-4F6B-B8EB-EB1CEB1482D9}.Debug|arm64.ActiveCfg = Debug|Any CPU
|
||||||
|
{AD2E24BE-C2AD-4F6B-B8EB-EB1CEB1482D9}.Debug|arm64.Build.0 = Debug|Any CPU
|
||||||
|
{AD2E24BE-C2AD-4F6B-B8EB-EB1CEB1482D9}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||||
|
{AD2E24BE-C2AD-4F6B-B8EB-EB1CEB1482D9}.Debug|x64.Build.0 = Debug|Any CPU
|
||||||
|
{AD2E24BE-C2AD-4F6B-B8EB-EB1CEB1482D9}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{AD2E24BE-C2AD-4F6B-B8EB-EB1CEB1482D9}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
|
{AD2E24BE-C2AD-4F6B-B8EB-EB1CEB1482D9}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{AD2E24BE-C2AD-4F6B-B8EB-EB1CEB1482D9}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{AD2E24BE-C2AD-4F6B-B8EB-EB1CEB1482D9}.Release|arm64.ActiveCfg = Release|Any CPU
|
||||||
|
{AD2E24BE-C2AD-4F6B-B8EB-EB1CEB1482D9}.Release|arm64.Build.0 = Release|Any CPU
|
||||||
|
{AD2E24BE-C2AD-4F6B-B8EB-EB1CEB1482D9}.Release|x64.ActiveCfg = Release|Any CPU
|
||||||
|
{AD2E24BE-C2AD-4F6B-B8EB-EB1CEB1482D9}.Release|x64.Build.0 = Release|Any CPU
|
||||||
|
{AD2E24BE-C2AD-4F6B-B8EB-EB1CEB1482D9}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{AD2E24BE-C2AD-4F6B-B8EB-EB1CEB1482D9}.Release|x86.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(NestedProjects) = preSolution
|
||||||
|
{0387379C-46C4-4084-84E5-26627A8C4B93} = {101A0480-BD9D-4A1D-9C44-3641997525EF}
|
||||||
|
{FDE9FEB0-57CE-424F-9073-61FE5721D5E6} = {101A0480-BD9D-4A1D-9C44-3641997525EF}
|
||||||
|
{89876A94-47D5-4323-AF35-9E5C9E815B6A} = {0387379C-46C4-4084-84E5-26627A8C4B93}
|
||||||
|
{240CF684-A7A1-4C13-BB9B-2D6D7A38863F} = {0387379C-46C4-4084-84E5-26627A8C4B93}
|
||||||
|
{5CEA9A22-E421-4F60-AE69-137E5FC931BE} = {0387379C-46C4-4084-84E5-26627A8C4B93}
|
||||||
|
{FABAF1D2-7A85-4E90-96EB-4C27B66B86FB} = {0387379C-46C4-4084-84E5-26627A8C4B93}
|
||||||
|
{AD2E24BE-C2AD-4F6B-B8EB-EB1CEB1482D9} = {101A0480-BD9D-4A1D-9C44-3641997525EF}
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
SolutionGuid = {8BBE8D9B-2BFD-4E67-8301-37A703D85677}
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
@@ -0,0 +1,167 @@
|
|||||||
|
; This file is for unifying the coding style for different editors and IDEs.
|
||||||
|
; More information at http://editorconfig.org
|
||||||
|
|
||||||
|
# This file is the top-most EditorConfig file
|
||||||
|
root = true
|
||||||
|
|
||||||
|
##########################################
|
||||||
|
# Common Settings
|
||||||
|
##########################################
|
||||||
|
|
||||||
|
[*]
|
||||||
|
indent_style = space
|
||||||
|
end_of_line = crlf
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
insert_final_newline = true
|
||||||
|
charset = utf-8
|
||||||
|
|
||||||
|
##########################################
|
||||||
|
# File Extension Settings
|
||||||
|
##########################################
|
||||||
|
|
||||||
|
[*.{yml,yaml}]
|
||||||
|
indent_size = 2
|
||||||
|
|
||||||
|
[.vsconfig]
|
||||||
|
indent_size = 2
|
||||||
|
end_of_line = lf
|
||||||
|
|
||||||
|
[*.sln]
|
||||||
|
indent_style = tab
|
||||||
|
indent_size = 2
|
||||||
|
|
||||||
|
[*.{csproj,proj,projitems,shproj}]
|
||||||
|
indent_size = 2
|
||||||
|
|
||||||
|
[*.{json,slnf}]
|
||||||
|
indent_size = 2
|
||||||
|
end_of_line = lf
|
||||||
|
|
||||||
|
[*.{props,targets}]
|
||||||
|
indent_size = 2
|
||||||
|
|
||||||
|
[*.xaml]
|
||||||
|
indent_size = 2
|
||||||
|
charset = utf-8-bom
|
||||||
|
|
||||||
|
[*.xml]
|
||||||
|
indent_size = 2
|
||||||
|
end_of_line = lf
|
||||||
|
|
||||||
|
[*.plist]
|
||||||
|
indent_size = 2
|
||||||
|
indent_style = tab
|
||||||
|
end_of_line = lf
|
||||||
|
|
||||||
|
[*.manifest]
|
||||||
|
indent_size = 2
|
||||||
|
|
||||||
|
[*.appxmanifest]
|
||||||
|
indent_size = 2
|
||||||
|
|
||||||
|
[*.{json,css,webmanifest}]
|
||||||
|
indent_size = 2
|
||||||
|
end_of_line = lf
|
||||||
|
|
||||||
|
[web.config]
|
||||||
|
indent_size = 2
|
||||||
|
end_of_line = lf
|
||||||
|
|
||||||
|
[*.sh]
|
||||||
|
indent_size = 2
|
||||||
|
end_of_line = lf
|
||||||
|
|
||||||
|
[*.cs]
|
||||||
|
# EOL should be normalized by Git. See https://github.com/dotnet/format/issues/1099
|
||||||
|
end_of_line = unset
|
||||||
|
|
||||||
|
# See https://github.com/dotnet/roslyn/issues/20356#issuecomment-310143926
|
||||||
|
trim_trailing_whitespace = false
|
||||||
|
|
||||||
|
tab_width = 4
|
||||||
|
indent_size = 4
|
||||||
|
|
||||||
|
# Sort using and Import directives with System.* appearing first
|
||||||
|
dotnet_sort_system_directives_first = true
|
||||||
|
|
||||||
|
# Avoid "this." and "Me." if not necessary
|
||||||
|
dotnet_style_qualification_for_field = false:suggestion
|
||||||
|
dotnet_style_qualification_for_property = false:suggestion
|
||||||
|
dotnet_style_qualification_for_method = false:suggestion
|
||||||
|
dotnet_style_qualification_for_event = false:suggestion
|
||||||
|
|
||||||
|
#### Naming styles ####
|
||||||
|
|
||||||
|
# Naming rules
|
||||||
|
|
||||||
|
dotnet_naming_rule.interface_should_be_begins_with_i.severity = suggestion
|
||||||
|
dotnet_naming_rule.interface_should_be_begins_with_i.symbols = interface
|
||||||
|
dotnet_naming_rule.interface_should_be_begins_with_i.style = begins_with_i
|
||||||
|
|
||||||
|
dotnet_naming_rule.types_should_be_pascal_case.severity = suggestion
|
||||||
|
dotnet_naming_rule.types_should_be_pascal_case.symbols = types
|
||||||
|
dotnet_naming_rule.types_should_be_pascal_case.style = pascal_case
|
||||||
|
|
||||||
|
dotnet_naming_rule.non_field_members_should_be_pascal_case.severity = suggestion
|
||||||
|
dotnet_naming_rule.non_field_members_should_be_pascal_case.symbols = non_field_members
|
||||||
|
dotnet_naming_rule.non_field_members_should_be_pascal_case.style = pascal_case
|
||||||
|
|
||||||
|
# Symbol specifications
|
||||||
|
|
||||||
|
dotnet_naming_symbols.interface.applicable_kinds = interface
|
||||||
|
dotnet_naming_symbols.interface.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
|
||||||
|
dotnet_naming_symbols.interface.required_modifiers =
|
||||||
|
|
||||||
|
dotnet_naming_symbols.types.applicable_kinds = class, struct, interface, enum
|
||||||
|
dotnet_naming_symbols.types.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
|
||||||
|
dotnet_naming_symbols.types.required_modifiers =
|
||||||
|
|
||||||
|
dotnet_naming_symbols.non_field_members.applicable_kinds = property, event, method
|
||||||
|
dotnet_naming_symbols.non_field_members.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
|
||||||
|
dotnet_naming_symbols.non_field_members.required_modifiers =
|
||||||
|
|
||||||
|
# Naming styles
|
||||||
|
|
||||||
|
dotnet_naming_style.begins_with_i.required_prefix = I
|
||||||
|
dotnet_naming_style.begins_with_i.required_suffix =
|
||||||
|
dotnet_naming_style.begins_with_i.word_separator =
|
||||||
|
dotnet_naming_style.begins_with_i.capitalization = pascal_case
|
||||||
|
|
||||||
|
dotnet_naming_style.pascal_case.required_prefix =
|
||||||
|
dotnet_naming_style.pascal_case.required_suffix =
|
||||||
|
dotnet_naming_style.pascal_case.word_separator =
|
||||||
|
dotnet_naming_style.pascal_case.capitalization = pascal_case
|
||||||
|
|
||||||
|
dotnet_naming_style.pascal_case.required_prefix =
|
||||||
|
dotnet_naming_style.pascal_case.required_suffix =
|
||||||
|
dotnet_naming_style.pascal_case.word_separator =
|
||||||
|
dotnet_naming_style.pascal_case.capitalization = pascal_case
|
||||||
|
dotnet_style_operator_placement_when_wrapping = beginning_of_line
|
||||||
|
dotnet_style_coalesce_expression = true:suggestion
|
||||||
|
dotnet_style_null_propagation = true:suggestion
|
||||||
|
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:suggestion
|
||||||
|
dotnet_style_prefer_auto_properties = true:silent
|
||||||
|
dotnet_style_object_initializer = true:suggestion
|
||||||
|
dotnet_style_collection_initializer = true:suggestion
|
||||||
|
dotnet_style_prefer_simplified_boolean_expressions = true:suggestion
|
||||||
|
dotnet_style_prefer_conditional_expression_over_assignment = true:silent
|
||||||
|
dotnet_style_prefer_conditional_expression_over_return = true:silent
|
||||||
|
dotnet_style_explicit_tuple_names = true:suggestion
|
||||||
|
dotnet_style_prefer_inferred_tuple_names = true:suggestion
|
||||||
|
|
||||||
|
csharp_indent_labels = one_less_than_current
|
||||||
|
csharp_using_directive_placement = outside_namespace:silent
|
||||||
|
csharp_prefer_simple_using_statement = true:suggestion
|
||||||
|
csharp_prefer_braces = true:silent
|
||||||
|
csharp_style_namespace_declarations = file_scoped:warning
|
||||||
|
csharp_style_prefer_method_group_conversion = true:silent
|
||||||
|
csharp_style_prefer_top_level_statements = true:silent
|
||||||
|
csharp_style_prefer_primary_constructors = true:suggestion
|
||||||
|
csharp_style_expression_bodied_methods = false:silent
|
||||||
|
csharp_style_expression_bodied_constructors = false:silent
|
||||||
|
csharp_style_expression_bodied_operators = false:silent
|
||||||
|
csharp_style_expression_bodied_properties = true:silent
|
||||||
|
csharp_style_expression_bodied_indexers = true:silent
|
||||||
|
csharp_style_expression_bodied_accessors = true:silent
|
||||||
|
csharp_style_expression_bodied_lambdas = true:silent
|
||||||
|
csharp_style_expression_bodied_local_functions = false:silent
|
||||||
@@ -0,0 +1,403 @@
|
|||||||
|
## Ignore Visual Studio temporary files, build results, and
|
||||||
|
## files generated by popular Visual Studio add-ons.
|
||||||
|
##
|
||||||
|
## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore
|
||||||
|
|
||||||
|
# User-specific files
|
||||||
|
*.rsuser
|
||||||
|
*.suo
|
||||||
|
*.user
|
||||||
|
*.userosscache
|
||||||
|
*.sln.docstates
|
||||||
|
|
||||||
|
# User-specific files (MonoDevelop/Xamarin Studio)
|
||||||
|
*.userprefs
|
||||||
|
|
||||||
|
# Mono auto generated files
|
||||||
|
mono_crash.*
|
||||||
|
|
||||||
|
# Build results
|
||||||
|
[Dd]ebug/
|
||||||
|
[Dd]ebugPublic/
|
||||||
|
[Rr]elease/
|
||||||
|
[Rr]eleases/
|
||||||
|
x64/
|
||||||
|
x86/
|
||||||
|
[Ww][Ii][Nn]32/
|
||||||
|
[Aa][Rr][Mm]/
|
||||||
|
[Aa][Rr][Mm]64/
|
||||||
|
bld/
|
||||||
|
[Bb]in/
|
||||||
|
[Oo]bj/
|
||||||
|
[Ll]og/
|
||||||
|
[Ll]ogs/
|
||||||
|
|
||||||
|
# Visual Studio 2015/2017 cache/options directory
|
||||||
|
.vs/
|
||||||
|
# Uncomment if you have tasks that create the project's static files in wwwroot
|
||||||
|
#wwwroot/
|
||||||
|
|
||||||
|
# Visual Studio 2017 auto generated files
|
||||||
|
Generated\ Files/
|
||||||
|
|
||||||
|
# MSTest test Results
|
||||||
|
[Tt]est[Rr]esult*/
|
||||||
|
[Bb]uild[Ll]og.*
|
||||||
|
|
||||||
|
# NUnit
|
||||||
|
*.VisualState.xml
|
||||||
|
TestResult.xml
|
||||||
|
nunit-*.xml
|
||||||
|
|
||||||
|
# Build Results of an ATL Project
|
||||||
|
[Dd]ebugPS/
|
||||||
|
[Rr]eleasePS/
|
||||||
|
dlldata.c
|
||||||
|
|
||||||
|
# Benchmark Results
|
||||||
|
BenchmarkDotNet.Artifacts/
|
||||||
|
|
||||||
|
# .NET Core
|
||||||
|
project.lock.json
|
||||||
|
project.fragment.lock.json
|
||||||
|
artifacts/
|
||||||
|
|
||||||
|
# ASP.NET Scaffolding
|
||||||
|
ScaffoldingReadMe.txt
|
||||||
|
|
||||||
|
# StyleCop
|
||||||
|
StyleCopReport.xml
|
||||||
|
|
||||||
|
# Files built by Visual Studio
|
||||||
|
*_i.c
|
||||||
|
*_p.c
|
||||||
|
*_h.h
|
||||||
|
*.ilk
|
||||||
|
*.meta
|
||||||
|
*.obj
|
||||||
|
*.iobj
|
||||||
|
*.pch
|
||||||
|
*.pdb
|
||||||
|
*.ipdb
|
||||||
|
*.pgc
|
||||||
|
*.pgd
|
||||||
|
*.rsp
|
||||||
|
*.sbr
|
||||||
|
*.tlb
|
||||||
|
*.tli
|
||||||
|
*.tlh
|
||||||
|
*.tmp
|
||||||
|
*.tmp_proj
|
||||||
|
*_wpftmp.csproj
|
||||||
|
*.log
|
||||||
|
*.tlog
|
||||||
|
*.vspscc
|
||||||
|
*.vssscc
|
||||||
|
.builds
|
||||||
|
*.pidb
|
||||||
|
*.svclog
|
||||||
|
*.scc
|
||||||
|
|
||||||
|
# Chutzpah Test files
|
||||||
|
_Chutzpah*
|
||||||
|
|
||||||
|
# Visual C++ cache files
|
||||||
|
ipch/
|
||||||
|
*.aps
|
||||||
|
*.ncb
|
||||||
|
*.opendb
|
||||||
|
*.opensdf
|
||||||
|
*.sdf
|
||||||
|
*.cachefile
|
||||||
|
*.VC.db
|
||||||
|
*.VC.VC.opendb
|
||||||
|
|
||||||
|
# Visual Studio profiler
|
||||||
|
*.psess
|
||||||
|
*.vsp
|
||||||
|
*.vspx
|
||||||
|
*.sap
|
||||||
|
|
||||||
|
# Visual Studio Trace Files
|
||||||
|
*.e2e
|
||||||
|
|
||||||
|
# TFS 2012 Local Workspace
|
||||||
|
$tf/
|
||||||
|
|
||||||
|
# Guidance Automation Toolkit
|
||||||
|
*.gpState
|
||||||
|
|
||||||
|
# ReSharper is a .NET coding add-in
|
||||||
|
_ReSharper*/
|
||||||
|
*.[Rr]e[Ss]harper
|
||||||
|
*.DotSettings.user
|
||||||
|
|
||||||
|
# TeamCity is a build add-in
|
||||||
|
_TeamCity*
|
||||||
|
|
||||||
|
# DotCover is a Code Coverage Tool
|
||||||
|
*.dotCover
|
||||||
|
|
||||||
|
# AxoCover is a Code Coverage Tool
|
||||||
|
.axoCover/*
|
||||||
|
!.axoCover/settings.json
|
||||||
|
|
||||||
|
# Coverlet is a free, cross platform Code Coverage Tool
|
||||||
|
coverage*.json
|
||||||
|
coverage*.xml
|
||||||
|
coverage*.info
|
||||||
|
|
||||||
|
# Visual Studio code coverage results
|
||||||
|
*.coverage
|
||||||
|
*.coveragexml
|
||||||
|
|
||||||
|
# NCrunch
|
||||||
|
_NCrunch_*
|
||||||
|
.*crunch*.local.xml
|
||||||
|
nCrunchTemp_*
|
||||||
|
|
||||||
|
# MightyMoose
|
||||||
|
*.mm.*
|
||||||
|
AutoTest.Net/
|
||||||
|
|
||||||
|
# Web workbench (sass)
|
||||||
|
.sass-cache/
|
||||||
|
|
||||||
|
# Installshield output folder
|
||||||
|
[Ee]xpress/
|
||||||
|
|
||||||
|
# DocProject is a documentation generator add-in
|
||||||
|
DocProject/buildhelp/
|
||||||
|
DocProject/Help/*.HxT
|
||||||
|
DocProject/Help/*.HxC
|
||||||
|
DocProject/Help/*.hhc
|
||||||
|
DocProject/Help/*.hhk
|
||||||
|
DocProject/Help/*.hhp
|
||||||
|
DocProject/Help/Html2
|
||||||
|
DocProject/Help/html
|
||||||
|
|
||||||
|
# Click-Once directory
|
||||||
|
publish/
|
||||||
|
|
||||||
|
# Publish Web Output
|
||||||
|
*.[Pp]ublish.xml
|
||||||
|
*.azurePubxml
|
||||||
|
# Note: Comment the next line if you want to checkin your web deploy settings,
|
||||||
|
# but database connection strings (with potential passwords) will be unencrypted
|
||||||
|
*.pubxml
|
||||||
|
*.publishproj
|
||||||
|
|
||||||
|
# Microsoft Azure Web App publish settings. Comment the next line if you want to
|
||||||
|
# checkin your Azure Web App publish settings, but sensitive information contained
|
||||||
|
# in these scripts will be unencrypted
|
||||||
|
PublishScripts/
|
||||||
|
|
||||||
|
# NuGet Packages
|
||||||
|
*.nupkg
|
||||||
|
# NuGet Symbol Packages
|
||||||
|
*.snupkg
|
||||||
|
# The packages folder can be ignored because of Package Restore
|
||||||
|
**/[Pp]ackages/*
|
||||||
|
# except build/, which is used as an MSBuild target.
|
||||||
|
!**/[Pp]ackages/build/
|
||||||
|
# Uncomment if necessary however generally it will be regenerated when needed
|
||||||
|
#!**/[Pp]ackages/repositories.config
|
||||||
|
# NuGet v3's project.json files produces more ignorable files
|
||||||
|
*.nuget.props
|
||||||
|
*.nuget.targets
|
||||||
|
|
||||||
|
# Microsoft Azure Build Output
|
||||||
|
csx/
|
||||||
|
*.build.csdef
|
||||||
|
|
||||||
|
# Microsoft Azure Emulator
|
||||||
|
ecf/
|
||||||
|
rcf/
|
||||||
|
|
||||||
|
# Windows Store app package directories and files
|
||||||
|
AppPackages/
|
||||||
|
BundleArtifacts/
|
||||||
|
Package.StoreAssociation.xml
|
||||||
|
_pkginfo.txt
|
||||||
|
*.appx
|
||||||
|
*.appxbundle
|
||||||
|
*.appxupload
|
||||||
|
|
||||||
|
# Visual Studio cache files
|
||||||
|
# files ending in .cache can be ignored
|
||||||
|
*.[Cc]ache
|
||||||
|
# but keep track of directories ending in .cache
|
||||||
|
!?*.[Cc]ache/
|
||||||
|
|
||||||
|
# Others
|
||||||
|
ClientBin/
|
||||||
|
~$*
|
||||||
|
*~
|
||||||
|
*.dbmdl
|
||||||
|
*.dbproj.schemaview
|
||||||
|
*.jfm
|
||||||
|
*.pfx
|
||||||
|
*.publishsettings
|
||||||
|
orleans.codegen.cs
|
||||||
|
|
||||||
|
# Including strong name files can present a security risk
|
||||||
|
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
|
||||||
|
#*.snk
|
||||||
|
|
||||||
|
# Since there are multiple workflows, uncomment next line to ignore bower_components
|
||||||
|
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
|
||||||
|
#bower_components/
|
||||||
|
|
||||||
|
# RIA/Silverlight projects
|
||||||
|
Generated_Code/
|
||||||
|
|
||||||
|
# Backup & report files from converting an old project file
|
||||||
|
# to a newer Visual Studio version. Backup files are not needed,
|
||||||
|
# because we have git ;-)
|
||||||
|
_UpgradeReport_Files/
|
||||||
|
Backup*/
|
||||||
|
UpgradeLog*.XML
|
||||||
|
UpgradeLog*.htm
|
||||||
|
ServiceFabricBackup/
|
||||||
|
*.rptproj.bak
|
||||||
|
|
||||||
|
# SQL Server files
|
||||||
|
*.mdf
|
||||||
|
*.ldf
|
||||||
|
*.ndf
|
||||||
|
|
||||||
|
# Business Intelligence projects
|
||||||
|
*.rdl.data
|
||||||
|
*.bim.layout
|
||||||
|
*.bim_*.settings
|
||||||
|
*.rptproj.rsuser
|
||||||
|
*- [Bb]ackup.rdl
|
||||||
|
*- [Bb]ackup ([0-9]).rdl
|
||||||
|
*- [Bb]ackup ([0-9][0-9]).rdl
|
||||||
|
|
||||||
|
# Microsoft Fakes
|
||||||
|
FakesAssemblies/
|
||||||
|
|
||||||
|
# GhostDoc plugin setting file
|
||||||
|
*.GhostDoc.xml
|
||||||
|
|
||||||
|
# Node.js Tools for Visual Studio
|
||||||
|
.ntvs_analysis.dat
|
||||||
|
node_modules/
|
||||||
|
|
||||||
|
# Visual Studio 6 build log
|
||||||
|
*.plg
|
||||||
|
|
||||||
|
# Visual Studio 6 workspace options file
|
||||||
|
*.opt
|
||||||
|
|
||||||
|
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
|
||||||
|
*.vbw
|
||||||
|
|
||||||
|
# Visual Studio 6 auto-generated project file (contains which files were open etc.)
|
||||||
|
*.vbp
|
||||||
|
|
||||||
|
# Visual Studio 6 workspace and project file (working project files containing files to include in project)
|
||||||
|
*.dsw
|
||||||
|
*.dsp
|
||||||
|
|
||||||
|
# Visual Studio 6 technical files
|
||||||
|
*.ncb
|
||||||
|
*.aps
|
||||||
|
|
||||||
|
# Visual Studio LightSwitch build output
|
||||||
|
**/*.HTMLClient/GeneratedArtifacts
|
||||||
|
**/*.DesktopClient/GeneratedArtifacts
|
||||||
|
**/*.DesktopClient/ModelManifest.xml
|
||||||
|
**/*.Server/GeneratedArtifacts
|
||||||
|
**/*.Server/ModelManifest.xml
|
||||||
|
_Pvt_Extensions
|
||||||
|
|
||||||
|
# Paket dependency manager
|
||||||
|
.paket/paket.exe
|
||||||
|
paket-files/
|
||||||
|
|
||||||
|
# FAKE - F# Make
|
||||||
|
.fake/
|
||||||
|
|
||||||
|
# CodeRush personal settings
|
||||||
|
.cr/personal
|
||||||
|
|
||||||
|
# Python Tools for Visual Studio (PTVS)
|
||||||
|
__pycache__/
|
||||||
|
*.pyc
|
||||||
|
|
||||||
|
# Cake - Uncomment if you are using it
|
||||||
|
# tools/**
|
||||||
|
# !tools/packages.config
|
||||||
|
|
||||||
|
# Tabs Studio
|
||||||
|
*.tss
|
||||||
|
|
||||||
|
# Telerik's JustMock configuration file
|
||||||
|
*.jmconfig
|
||||||
|
|
||||||
|
# BizTalk build output
|
||||||
|
*.btp.cs
|
||||||
|
*.btm.cs
|
||||||
|
*.odx.cs
|
||||||
|
*.xsd.cs
|
||||||
|
|
||||||
|
# OpenCover UI analysis results
|
||||||
|
OpenCover/
|
||||||
|
|
||||||
|
# Azure Stream Analytics local run output
|
||||||
|
ASALocalRun/
|
||||||
|
|
||||||
|
# MSBuild Binary and Structured Log
|
||||||
|
*.binlog
|
||||||
|
|
||||||
|
# NVidia Nsight GPU debugger configuration file
|
||||||
|
*.nvuser
|
||||||
|
|
||||||
|
# MFractors (Xamarin productivity tool) working folder
|
||||||
|
.mfractor/
|
||||||
|
|
||||||
|
# Local History for Visual Studio
|
||||||
|
.localhistory/
|
||||||
|
|
||||||
|
# Visual Studio History (VSHistory) files
|
||||||
|
.vshistory/
|
||||||
|
|
||||||
|
# BeatPulse healthcheck temp database
|
||||||
|
healthchecksdb
|
||||||
|
|
||||||
|
# Backup folder for Package Reference Convert tool in Visual Studio 2017
|
||||||
|
MigrationBackup/
|
||||||
|
|
||||||
|
# Ionide (cross platform F# VS Code tools) working folder
|
||||||
|
.ionide/
|
||||||
|
|
||||||
|
# Fody - auto-generated XML schema
|
||||||
|
FodyWeavers.xsd
|
||||||
|
|
||||||
|
# VS Code files for those working on multiple tools
|
||||||
|
.vscode/*
|
||||||
|
!.vscode/settings.json
|
||||||
|
!.vscode/tasks.json
|
||||||
|
!.vscode/launch.json
|
||||||
|
!.vscode/extensions.json
|
||||||
|
*.code-workspace
|
||||||
|
|
||||||
|
# Local History for Visual Studio Code
|
||||||
|
.history/
|
||||||
|
|
||||||
|
# Windows Installer files from build outputs
|
||||||
|
*.cab
|
||||||
|
*.msi
|
||||||
|
*.msix
|
||||||
|
*.msm
|
||||||
|
*.msp
|
||||||
|
|
||||||
|
# JetBrains Rider
|
||||||
|
*.sln.iml
|
||||||
|
|
||||||
|
# Single Target Config
|
||||||
|
solution-config.props
|
||||||
|
# Windows Publish Profiles
|
||||||
|
!**/*.Windows/Properties/PublishProfiles/*.pubxml
|
||||||
@@ -5,34 +5,24 @@
|
|||||||
"Microsoft.VisualStudio.Workload.CoreEditor",
|
"Microsoft.VisualStudio.Workload.CoreEditor",
|
||||||
"Microsoft.NetCore.Component.SDK",
|
"Microsoft.NetCore.Component.SDK",
|
||||||
"Microsoft.NetCore.Component.DevelopmentTools",
|
"Microsoft.NetCore.Component.DevelopmentTools",
|
||||||
"Microsoft.VisualStudio.ComponentGroup.WebToolsExtensions",
|
|
||||||
"Microsoft.NetCore.Component.Web",
|
|
||||||
"Microsoft.Net.ComponentGroup.DevelopmentPrerequisites",
|
"Microsoft.Net.ComponentGroup.DevelopmentPrerequisites",
|
||||||
"Microsoft.VisualStudio.Component.TextTemplating",
|
"Microsoft.VisualStudio.Component.TextTemplating",
|
||||||
"Microsoft.VisualStudio.Component.IISExpress",
|
|
||||||
"Component.Microsoft.Web.LibraryManager",
|
|
||||||
"Microsoft.VisualStudio.ComponentGroup.Web",
|
|
||||||
"Microsoft.VisualStudio.Component.Web",
|
|
||||||
"Microsoft.VisualStudio.ComponentGroup.Web.Client",
|
|
||||||
"Microsoft.VisualStudio.Workload.NetWeb",
|
|
||||||
"Microsoft.VisualStudio.ComponentGroup.Azure.Prerequisites",
|
|
||||||
"Microsoft.VisualStudio.Workload.Azure",
|
|
||||||
"Microsoft.VisualStudio.Component.Windows10SDK.19041",
|
"Microsoft.VisualStudio.Component.Windows10SDK.19041",
|
||||||
|
"Microsoft.VisualStudio.ComponentGroup.MSIX.Packaging",
|
||||||
"Microsoft.VisualStudio.Component.ManagedDesktop.Prerequisites",
|
"Microsoft.VisualStudio.Component.ManagedDesktop.Prerequisites",
|
||||||
"Microsoft.VisualStudio.Component.Debugger.JustInTime",
|
"Microsoft.VisualStudio.Component.Debugger.JustInTime",
|
||||||
"Microsoft.VisualStudio.ComponentGroup.MSIX.Packaging",
|
|
||||||
"Microsoft.VisualStudio.Workload.ManagedDesktop",
|
"Microsoft.VisualStudio.Workload.ManagedDesktop",
|
||||||
"Microsoft.Component.NetFX.Native",
|
"Microsoft.Component.NetFX.Native",
|
||||||
"Microsoft.VisualStudio.Component.Graphics",
|
"Microsoft.VisualStudio.Component.Graphics",
|
||||||
"Component.OpenJDK",
|
|
||||||
"Microsoft.VisualStudio.Component.MonoDebugger",
|
|
||||||
"Microsoft.VisualStudio.Component.Merq",
|
"Microsoft.VisualStudio.Component.Merq",
|
||||||
"Component.Xamarin.RemotedSimulator",
|
"Component.Xamarin.RemotedSimulator",
|
||||||
"Microsoft.VisualStudio.ComponentGroup.WebToolsExtensions.TemplateEngine",
|
"Microsoft.VisualStudio.Component.MonoDebugger",
|
||||||
"Component.Xamarin",
|
"Component.Xamarin",
|
||||||
"Component.Android.SDK32",
|
"Microsoft.VisualStudio.ComponentGroup.Maui.All",
|
||||||
|
"Component.Android.SDK34",
|
||||||
|
"Component.Android.SDK33",
|
||||||
|
"Component.OpenJDK",
|
||||||
"Microsoft.VisualStudio.Workload.NetCrossPlat",
|
"Microsoft.VisualStudio.Workload.NetCrossPlat",
|
||||||
"Microsoft.VisualStudio.Workload.NetCoreTools",
|
"Microsoft.VisualStudio.Workload.NetCoreTools"
|
||||||
"Microsoft.VisualStudio.ComponentGroup.Maui.All"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,109 @@
|
|||||||
|
<Project>
|
||||||
|
<PropertyGroup>
|
||||||
|
<DotNetVersion>net8.0</DotNetVersion>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
|
||||||
|
<DebugType>portable</DebugType>
|
||||||
|
<DebugSymbols>True</DebugSymbols>
|
||||||
|
|
||||||
|
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Adding NoWarn to remove build warnings
|
||||||
|
NU1507: Warning when there are multiple package sources when using CPM with no source mapping
|
||||||
|
NETSDK1201: Warning that specifying RID won't create self containing app
|
||||||
|
PRI257: Ignore default language (en) not being one of the included resources (eg en-us, en-uk)
|
||||||
|
-->
|
||||||
|
<NoWarn>$(NoWarn);NU1507;NETSDK1201;PRI257</NoWarn>
|
||||||
|
|
||||||
|
<DefaultLanguage>en</DefaultLanguage>
|
||||||
|
|
||||||
|
<IsAndroid>false</IsAndroid>
|
||||||
|
<IsIOS>false</IsIOS>
|
||||||
|
<IsMac>false</IsMac>
|
||||||
|
<IsMacCatalyst>false</IsMacCatalyst>
|
||||||
|
<IsWinAppSdk>false</IsWinAppSdk>
|
||||||
|
|
||||||
|
<!-- Required for Hot Reload (See https://github.com/dotnet/sdk/issues/36666) -->
|
||||||
|
<IncludeSourceRevisionInInformationalVersion Condition="'$(Configuration)'=='Debug'">false</IncludeSourceRevisionInInformationalVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<Choose>
|
||||||
|
<When Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">
|
||||||
|
<PropertyGroup>
|
||||||
|
<IsAndroid>true</IsAndroid>
|
||||||
|
<SupportedOSPlatformVersion>21.0</SupportedOSPlatformVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
</When>
|
||||||
|
<When Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">
|
||||||
|
<PropertyGroup>
|
||||||
|
<IsIOS>true</IsIOS>
|
||||||
|
<SupportedOSPlatformVersion>14.2</SupportedOSPlatformVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Eagerly define capabilities for iOS to avoid VS 2022 to ask for
|
||||||
|
project reload, and ninitialize the debugger toolbar faster.
|
||||||
|
See https://github.com/unoplatform/uno/issues/14303.
|
||||||
|
-->
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectCapability Include="XamarinStaticLaunchProfiles" />
|
||||||
|
<ProjectCapability Include="Maui" />
|
||||||
|
<ProjectCapability Include="MauiCore" />
|
||||||
|
</ItemGroup>
|
||||||
|
</When>
|
||||||
|
<When Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'macos'">
|
||||||
|
<PropertyGroup>
|
||||||
|
<IsMac>true</IsMac>
|
||||||
|
<SupportedOSPlatformVersion>10.14</SupportedOSPlatformVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
</When>
|
||||||
|
<When Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">
|
||||||
|
<PropertyGroup>
|
||||||
|
<IsMacCatalyst>true</IsMacCatalyst>
|
||||||
|
<SupportedOSPlatformVersion>14.0</SupportedOSPlatformVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
</When>
|
||||||
|
<When Condition="$(TargetFramework.Contains('windows10'))">
|
||||||
|
<PropertyGroup>
|
||||||
|
<IsWinAppSdk>true</IsWinAppSdk>
|
||||||
|
<SupportedOSPlatformVersion>10.0.18362.0</SupportedOSPlatformVersion>
|
||||||
|
<TargetPlatformMinVersion>10.0.18362.0</TargetPlatformMinVersion>
|
||||||
|
<RuntimeIdentifiers>win-x86;win-x64;win-arm64</RuntimeIdentifiers>
|
||||||
|
<EnableCoreMrtTooling Condition=" '$(BuildingInsideVisualStudio)' != 'true' ">false</EnableCoreMrtTooling>
|
||||||
|
</PropertyGroup>
|
||||||
|
</When>
|
||||||
|
</Choose>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
If working on a single target framework, copy solution-config.props.sample to solution-config.props
|
||||||
|
and uncomment the appropriate lines in solution-config.props to build for the desired platforms only.
|
||||||
|
|
||||||
|
https://platform.uno/docs/articles/guides/solution-building-single-targetframework.html
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- Add Global Packages -->
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="AutoMapper" />
|
||||||
|
<PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" />
|
||||||
|
<PackageReference Include="Grpc.Net.Client" />
|
||||||
|
<PackageReference Include="CommunityToolkit.WinUI.Converters"/>
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
<ItemGroup Condition="$([MSBuild]::IsOSPlatform('windows')) or '$(EnableWindowsTargeting)' == 'true'">
|
||||||
|
<PackageReference Include="CommunityToolkit.WinUI" />
|
||||||
|
<PackageReference Include="Uno.CommunityToolkit.WinUI.UI" Version="7.1.200" />
|
||||||
|
<PackageReference Include="CommunityToolkit.WinUI.UI.Controls" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup Condition="!$([MSBuild]::IsOSPlatform('windows')) and '$(EnableWindowsTargeting)' != 'true'">
|
||||||
|
<PackageReference Include="Uno.CommunityToolkit.WinUI" />
|
||||||
|
<PackageReference Include="Uno.CommunityToolkit.WinUI.UI" />
|
||||||
|
<PackageReference Include="Uno.CommunityToolkit.WinUI.UI.Controls" />
|
||||||
|
</ItemGroup>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<Import Project="solution-config.props" Condition="exists('solution-config.props')" />
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
<Project>
|
||||||
|
<ItemGroup>
|
||||||
|
<!-- Removes native usings to avoid Ambiguous reference -->
|
||||||
|
<Using Remove="@(Using->HasMetadata('Platform'))" />
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
<Project ToolsVersion="15.0">
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageVersion Include="CommunityToolkit.Mvvm" Version="8.2.2" />
|
||||||
|
<PackageVersion Include="Microsoft.Extensions.Logging.Console" Version="8.0.0" />
|
||||||
|
<PackageVersion Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.22621.756" />
|
||||||
|
<PackageVersion Include="Microsoft.WindowsAppSDK" Version="1.4.231008000" />
|
||||||
|
<PackageVersion Include="SkiaSharp.Skottie" Version="2.88.6" />
|
||||||
|
<PackageVersion Include="SkiaSharp.Views.Uno.WinUI" Version="2.88.6" />
|
||||||
|
<PackageVersion Include="Uno.Core.Extensions.Logging.Singleton" Version="4.0.1" />
|
||||||
|
<PackageVersion Include="Uno.Extensions.Configuration" Version="3.0.11" />
|
||||||
|
<PackageVersion Include="Uno.Extensions.Hosting" Version="3.0.11" />
|
||||||
|
<PackageVersion Include="Uno.Extensions.Hosting.WinUI" Version="3.0.11" />
|
||||||
|
<PackageVersion Include="Uno.Extensions.Localization" Version="3.0.11" />
|
||||||
|
<PackageVersion Include="Uno.Extensions.Localization.WinUI" Version="3.0.11" />
|
||||||
|
<PackageVersion Include="Uno.Extensions.Logging.OSLog" Version="1.7.0" />
|
||||||
|
<PackageVersion Include="Uno.Extensions.Logging.WinUI" Version="3.0.11" />
|
||||||
|
<PackageVersion Include="Uno.Toolkit.WinUI" Version="5.0.17" />
|
||||||
|
<PackageVersion Include="Uno.Resizetizer" Version="1.2.1" />
|
||||||
|
<PackageVersion Include="Uno.UI.Adapter.Microsoft.Extensions.Logging" Version="5.0.64" />
|
||||||
|
<PackageVersion Include="Uno.UniversalImageLoader" Version="1.9.36" />
|
||||||
|
<PackageVersion Include="Uno.WinUI" Version="5.0.64" />
|
||||||
|
<PackageVersion Include="Uno.WinUI.Lottie" Version="5.0.64" />
|
||||||
|
<PackageVersion Include="Uno.WinUI.DevServer" Version="5.0.64" />
|
||||||
|
<PackageVersion Include="Uno.WinUI.Skia.Gtk" Version="5.0.64" />
|
||||||
|
<PackageVersion Include="Xamarin.Google.Android.Material" Version="1.10.0.1" />
|
||||||
|
|
||||||
|
<PackageVersion Include="AutoMapper" Version="12.0.1" />
|
||||||
|
<PackageVersion Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="12.0.1" />
|
||||||
|
<PackageVersion Include="Grpc.Net.Client" Version="2.53.0" />
|
||||||
|
|
||||||
|
<PackageVersion Include="CommunityToolkit.WinUI.Converters" Version="8.0.230907" />
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,43 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using Android.App;
|
||||||
|
using Android.Content;
|
||||||
|
using Android.OS;
|
||||||
|
using Android.Runtime;
|
||||||
|
using Android.Views;
|
||||||
|
using Android.Widget;
|
||||||
|
using Com.Nostra13.Universalimageloader.Core;
|
||||||
|
using Microsoft.UI.Xaml.Media;
|
||||||
|
|
||||||
|
namespace HotelOnContainers_App.Droid;
|
||||||
|
|
||||||
|
[global::Android.App.ApplicationAttribute(
|
||||||
|
Label = "@string/ApplicationName",
|
||||||
|
Icon = "@mipmap/icon",
|
||||||
|
LargeHeap = true,
|
||||||
|
HardwareAccelerated = true,
|
||||||
|
Theme = "@style/AppTheme"
|
||||||
|
)]
|
||||||
|
public class Application : Microsoft.UI.Xaml.NativeApplication
|
||||||
|
{
|
||||||
|
public Application(IntPtr javaReference, JniHandleOwnership transfer)
|
||||||
|
: base(() => new AppHead(), javaReference, transfer)
|
||||||
|
{
|
||||||
|
ConfigureUniversalImageLoader();
|
||||||
|
}
|
||||||
|
|
||||||
|
private static void ConfigureUniversalImageLoader()
|
||||||
|
{
|
||||||
|
// Create global configuration and initialize ImageLoader with this config
|
||||||
|
ImageLoaderConfiguration config = new ImageLoaderConfiguration
|
||||||
|
.Builder(Context)
|
||||||
|
.Build();
|
||||||
|
|
||||||
|
ImageLoader.Instance.Init(config);
|
||||||
|
|
||||||
|
ImageSource.DefaultImageLoader = ImageLoader.Instance.LoadImageAsync;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
using Android.App;
|
||||||
|
using Android.Content.PM;
|
||||||
|
using Android.OS;
|
||||||
|
using Android.Views;
|
||||||
|
using Android.Widget;
|
||||||
|
|
||||||
|
namespace HotelOnContainers_App.Droid;
|
||||||
|
|
||||||
|
[Activity(
|
||||||
|
MainLauncher = true,
|
||||||
|
ConfigurationChanges = global::Uno.UI.ActivityHelper.AllConfigChanges,
|
||||||
|
WindowSoftInputMode = SoftInput.AdjustNothing | SoftInput.StateHidden
|
||||||
|
)]
|
||||||
|
public class MainActivity : Microsoft.UI.Xaml.ApplicationActivity
|
||||||
|
{
|
||||||
|
}
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
<string name="Hello">Hello World, Click Me!</string>
|
<string name="Hello">Hello World, Click Me!</string>
|
||||||
<string name="ApplicationName">TestApp</string>
|
<string name="ApplicationName">HotelOnContainers_App</string>
|
||||||
</resources>
|
</resources>
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<resources>
|
<resources>
|
||||||
<style name="AppTheme" parent="Theme.AppCompat.Light">
|
<style name="AppTheme" parent="Theme.MaterialComponents.Light">
|
||||||
|
|
||||||
<!-- This removes the ActionBar -->
|
<!-- This removes the ActionBar -->
|
||||||
<item name="windowActionBar">false</item>
|
<item name="windowActionBar">false</item>
|
||||||
@@ -8,12 +8,11 @@
|
|||||||
<item name="windowNoTitle">true</item>
|
<item name="windowNoTitle">true</item>
|
||||||
<item name="android:windowNoTitle">true</item>
|
<item name="android:windowNoTitle">true</item>
|
||||||
|
|
||||||
|
<!-- uno_splash_color and uno_splash_image are generated by Uno.Resizetizer -->
|
||||||
<!-- This property is used for the splash screen -->
|
<!-- This property is used for the splash screen -->
|
||||||
<item name="android:windowSplashScreenBackground">#FFFFFF</item>
|
<item name="android:windowSplashScreenBackground">@color/uno_splash_color</item>
|
||||||
<item name="android:windowBackground">@drawable/splash_screen</item>
|
<item name="android:windowBackground">@drawable/uno_splash_image</item>
|
||||||
<item name="android:windowSplashScreenAnimatedIcon">@drawable/splash_screen</item>
|
<item name="android:windowSplashScreenAnimatedIcon">@drawable/uno_splash_image</item>
|
||||||
<!--<item name="android:windowSplashScreenBehavior">1</item>-->
|
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
<style name="Theme.AppCompat.Translucent">
|
<style name="Theme.AppCompat.Translucent">
|
||||||
<item name="android:windowIsTranslucent">true</item>
|
<item name="android:windowIsTranslucent">true</item>
|
||||||
@@ -0,0 +1,72 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFrameworks>$(DotNetVersion)-android;$(DotNetVersion)-ios</TargetFrameworks>
|
||||||
|
<TargetFrameworks Condition="'$(OverrideTargetFramework)'!=''">$(OverrideTargetFramework)</TargetFrameworks>
|
||||||
|
<SingleProject>true</SingleProject>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<!-- Display name -->
|
||||||
|
<ApplicationTitle>HotelOnContainers_App</ApplicationTitle>
|
||||||
|
<!-- App Identifier -->
|
||||||
|
<ApplicationId>DGM.HoC.App</ApplicationId>
|
||||||
|
<ApplicationIdGuid>6E5BFCE2-5BC9-4B15-AD1C-BF57F0E9FC2F</ApplicationIdGuid>
|
||||||
|
<!-- Versions -->
|
||||||
|
<ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
|
||||||
|
<ApplicationVersion>1</ApplicationVersion>
|
||||||
|
|
||||||
|
<AndroidManifest>Android\AndroidManifest.xml</AndroidManifest>
|
||||||
|
|
||||||
|
<!-- Debugger workaround https://github.com/dotnet/maui-samples/blob/8aa6b8780b12e97b157514c3bdc54bb4a13001cd/HelloMacCatalyst/HelloMacCatalyst.csproj#L7 -->
|
||||||
|
<!-- <MtouchExtraArgs Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">$(MtouchExtraArgs) -setenv:MONO_THREADS_SUSPEND=preemptive</MtouchExtraArgs> -->
|
||||||
|
<!-- Required for C# Hot Reload -->
|
||||||
|
<UseInterpreter Condition="'$(Configuration)' == 'Debug' and $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) != 'maccatalyst'">True</UseInterpreter>
|
||||||
|
<IsUnoHead>true</IsUnoHead>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="Uno.WinUI" />
|
||||||
|
<PackageReference Include="CommunityToolkit.Mvvm" />
|
||||||
|
<PackageReference Include="Uno.Extensions.Configuration" />
|
||||||
|
<PackageReference Include="Uno.Extensions.Logging.WinUI" />
|
||||||
|
<PackageReference Include="Uno.Toolkit.WinUI" />
|
||||||
|
<PackageReference Include="Uno.Extensions.Hosting.WinUI" />
|
||||||
|
<PackageReference Include="Uno.Extensions.Localization.WinUI" />
|
||||||
|
<PackageReference Include="Microsoft.Extensions.Logging.Console" />
|
||||||
|
<PackageReference Include="Uno.Extensions.Logging.OSLog" />
|
||||||
|
<PackageReference Include="Uno.UI.Adapter.Microsoft.Extensions.Logging" />
|
||||||
|
<PackageReference Include="Uno.WinUI.DevServer" Condition="'$(Configuration)'=='Debug'" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Choose>
|
||||||
|
<When Condition="$(IsAndroid)">
|
||||||
|
<ItemGroup>
|
||||||
|
|
||||||
|
<PackageReference Include="Xamarin.Google.Android.Material" />
|
||||||
|
<PackageReference Include="Uno.UniversalImageLoader" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<AndroidEnvironment Include="Android/environment.conf" />
|
||||||
|
</ItemGroup>
|
||||||
|
</When>
|
||||||
|
<When Condition="$(IsIOS)">
|
||||||
|
<PropertyGroup>
|
||||||
|
<MtouchExtraArgs>$(MtouchExtraArgs) --setenv=MONO_GC_PARAMS=soft-heap-limit=512m,nursery-size=64m,evacuation-threshold=66,major=marksweep,concurrent-sweep</MtouchExtraArgs>
|
||||||
|
<!-- See https://github.com/unoplatform/uno/issues/9430 for more details. -->
|
||||||
|
<MtouchExtraArgs>$(MtouchExtraArgs) --registrar:static</MtouchExtraArgs>
|
||||||
|
<RuntimeIdentifier Condition="'$(RuntimeIdentifier)'==''">iossimulator-x64</RuntimeIdentifier>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)'=='Release'">
|
||||||
|
<!-- https://github.com/xamarin/xamarin-macios/issues/14812 -->
|
||||||
|
<MtouchExtraArgs>$(MtouchExtraArgs) --marshal-objectivec-exceptions:disable</MtouchExtraArgs>
|
||||||
|
</PropertyGroup>
|
||||||
|
</When>
|
||||||
|
</Choose>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\HotelOnContainers_App\HotelOnContainers_App.csproj" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="..\HotelOnContainers_App.Shared\base.props" />
|
||||||
|
|
||||||
|
<Target Name="ValidateOverrides" BeforeTargets="Restore;_CheckForUnsupportedTargetFramework" Condition="'$(OverrideTargetFramework)' != ''">
|
||||||
|
<Error
|
||||||
|
Text="OverrideTargetFramework set to '$(OverrideTargetFramework)' is missing valid target. Set OverrideTargetFramework to one of the TargetFrameworks for this project or skip building this project (eg unload the project in Visual Studio)"
|
||||||
|
Condition="$(OverrideTargetFramework.Contains('windows10')) or !$(OverrideTargetFrameork.Contains('-'))" />
|
||||||
|
</Target>
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
||||||
@@ -0,0 +1,43 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>LSRequiresIPhoneOS</key>
|
||||||
|
<true/>
|
||||||
|
<key>UIDeviceFamily</key>
|
||||||
|
<array>
|
||||||
|
<integer>1</integer>
|
||||||
|
<integer>2</integer>
|
||||||
|
</array>
|
||||||
|
<key>UIRequiredDeviceCapabilities</key>
|
||||||
|
<array>
|
||||||
|
<string>armv7</string>
|
||||||
|
<string>arm64</string>
|
||||||
|
</array>
|
||||||
|
<key>UISupportedInterfaceOrientations</key>
|
||||||
|
<array>
|
||||||
|
<string>UIInterfaceOrientationPortrait</string>
|
||||||
|
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||||
|
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||||
|
</array>
|
||||||
|
<key>UISupportedInterfaceOrientations~ipad</key>
|
||||||
|
<array>
|
||||||
|
<string>UIInterfaceOrientationPortrait</string>
|
||||||
|
<string>UIInterfaceOrientationPortraitUpsideDown</string>
|
||||||
|
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||||
|
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||||
|
</array>
|
||||||
|
<key>UIViewControllerBasedStatusBarAppearance</key>
|
||||||
|
<false/>
|
||||||
|
<key>XSAppIconAssets</key>
|
||||||
|
<string>Assets.xcassets/icon.appiconset</string>
|
||||||
|
<key>UIApplicationSupportsIndirectInputEvents</key>
|
||||||
|
<true/>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Adjust this to your application's encryption usage.
|
||||||
|
<key>ITSAppUsesNonExemptEncryption</key>
|
||||||
|
<false/>
|
||||||
|
-->
|
||||||
|
</dict>
|
||||||
|
</plist>
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
using UIKit;
|
||||||
|
|
||||||
|
namespace HotelOnContainers_App.iOS;
|
||||||
|
|
||||||
|
public class EntryPoint
|
||||||
|
{
|
||||||
|
// This is the main entry point of the application.
|
||||||
|
public static void Main(string[] args)
|
||||||
|
{
|
||||||
|
// if you want to use a different Application Delegate class from "AppDelegate"
|
||||||
|
// you can specify it here.
|
||||||
|
UIApplication.Main(args, null, typeof(AppHead));
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,58 @@
|
|||||||
|
{
|
||||||
|
"images": [
|
||||||
|
{
|
||||||
|
"orientation": "portrait",
|
||||||
|
"extent": "full-screen",
|
||||||
|
"minimum-system-version": "7.0",
|
||||||
|
"scale": "2x",
|
||||||
|
"size": "640x960",
|
||||||
|
"idiom": "iphone"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"orientation": "portrait",
|
||||||
|
"extent": "full-screen",
|
||||||
|
"minimum-system-version": "7.0",
|
||||||
|
"subtype": "retina4",
|
||||||
|
"scale": "2x",
|
||||||
|
"size": "640x1136",
|
||||||
|
"idiom": "iphone"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"orientation": "portrait",
|
||||||
|
"extent": "full-screen",
|
||||||
|
"minimum-system-version": "7.0",
|
||||||
|
"scale": "1x",
|
||||||
|
"size": "768x1024",
|
||||||
|
"idiom": "ipad"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"orientation": "landscape",
|
||||||
|
"extent": "full-screen",
|
||||||
|
"minimum-system-version": "7.0",
|
||||||
|
"scale": "1x",
|
||||||
|
"size": "1024x768",
|
||||||
|
"idiom": "ipad"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"orientation": "portrait",
|
||||||
|
"extent": "full-screen",
|
||||||
|
"minimum-system-version": "7.0",
|
||||||
|
"scale": "2x",
|
||||||
|
"size": "1536x2048",
|
||||||
|
"idiom": "ipad"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"orientation": "landscape",
|
||||||
|
"extent": "full-screen",
|
||||||
|
"minimum-system-version": "7.0",
|
||||||
|
"scale": "2x",
|
||||||
|
"size": "2048x1536",
|
||||||
|
"idiom": "ipad"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": {},
|
||||||
|
"info": {
|
||||||
|
"version": 1,
|
||||||
|
"author": ""
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
<local:App x:Class="HotelOnContainers_App.AppHead"
|
||||||
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
|
xmlns:wasm="http://platform.uno/wasm"
|
||||||
|
xmlns:local="using:HotelOnContainers_App"
|
||||||
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
|
mc:Ignorable="wasm">
|
||||||
|
|
||||||
|
<local:App.Resources>
|
||||||
|
<ResourceDictionary>
|
||||||
|
<ResourceDictionary.MergedDictionaries>
|
||||||
|
<ResourceDictionary Source="ms-appx:///HotelOnContainers_App/AppResources.xaml" />
|
||||||
|
</ResourceDictionary.MergedDictionaries>
|
||||||
|
</ResourceDictionary>
|
||||||
|
</local:App.Resources>
|
||||||
|
|
||||||
|
</local:App>
|
||||||
@@ -0,0 +1,27 @@
|
|||||||
|
using Microsoft.UI.Xaml;
|
||||||
|
using Uno.Resizetizer;
|
||||||
|
|
||||||
|
namespace HotelOnContainers_App;
|
||||||
|
public sealed partial class AppHead : App
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Initializes the singleton application object. This is the first line of authored code
|
||||||
|
/// executed, and as such is the logical equivalent of main() or WinMain().
|
||||||
|
/// </summary>
|
||||||
|
public AppHead()
|
||||||
|
{
|
||||||
|
this.InitializeComponent();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Invoked when the application is launched normally by the end user. Other entry points
|
||||||
|
/// will be used such as when the application is launched to open a specific file.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="args">Details about the launch request and process.</param>
|
||||||
|
protected override void OnLaunched(LaunchActivatedEventArgs args)
|
||||||
|
{
|
||||||
|
base.OnLaunched(args);
|
||||||
|
|
||||||
|
MainWindow.SetWindowIcon();
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
<Project Sdk="Microsoft.Build.NoTargets/3.7.0">
|
||||||
|
<PropertyGroup>
|
||||||
|
<!-- NOTE: The TargetFramework is required by MSBuild but not used as this project is not built. -->
|
||||||
|
<TargetFramework>$(DotNetVersion)</TargetFramework>
|
||||||
|
<EnableDefaultItems>false</EnableDefaultItems>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="**\*" Exclude="obj\**;bin\**;*.csproj" />
|
||||||
|
<None Update="AppHead.xaml.cs" DependentUpon="AppHead.xaml" />
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
@@ -5,7 +5,7 @@
|
|||||||
viewBox="0 0 456 456"
|
viewBox="0 0 456 456"
|
||||||
version="1.1"
|
version="1.1"
|
||||||
id="svg453"
|
id="svg453"
|
||||||
sodipodi:docname="iconapp.old.svg"
|
sodipodi:docname="icon.svg"
|
||||||
inkscape:version="1.2 (dc2aedaf03, 2022-05-15)"
|
inkscape:version="1.2 (dc2aedaf03, 2022-05-15)"
|
||||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
@@ -5,7 +5,7 @@
|
|||||||
viewBox="0 0 50.369617 49.826836"
|
viewBox="0 0 50.369617 49.826836"
|
||||||
version="1.1"
|
version="1.1"
|
||||||
id="svg151"
|
id="svg151"
|
||||||
sodipodi:docname="appconfig.svg"
|
sodipodi:docname="icon_foreground.svg"
|
||||||
inkscape:version="1.2 (dc2aedaf03, 2022-05-15)"
|
inkscape:version="1.2 (dc2aedaf03, 2022-05-15)"
|
||||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 5.5 KiB |
@@ -5,7 +5,7 @@
|
|||||||
viewBox="0 0 50.369617 49.826836"
|
viewBox="0 0 50.369617 49.826836"
|
||||||
version="1.1"
|
version="1.1"
|
||||||
id="svg151"
|
id="svg151"
|
||||||
sodipodi:docname="appconfig.svg"
|
sodipodi:docname="icon_foreground.svg"
|
||||||
inkscape:version="1.2 (dc2aedaf03, 2022-05-15)"
|
inkscape:version="1.2 (dc2aedaf03, 2022-05-15)"
|
||||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 5.5 KiB |
@@ -0,0 +1,30 @@
|
|||||||
|
<Project>
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="Uno.Resizetizer" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="$(MSBuildThisFileDirectory)AppHead.xaml" />
|
||||||
|
<ApplicationDefinition Include="$(MSBuildThisFileDirectory)AppHead.xaml"
|
||||||
|
SubType="Designer"
|
||||||
|
XamlRuntime="WinUI"
|
||||||
|
Generator="MSBuild:Compile"
|
||||||
|
Link="AppHead.xaml" />
|
||||||
|
<Compile Include="$(MSBuildThisFileDirectory)AppHead.xaml.cs"
|
||||||
|
XamlRuntime="WinUI"
|
||||||
|
DependentUpon="AppHead.xaml"
|
||||||
|
Link="AppHead.xaml.cs" />
|
||||||
|
<UnoIcon Include="$(MSBuildThisFileDirectory)Icons\icon.svg"
|
||||||
|
ForegroundFile="$(MSBuildThisFileDirectory)Icons\icon_foreground.svg"
|
||||||
|
ForegroundScale="0.65"
|
||||||
|
Color="#00000000" />
|
||||||
|
<UnoSplashScreen
|
||||||
|
Include="$(MSBuildThisFileDirectory)Splash\splash_screen.svg"
|
||||||
|
BaseSize="128,128"
|
||||||
|
Color="#FFFFFF" />
|
||||||
|
<!-- NOTE: Files explicitly linked to display in the head projects for clarity. -->
|
||||||
|
<None Include="$(MSBuildThisFileDirectory)Icons\icon.svg" Link="Icons\icon.svg" />
|
||||||
|
<None Include="$(MSBuildThisFileDirectory)Icons\icon_foreground.svg" Link="Icons\icon_foreground.svg" />
|
||||||
|
<None Include="$(MSBuildThisFileDirectory)Splash\splash_screen.svg" Link="Splash\splash_screen.svg" />
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,37 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutputType Condition="'$(Configuration)'=='Release'">WinExe</OutputType>
|
||||||
|
<OutputType Condition="'$(Configuration)'=='Debug'">Exe</OutputType>
|
||||||
|
<TargetFramework>$(DotNetVersion)</TargetFramework>
|
||||||
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<EmbeddedResource Include="Package.appxmanifest" />
|
||||||
|
<Manifest Include="$(ApplicationManifest)" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="Uno.WinUI.Skia.Gtk" />
|
||||||
|
<PackageReference Include="CommunityToolkit.Mvvm" />
|
||||||
|
<PackageReference Include="Uno.Extensions.Configuration" />
|
||||||
|
<PackageReference Include="Uno.Extensions.Logging.WinUI" />
|
||||||
|
<PackageReference Include="Uno.Toolkit.WinUI" />
|
||||||
|
<PackageReference Include="Uno.Extensions.Hosting.WinUI" />
|
||||||
|
<PackageReference Include="Uno.Extensions.Localization.WinUI" />
|
||||||
|
<PackageReference Include="Microsoft.Extensions.Logging.Console" />
|
||||||
|
<PackageReference Include="SkiaSharp.Views.Uno.WinUI" />
|
||||||
|
<PackageReference Include="SkiaSharp.Skottie" />
|
||||||
|
<PackageReference Include="Uno.WinUI.DevServer" Condition="'$(Configuration)'=='Debug'" />
|
||||||
|
<PackageReference Include="Uno.UI.Adapter.Microsoft.Extensions.Logging" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\HotelOnContainers_App\HotelOnContainers_App.csproj" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="..\HotelOnContainers_App.Shared\base.props" />
|
||||||
|
|
||||||
|
<Target Name="ValidateOverrides" BeforeTargets="Restore;_CheckForUnsupportedTargetFramework" Condition="'$(OverrideTargetFramework)' != ''">
|
||||||
|
<Error
|
||||||
|
Text="OverrideTargetFramework set to '$(OverrideTargetFramework)' is invalid. Set OverrideTargetFramework to $([MSBuild]::Escape('$'))(DotNetVersion) or skip building this project (eg unload the project in Visual Studio)"
|
||||||
|
Condition="'$(OverrideTargetFramework)'!='$(DotNetVersion)'" />
|
||||||
|
</Target>
|
||||||
|
</Project>
|
||||||
@@ -7,13 +7,13 @@
|
|||||||
IgnorableNamespaces="uap rescap">
|
IgnorableNamespaces="uap rescap">
|
||||||
|
|
||||||
<Identity
|
<Identity
|
||||||
Name="C22E9F46-08B4-494A-99E8-99CBC48F9B44"
|
Name="HotelOnContainers-App"
|
||||||
Publisher="O=TestApp"
|
Publisher="O=Daniel-Garmig"
|
||||||
Version="1.0.0.0" />
|
Version="1.0.0.0" />
|
||||||
|
|
||||||
<Properties>
|
<Properties>
|
||||||
<DisplayName>TestApp</DisplayName>
|
<DisplayName>HotelOnContainers_App</DisplayName>
|
||||||
<PublisherDisplayName>TestApp</PublisherDisplayName>
|
<PublisherDisplayName>HotelOnContainers_App</PublisherDisplayName>
|
||||||
</Properties>
|
</Properties>
|
||||||
|
|
||||||
<Dependencies>
|
<Dependencies>
|
||||||
@@ -30,9 +30,9 @@
|
|||||||
Executable="$targetnametoken$.exe"
|
Executable="$targetnametoken$.exe"
|
||||||
EntryPoint="$targetentrypoint$">
|
EntryPoint="$targetentrypoint$">
|
||||||
<uap:VisualElements
|
<uap:VisualElements
|
||||||
DisplayName="TestApp"
|
DisplayName="HotelOnContainers_App"
|
||||||
Description="TestApp">
|
Description="HotelOnContainers_App">
|
||||||
<uap:SplashScreen BackgroundColor="#086AD1"/>
|
<uap:SplashScreen />
|
||||||
</uap:VisualElements>
|
</uap:VisualElements>
|
||||||
</Application>
|
</Application>
|
||||||
</Applications>
|
</Applications>
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
using System;
|
||||||
|
using GLib;
|
||||||
|
using Uno.UI.Runtime.Skia.Gtk;
|
||||||
|
|
||||||
|
namespace HotelOnContainers_App.Skia.Gtk;
|
||||||
|
public class Program
|
||||||
|
{
|
||||||
|
public static void Main(string[] args)
|
||||||
|
{
|
||||||
|
ExceptionManager.UnhandledException += delegate (UnhandledExceptionArgs expArgs)
|
||||||
|
{
|
||||||
|
Console.WriteLine("GLIB UNHANDLED EXCEPTION" + expArgs.ExceptionObject.ToString());
|
||||||
|
expArgs.ExitApplication = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
var host = new GtkHost(() => new AppHead());
|
||||||
|
|
||||||
|
host.Run();
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
|
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
<assemblyIdentity version="1.0.0.0" name="TestApp.Gtk"/>
|
<assemblyIdentity version="1.0.0.0" name="HotelOnContainers_App.Gtk"/>
|
||||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
|
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
|
||||||
<security>
|
<security>
|
||||||
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
|
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||||
@@ -52,8 +52,8 @@
|
|||||||
|
|
||||||
<application xmlns="urn:schemas-microsoft-com:asm.v3">
|
<application xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||||
<windowsSettings>
|
<windowsSettings>
|
||||||
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitor</dpiAwareness>
|
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true/PM</dpiAware>
|
||||||
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
|
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2, PerMonitor</dpiAwareness>
|
||||||
</windowsSettings>
|
</windowsSettings>
|
||||||
</application>
|
</application>
|
||||||
|
|
||||||
@@ -0,0 +1,83 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutputType>WinExe</OutputType>
|
||||||
|
<TargetFramework>$(DotNetVersion)-windows10.0.19041.0</TargetFramework>
|
||||||
|
<RootNamespace>HotelOnContainers_App.Windows</RootNamespace>
|
||||||
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
||||||
|
<Platforms>x86;x64;arm64</Platforms>
|
||||||
|
<RuntimeIdentifiers>win-x86;win-x64;win-arm64</RuntimeIdentifiers>
|
||||||
|
<PublishProfile>win-$(Platform).pubxml</PublishProfile>
|
||||||
|
<UseWinUI>true</UseWinUI>
|
||||||
|
<EnableMsixTooling>true</EnableMsixTooling>
|
||||||
|
|
||||||
|
<!-- Bundles the WinAppSDK binaries -->
|
||||||
|
<WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained>
|
||||||
|
|
||||||
|
<!-- <SelfContained>true</SelfContained> -->
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<Content Include="Images\**" />
|
||||||
|
<Manifest Include="$(ApplicationManifest)" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="Uno.WinUI" />
|
||||||
|
<PackageReference Include="Microsoft.WindowsAppSDK" />
|
||||||
|
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" />
|
||||||
|
<PackageReference Include="CommunityToolkit.Mvvm" />
|
||||||
|
<PackageReference Include="Uno.Extensions.Configuration" />
|
||||||
|
<PackageReference Include="Uno.Extensions.Logging.WinUI" />
|
||||||
|
<PackageReference Include="Uno.Toolkit.WinUI" />
|
||||||
|
<PackageReference Include="Uno.Extensions.Hosting.WinUI" />
|
||||||
|
<PackageReference Include="Uno.Extensions.Localization.WinUI" />
|
||||||
|
<PackageReference Include="Microsoft.Extensions.Logging.Console" />
|
||||||
|
<PackageReference Include="Uno.Core.Extensions.Logging.Singleton" />
|
||||||
|
<PackageReference Include="Uno.UI.Adapter.Microsoft.Extensions.Logging" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<!--
|
||||||
|
If you encounter this error message:
|
||||||
|
|
||||||
|
error NETSDK1148: A referenced assembly was compiled using a newer version of Microsoft.Windows.SDK.NET.dll.
|
||||||
|
Please update to a newer .NET SDK in order to reference this assembly.
|
||||||
|
|
||||||
|
This means that the two packages below must be aligned with the "build" version number of
|
||||||
|
the "Microsoft.Windows.SDK.BuildTools" package above, and the "revision" version number
|
||||||
|
must be the highest found in https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref.
|
||||||
|
-->
|
||||||
|
<!-- <FrameworkReference Update="Microsoft.Windows.SDK.NET.Ref" RuntimeFrameworkVersion="10.0.22621.28" />
|
||||||
|
<FrameworkReference Update="Microsoft.Windows.SDK.NET.Ref" TargetingPackVersion="10.0.22621.28" /> -->
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\HotelOnContainers_App\HotelOnContainers_App.csproj" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Defining the "Msix" ProjectCapability here allows the Single-project MSIX Packaging
|
||||||
|
Tools extension to be activated for this project even if the Windows App SDK Nuget
|
||||||
|
package has not yet been restored.
|
||||||
|
-->
|
||||||
|
<ItemGroup Condition="'$(DisableMsixProjectCapabilityAddedByProject)'!='true' and '$(EnableMsixTooling)'=='true'">
|
||||||
|
<ProjectCapability Include="Msix"/>
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Defining the "HasPackageAndPublishMenuAddedByProject" property here allows the Solution
|
||||||
|
Explorer "Package and Publish" context menu entry to be enabled for this project even if
|
||||||
|
the Windows App SDK Nuget package has not yet been restored.
|
||||||
|
-->
|
||||||
|
<PropertyGroup Condition="'$(DisableHasPackageAndPublishMenuAddedByProject)'!='true' and '$(EnableMsixTooling)'=='true'">
|
||||||
|
<HasPackageAndPublishMenu>true</HasPackageAndPublishMenu>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<Import Project="..\HotelOnContainers_App.Shared\base.props" />
|
||||||
|
|
||||||
|
<Target Name="ValidateOverrides" BeforeTargets="Restore;_CheckForUnsupportedTargetFramework" Condition="'$(OverrideTargetFramework)' != ''">
|
||||||
|
<Error
|
||||||
|
Text="OverrideTargetFramework set to '$(OverrideTargetFramework)' is missing Windows target. Set OverrideTargetFramework to $([MSBuild]::Escape('$'))(DotNetVersion)-windows10.0.19041.0 or skip building this project (eg unload the project in Visual Studio)"
|
||||||
|
Condition="!$(OverrideTargetFramework.Contains('windows10'))" />
|
||||||
|
</Target>
|
||||||
|
</Project>
|
||||||
@@ -7,13 +7,13 @@
|
|||||||
IgnorableNamespaces="uap rescap">
|
IgnorableNamespaces="uap rescap">
|
||||||
|
|
||||||
<Identity
|
<Identity
|
||||||
Name="C22E9F46-08B4-494A-99E8-99CBC48F9B44"
|
Name="HotelOnContainers-App"
|
||||||
Publisher="O=TestApp"
|
Publisher="O=Daniel-Garmig"
|
||||||
Version="1.0.0.0" />
|
Version="1.0.0.0" />
|
||||||
|
|
||||||
<Properties>
|
<Properties>
|
||||||
<DisplayName>TestApp</DisplayName>
|
<DisplayName>HotelOnContainers_App</DisplayName>
|
||||||
<PublisherDisplayName>TestApp</PublisherDisplayName>
|
<PublisherDisplayName>HotelOnContainers_App</PublisherDisplayName>
|
||||||
</Properties>
|
</Properties>
|
||||||
|
|
||||||
<Dependencies>
|
<Dependencies>
|
||||||
@@ -30,9 +30,9 @@
|
|||||||
Executable="$targetnametoken$.exe"
|
Executable="$targetnametoken$.exe"
|
||||||
EntryPoint="$targetentrypoint$">
|
EntryPoint="$targetentrypoint$">
|
||||||
<uap:VisualElements
|
<uap:VisualElements
|
||||||
DisplayName="TestApp"
|
DisplayName="HotelOnContainers_App"
|
||||||
Description="TestApp">
|
Description="HotelOnContainers_App">
|
||||||
<uap:SplashScreen BackgroundColor="#086AD1"/>
|
<uap:SplashScreen />
|
||||||
</uap:VisualElements>
|
</uap:VisualElements>
|
||||||
</Application>
|
</Application>
|
||||||
</Applications>
|
</Applications>
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
https://go.microsoft.com/fwlink/?LinkID=208121.
|
||||||
|
-->
|
||||||
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup>
|
||||||
|
<PublishProtocol>FileSystem</PublishProtocol>
|
||||||
|
<Platform>arm64</Platform>
|
||||||
|
<RuntimeIdentifier>win-arm64</RuntimeIdentifier>
|
||||||
|
<PublishDir>bin\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\publish\</PublishDir>
|
||||||
|
<SelfContained>true</SelfContained>
|
||||||
|
<PublishSingleFile>False</PublishSingleFile>
|
||||||
|
<PublishReadyToRun Condition="'$(Configuration)' == 'Debug'">False</PublishReadyToRun>
|
||||||
|
<PublishReadyToRun Condition="'$(Configuration)' != 'Debug'">True</PublishReadyToRun>
|
||||||
|
<!-- Note: Trimming disabled by default as there may still be an issues with PublishTrimmed support: https://github.com/microsoft/CsWinRT/issues/373 -->
|
||||||
|
<!--
|
||||||
|
<PublishTrimmed Condition="'$(Configuration)' != 'Debug'">True</PublishTrimmed>
|
||||||
|
<TrimMode>partial</TrimMode>
|
||||||
|
<SuppressTrimAnalysisWarnings>true</SuppressTrimAnalysisWarnings>
|
||||||
|
-->
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
https://go.microsoft.com/fwlink/?LinkID=208121.
|
||||||
|
-->
|
||||||
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup>
|
||||||
|
<PublishProtocol>FileSystem</PublishProtocol>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||||
|
<PublishDir>bin\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\publish\</PublishDir>
|
||||||
|
<SelfContained>true</SelfContained>
|
||||||
|
<PublishSingleFile>False</PublishSingleFile>
|
||||||
|
<PublishReadyToRun Condition="'$(Configuration)' == 'Debug'">False</PublishReadyToRun>
|
||||||
|
<PublishReadyToRun Condition="'$(Configuration)' != 'Debug'">True</PublishReadyToRun>
|
||||||
|
<!-- Note: Trimming disabled by default as there may still be an issues with PublishTrimmed support: https://github.com/microsoft/CsWinRT/issues/373 -->
|
||||||
|
<!--
|
||||||
|
<PublishTrimmed Condition="'$(Configuration)' != 'Debug'">True</PublishTrimmed>
|
||||||
|
<TrimMode>partial</TrimMode>
|
||||||
|
<SuppressTrimAnalysisWarnings>true</SuppressTrimAnalysisWarnings>
|
||||||
|
-->
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
https://go.microsoft.com/fwlink/?LinkID=208121.
|
||||||
|
-->
|
||||||
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup>
|
||||||
|
<PublishProtocol>FileSystem</PublishProtocol>
|
||||||
|
<Platform>x86</Platform>
|
||||||
|
<RuntimeIdentifier>win-x86</RuntimeIdentifier>
|
||||||
|
<PublishDir>bin\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\publish\</PublishDir>
|
||||||
|
<SelfContained>true</SelfContained>
|
||||||
|
<PublishSingleFile>False</PublishSingleFile>
|
||||||
|
<PublishReadyToRun Condition="'$(Configuration)' == 'Debug'">False</PublishReadyToRun>
|
||||||
|
<PublishReadyToRun Condition="'$(Configuration)' != 'Debug'">True</PublishReadyToRun>
|
||||||
|
<!-- Note: Trimming disabled by default as there may still be an issues with PublishTrimmed support: https://github.com/microsoft/CsWinRT/issues/373 -->
|
||||||
|
<!--
|
||||||
|
<PublishTrimmed Condition="'$(Configuration)' != 'Debug'">True</PublishTrimmed>
|
||||||
|
<TrimMode>partial</TrimMode>
|
||||||
|
<SuppressTrimAnalysisWarnings>true</SuppressTrimAnalysisWarnings>
|
||||||
|
-->
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"profiles": {
|
||||||
|
"HotelOnContainers_App.Windows (Unpackaged)": {
|
||||||
|
"commandName": "Project"
|
||||||
|
},
|
||||||
|
"HotelOnContainers_App.Windows (Package)": {
|
||||||
|
"commandName": "MsixPackage"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,6 +1,16 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
|
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
<assemblyIdentity version="1.0.0.0" name="TestApp.Windows.app"/>
|
<assemblyIdentity version="1.0.0.0" name="HotelOnContainers_App.Windows.app"/>
|
||||||
|
|
||||||
|
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
|
||||||
|
<application>
|
||||||
|
<!--The ID below informs the system that this application is compatible with OS features first introduced in Windows 8.
|
||||||
|
For more info see https://docs.microsoft.com/windows/win32/sysinfo/targeting-your-application-at-windows-8-1
|
||||||
|
|
||||||
|
It is also necessary to support features in unpackaged applications, for example the custom titlebar implementation.-->
|
||||||
|
<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" />
|
||||||
|
</application>
|
||||||
|
</compatibility>
|
||||||
|
|
||||||
<application xmlns="urn:schemas-microsoft-com:asm.v3">
|
<application xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||||
<windowsSettings>
|
<windowsSettings>
|
||||||
@@ -1,21 +1,21 @@
|
|||||||
using DGM.HoC.BookMng.API.RPC;
|
using DGM.HoC.BookMng.API.RPC;
|
||||||
using DGM.HoC.CRM.API.RPC;
|
using DGM.HoC.CRM.API.RPC;
|
||||||
using Grpc.Net.Client;
|
using Grpc.Net.Client;
|
||||||
|
using HotelOnContainers_App.Business.Config;
|
||||||
|
using HotelOnContainers_App.Business.Mapper;
|
||||||
|
using HotelOnContainers_App.Business.DAO;
|
||||||
using Microsoft.Extensions.Configuration;
|
using Microsoft.Extensions.Configuration;
|
||||||
using Microsoft.Extensions.DependencyInjection;
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
using Microsoft.Extensions.Options;
|
using Microsoft.Extensions.Options;
|
||||||
using TestApp.Business.Config;
|
|
||||||
using TestApp.Business.DAO;
|
|
||||||
using TestApp.Business.Mapper;
|
|
||||||
using Uno.Extensions;
|
using Uno.Extensions;
|
||||||
using Uno.Extensions.Configuration;
|
using Uno.Extensions.Configuration;
|
||||||
using Uno.Extensions.Configuration.Internal;
|
using Uno.Extensions.Configuration.Internal;
|
||||||
|
|
||||||
namespace TestApp
|
namespace HotelOnContainers_App
|
||||||
{
|
{
|
||||||
public class App : Application
|
public class App : Application
|
||||||
{
|
{
|
||||||
private static Window? _window;
|
public static Window? MainWindow;
|
||||||
public static IHost? Host { get; private set; }
|
public static IHost? Host { get; private set; }
|
||||||
|
|
||||||
protected override void OnLaunched(LaunchActivatedEventArgs args)
|
protected override void OnLaunched(LaunchActivatedEventArgs args)
|
||||||
@@ -23,13 +23,13 @@ namespace TestApp
|
|||||||
var builder = this.CreateBuilder(args)
|
var builder = this.CreateBuilder(args)
|
||||||
.Configure(host => host
|
.Configure(host => host
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
// Switch to Development environment when running in DEBUG
|
// Switch to Development environment when running in DEBUG
|
||||||
.UseEnvironment(Environments.Development)
|
.UseEnvironment(Environments.Development)
|
||||||
#endif
|
#endif
|
||||||
.UseConfiguration(configure: configBuilder => (
|
.UseConfiguration(configure: configBuilder =>
|
||||||
configBuilder.EmbeddedSource<App>()
|
configBuilder.EmbeddedSource<App>()
|
||||||
.Section<NetworkSettings>()
|
.Section<NetworkSettings>()
|
||||||
))
|
)
|
||||||
.ConfigureServices((context, services) =>
|
.ConfigureServices((context, services) =>
|
||||||
{
|
{
|
||||||
// TODO: Register your services
|
// TODO: Register your services
|
||||||
@@ -53,20 +53,20 @@ namespace TestApp
|
|||||||
services.AddSingleton(typeof(apiCRM_Service));
|
services.AddSingleton(typeof(apiCRM_Service));
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
_window = builder.Window;
|
MainWindow = builder.Window;
|
||||||
|
|
||||||
Host = builder.Build();
|
Host = builder.Build();
|
||||||
|
|
||||||
|
|
||||||
// Do not repeat app initialization when the Window already has content,
|
// Do not repeat app initialization when the Window already has content,
|
||||||
// just ensure that the window is active
|
// just ensure that the window is active
|
||||||
if (_window.Content is not Frame rootFrame)
|
if (MainWindow.Content is not Frame rootFrame)
|
||||||
{
|
{
|
||||||
// Create a Frame to act as the navigation context and navigate to the first page
|
// Create a Frame to act as the navigation context and navigate to the first page
|
||||||
rootFrame = new Frame();
|
rootFrame = new Frame();
|
||||||
|
|
||||||
// Place the frame in the current Window
|
// Place the frame in the current Window
|
||||||
_window.Content = rootFrame;
|
MainWindow.Content = rootFrame;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (rootFrame.Content == null)
|
if (rootFrame.Content == null)
|
||||||
@@ -77,7 +77,7 @@ namespace TestApp
|
|||||||
rootFrame.Navigate(typeof(MainPage), args.Arguments);
|
rootFrame.Navigate(typeof(MainPage), args.Arguments);
|
||||||
}
|
}
|
||||||
// Ensure the current window is active
|
// Ensure the current window is active
|
||||||
_window.Activate();
|
MainWindow.Activate();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||||
|
|
||||||
|
<ResourceDictionary.MergedDictionaries>
|
||||||
|
<!-- Load WinUI resources -->
|
||||||
|
<XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
|
||||||
|
<!-- Load Uno.UI.Toolkit resources -->
|
||||||
|
<ToolkitResources xmlns="using:Uno.Toolkit.UI" />
|
||||||
|
|
||||||
|
</ResourceDictionary.MergedDictionaries>
|
||||||
|
<!-- Add resources here -->
|
||||||
|
|
||||||
|
</ResourceDictionary>
|
||||||
|
Before Width: | Height: | Size: 188 B After Width: | Height: | Size: 188 B |
@@ -0,0 +1,32 @@
|
|||||||
|
# Shared Assets
|
||||||
|
|
||||||
|
See documentation about assets here: https://github.com/unoplatform/uno/blob/master/doc/articles/features/working-with-assets.md
|
||||||
|
|
||||||
|
## Here is a cheat sheet
|
||||||
|
|
||||||
|
1. Add the image file to the `Assets` directory of a shared project.
|
||||||
|
2. Set the build action to `Content`.
|
||||||
|
3. (Recommended) Provide an asset for various scales/dpi
|
||||||
|
|
||||||
|
### Examples
|
||||||
|
|
||||||
|
```text
|
||||||
|
\Assets\Images\logo.scale-100.png
|
||||||
|
\Assets\Images\logo.scale-200.png
|
||||||
|
\Assets\Images\logo.scale-400.png
|
||||||
|
|
||||||
|
\Assets\Images\scale-100\logo.png
|
||||||
|
\Assets\Images\scale-200\logo.png
|
||||||
|
\Assets\Images\scale-400\logo.png
|
||||||
|
```
|
||||||
|
|
||||||
|
### Table of scales
|
||||||
|
|
||||||
|
| Scale | WinUI | iOS/MacCatalyst | Android |
|
||||||
|
|-------|:-----------:|:---------------:|:-------:|
|
||||||
|
| `100` | scale-100 | @1x | mdpi |
|
||||||
|
| `125` | scale-125 | N/A | N/A |
|
||||||
|
| `150` | scale-150 | N/A | hdpi |
|
||||||
|
| `200` | scale-200 | @2x | xhdpi |
|
||||||
|
| `300` | scale-300 | @3x | xxhdpi |
|
||||||
|
| `400` | scale-400 | N/A | xxxhdpi |
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace TestApp.Business.Config
|
namespace HotelOnContainers_App.Business.Config
|
||||||
{
|
{
|
||||||
public partial record NetworkSettings
|
public partial record NetworkSettings
|
||||||
{
|
{
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
using AutoMapper;
|
using AutoMapper;
|
||||||
using DGM.HoC.CRM.API.RPC;
|
using DGM.HoC.CRM.API.RPC;
|
||||||
using Grpc.Net.Client;
|
using Grpc.Net.Client;
|
||||||
|
using HotelOnContainers_App.Business.Model;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
@@ -9,9 +10,8 @@ using System.Reflection.Metadata.Ecma335;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Channels;
|
using System.Threading.Channels;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using TestApp.Business.Model;
|
|
||||||
|
|
||||||
namespace TestApp.Business.DAO
|
namespace HotelOnContainers_App.Business.DAO
|
||||||
{
|
{
|
||||||
public class apiCRM_Service
|
public class apiCRM_Service
|
||||||
{
|
{
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
using AutoMapper;
|
using AutoMapper;
|
||||||
using Google.Protobuf.WellKnownTypes;
|
using Google.Protobuf.WellKnownTypes;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
@@ -7,7 +7,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace TestApp.Business.Mapper
|
namespace HotelOnContainers_App.Business.Mapper
|
||||||
{
|
{
|
||||||
//String -> DateTime
|
//String -> DateTime
|
||||||
public class StringToDateTimeConverter : ITypeConverter<string, DateTime>
|
public class StringToDateTimeConverter : ITypeConverter<string, DateTime>
|
||||||
@@ -1,13 +1,14 @@
|
|||||||
using AutoMapper;
|
using AutoMapper;
|
||||||
using DGM.HoC.CRM.API.RPC;
|
using DGM.HoC.CRM.API.RPC;
|
||||||
|
using HotelOnContainers_App.Business.Model;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using TestApp.Business.Model;
|
using HotelOnContainers_App.Business.Mapper;
|
||||||
|
|
||||||
namespace TestApp.Business.Mapper
|
namespace HotelOnContainers_App.Business.Mapper
|
||||||
{
|
{
|
||||||
public class apiCRM_MappingProfile : Profile
|
public class apiCRM_MappingProfile : Profile
|
||||||
{
|
{
|
||||||
@@ -1,11 +1,11 @@
|
|||||||
using CommunityToolkit.Mvvm.ComponentModel;
|
using CommunityToolkit.Mvvm.ComponentModel;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace TestApp.Business.Model
|
namespace HotelOnContainers_App.Business.Model
|
||||||
{
|
{
|
||||||
public class AddressModel : ObservableObject
|
public class AddressModel : ObservableObject
|
||||||
{
|
{
|
||||||
@@ -1,11 +1,11 @@
|
|||||||
using CommunityToolkit.Mvvm.ComponentModel;
|
using CommunityToolkit.Mvvm.ComponentModel;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace TestApp.Business.Model
|
namespace HotelOnContainers_App.Business.Model
|
||||||
{
|
{
|
||||||
public class ContactDetailsModel : ObservableObject
|
public class ContactDetailsModel : ObservableObject
|
||||||
{
|
{
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
using CommunityToolkit.Mvvm.ComponentModel;
|
using CommunityToolkit.Mvvm.ComponentModel;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
@@ -6,7 +6,7 @@ using System.Text;
|
|||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Uno.Extensions.Configuration;
|
using Uno.Extensions.Configuration;
|
||||||
|
|
||||||
namespace TestApp.Business.Model
|
namespace HotelOnContainers_App.Business.Model
|
||||||
{
|
{
|
||||||
public partial class CustomerFilterModel : ObservableObject
|
public partial class CustomerFilterModel : ObservableObject
|
||||||
{
|
{
|
||||||
@@ -1,11 +1,11 @@
|
|||||||
using CommunityToolkit.Mvvm.ComponentModel;
|
using CommunityToolkit.Mvvm.ComponentModel;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace TestApp.Business.Model
|
namespace HotelOnContainers_App.Business.Model
|
||||||
{
|
{
|
||||||
public class CustomerModel : ObservableObject
|
public class CustomerModel : ObservableObject
|
||||||
{
|
{
|
||||||
@@ -1,11 +1,11 @@
|
|||||||
using CommunityToolkit.Mvvm.ComponentModel;
|
using CommunityToolkit.Mvvm.ComponentModel;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace TestApp.Business.Model
|
namespace HotelOnContainers_App.Business.Model
|
||||||
{
|
{
|
||||||
public class NoteModel : ObservableObject
|
public class NoteModel : ObservableObject
|
||||||
{
|
{
|
||||||
@@ -51,14 +51,14 @@ namespace TestApp.Business.Model
|
|||||||
|
|
||||||
public void UpdateData(NoteModel note)
|
public void UpdateData(NoteModel note)
|
||||||
{
|
{
|
||||||
this.Id = note.id;
|
Id = note.id;
|
||||||
this.Status = note.status;
|
Status = note.status;
|
||||||
this.Data = note.data;
|
Data = note.data;
|
||||||
this.CustomerNIF = note.customerNIF;
|
CustomerNIF = note.customerNIF;
|
||||||
this.CreateTime = note.createTime;
|
CreateTime = note.createTime;
|
||||||
if(note.customer is not null)
|
if (note.customer is not null)
|
||||||
{
|
{
|
||||||
this.Customer = customer;
|
Customer = customer;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
namespace HotelOnContainers_App.Business.Models;
|
||||||
|
|
||||||
|
public record AppConfig
|
||||||
|
{
|
||||||
|
public string? Environment { get; init; }
|
||||||
|
}
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
<ContentDialog
|
<ContentDialog
|
||||||
x:Class="TestApp.Controls.ContactDetailsDialog"
|
x:Class="HotelOnContainers_App.Controls.ContactDetailsDialog"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:local="using:TestApp.Controls"
|
xmlns:local="using:HotelOnContainers_App.Controls"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
Title="TITLE"
|
Title="TITLE"
|
||||||
Style="{ThemeResource DefaultContentDialogStyle}"
|
Style="{ThemeResource DefaultContentDialogStyle}"
|
||||||
@@ -12,11 +12,11 @@ using Microsoft.UI.Xaml.Data;
|
|||||||
using Microsoft.UI.Xaml.Input;
|
using Microsoft.UI.Xaml.Input;
|
||||||
using Microsoft.UI.Xaml.Media;
|
using Microsoft.UI.Xaml.Media;
|
||||||
using Microsoft.UI.Xaml.Navigation;
|
using Microsoft.UI.Xaml.Navigation;
|
||||||
using TestApp.Business.Model;
|
using HotelOnContainers_App.Business.Model;
|
||||||
using CommunityToolkit.Mvvm.ComponentModel;
|
using CommunityToolkit.Mvvm.ComponentModel;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
|
|
||||||
namespace TestApp.Controls
|
namespace HotelOnContainers_App.Controls
|
||||||
{
|
{
|
||||||
public sealed partial class ContactDetailsDialog : ContentDialog
|
public sealed partial class ContactDetailsDialog : ContentDialog
|
||||||
{
|
{
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
<ContentDialog
|
<ContentDialog
|
||||||
x:Class="TestApp.Controls.Notes.NoteDetailsDialog"
|
x:Class="HotelOnContainers_App.Controls.Notes.NoteDetailsDialog"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:local="using:TestApp.Controls.Notes"
|
xmlns:local="using:HotelOnContainers_App.Controls.Notes"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
Style="{ThemeResource DefaultContentDialogStyle}"
|
Style="{ThemeResource DefaultContentDialogStyle}"
|
||||||
PrimaryButtonText="Save"
|
PrimaryButtonText="Save"
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
using Microsoft.UI.Xaml;
|
using HotelOnContainers_App.Business.Model;
|
||||||
|
using Microsoft.UI.Xaml;
|
||||||
using Microsoft.UI.Xaml.Controls;
|
using Microsoft.UI.Xaml.Controls;
|
||||||
using Microsoft.UI.Xaml.Controls.Primitives;
|
using Microsoft.UI.Xaml.Controls.Primitives;
|
||||||
using Microsoft.UI.Xaml.Data;
|
using Microsoft.UI.Xaml.Data;
|
||||||
@@ -10,11 +11,10 @@ using System.Collections.Generic;
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Runtime.InteropServices.WindowsRuntime;
|
using System.Runtime.InteropServices.WindowsRuntime;
|
||||||
using TestApp.Business.Model;
|
|
||||||
using Windows.Foundation;
|
using Windows.Foundation;
|
||||||
using Windows.Foundation.Collections;
|
using Windows.Foundation.Collections;
|
||||||
|
|
||||||
namespace TestApp.Controls.Notes
|
namespace HotelOnContainers_App.Controls.Notes
|
||||||
{
|
{
|
||||||
public sealed partial class NoteDetailsDialog : ContentDialog
|
public sealed partial class NoteDetailsDialog : ContentDialog
|
||||||
{
|
{
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<UserControl
|
<UserControl
|
||||||
x:Class="TestApp.Controls.NoteViewer"
|
x:Class="HotelOnContainers_App.Controls.NoteViewer"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:local="using:TestApp.Controls"
|
xmlns:local="using:HotelOnContainers_App.Controls"
|
||||||
xmlns:models="using:TestApp.Business.Model"
|
xmlns:models="using:HotelOnContainers_App.Business.Model"
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
@@ -13,16 +13,16 @@ using Microsoft.UI.Xaml.Input;
|
|||||||
using Microsoft.UI.Xaml.Media;
|
using Microsoft.UI.Xaml.Media;
|
||||||
using Microsoft.UI.Xaml.Navigation;
|
using Microsoft.UI.Xaml.Navigation;
|
||||||
using System.Collections.ObjectModel;
|
using System.Collections.ObjectModel;
|
||||||
using TestApp.Business.Model;
|
|
||||||
using CommunityToolkit.Mvvm.Input;
|
using CommunityToolkit.Mvvm.Input;
|
||||||
using CommunityToolkit.Mvvm.ComponentModel;
|
using CommunityToolkit.Mvvm.ComponentModel;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
|
using HotelOnContainers_App.Business.Model;
|
||||||
|
|
||||||
// The User Control item template is documented at https://go.microsoft.com/fwlink/?LinkId=234236
|
// The User Control item template is documented at https://go.microsoft.com/fwlink/?LinkId=234236
|
||||||
|
|
||||||
namespace TestApp.Controls
|
namespace HotelOnContainers_App.Controls
|
||||||
{
|
{
|
||||||
public sealed partial class NoteViewer : UserControl
|
public sealed partial class NoteViewer : UserControl
|
||||||
{
|
{
|
||||||
public ObservableCollection<NoteModel> NoteList
|
public ObservableCollection<NoteModel> NoteList
|
||||||
{
|
{
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
global using System.Collections.Immutable;
|
||||||
|
global using System.Windows.Input;
|
||||||
|
global using Microsoft.Extensions.DependencyInjection;
|
||||||
|
global using Windows.Networking.Connectivity;
|
||||||
|
global using Windows.Storage;
|
||||||
|
global using Microsoft.Extensions.Hosting;
|
||||||
|
global using Microsoft.Extensions.Localization;
|
||||||
|
global using Microsoft.Extensions.Logging;
|
||||||
|
global using Microsoft.UI.Xaml;
|
||||||
|
global using Microsoft.UI.Xaml.Controls;
|
||||||
|
global using Microsoft.UI.Xaml.Media;
|
||||||
|
global using Microsoft.UI.Xaml.Navigation;
|
||||||
|
global using Microsoft.Extensions.Options;
|
||||||
|
global using HotelOnContainers_App.Business.Models;
|
||||||
|
global using Uno.UI;
|
||||||
|
global using Windows.ApplicationModel;
|
||||||
|
global using ApplicationExecutionState = Windows.ApplicationModel.Activation.ApplicationExecutionState;
|
||||||
|
global using CommunityToolkit.Mvvm.ComponentModel;
|
||||||
|
global using CommunityToolkit.Mvvm.Input;
|
||||||
@@ -0,0 +1,70 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows')) or '$(EnableWindowsTargeting)' == 'true'">$(TargetFrameworks);$(DotNetVersion)-windows10.0.19041</TargetFrameworks>
|
||||||
|
<TargetFrameworks>$(TargetFrameworks);$(DotNetVersion);$(DotNetVersion)-android;$(DotNetVersion)-ios</TargetFrameworks>
|
||||||
|
<TargetFrameworks Condition="'$(OverrideTargetFramework)'!=''">$(OverrideTargetFramework)</TargetFrameworks>
|
||||||
|
|
||||||
|
<!-- Ensures the .xr.xml files are generated in a proper layout folder -->
|
||||||
|
<GenerateLibraryLayout>true</GenerateLibraryLayout>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="Uno.WinUI" />
|
||||||
|
<PackageReference Include="Uno.Resizetizer" />
|
||||||
|
<PackageReference Include="CommunityToolkit.Mvvm" />
|
||||||
|
<PackageReference Include="Uno.Extensions.Configuration" />
|
||||||
|
<PackageReference Include="Uno.Extensions.Logging.WinUI" />
|
||||||
|
<PackageReference Include="Uno.Toolkit.WinUI" />
|
||||||
|
<PackageReference Include="Uno.Extensions.Hosting.WinUI" />
|
||||||
|
<PackageReference Include="Uno.Extensions.Localization.WinUI" />
|
||||||
|
<PackageReference Include="Microsoft.Extensions.Logging.Console" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
|
||||||
|
<Choose>
|
||||||
|
<When Condition="$(IsWinAppSdk)">
|
||||||
|
<PropertyGroup>
|
||||||
|
<!--
|
||||||
|
If you encounter this error message:
|
||||||
|
|
||||||
|
error NETSDK1148: A referenced assembly was compiled using a newer version of Microsoft.Windows.SDK.NET.dll.
|
||||||
|
Please update to a newer .NET SDK in order to reference this assembly.
|
||||||
|
|
||||||
|
This means that the two packages below must be aligned with the "build" version number of
|
||||||
|
the "Microsoft.Windows.SDK.BuildTools" package above, and the "revision" version number
|
||||||
|
must be the highest found in https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref.
|
||||||
|
-->
|
||||||
|
<!-- <WindowsSdkPackageVersion>10.0.22621.28</WindowsSdkPackageVersion> -->
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="Microsoft.WindowsAppSDK" />
|
||||||
|
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" />
|
||||||
|
</ItemGroup>
|
||||||
|
</When>
|
||||||
|
<Otherwise>
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="Uno.WinUI.Lottie" />
|
||||||
|
<PackageReference Include="Uno.WinUI.DevServer" Condition="'$(Configuration)'=='Debug'" />
|
||||||
|
|
||||||
|
<!-- Include all images by default - matches the __WindowsAppSdkDefaultImageIncludes property in the WindowsAppSDK -->
|
||||||
|
<Content Include="Assets\**;**/*.png;**/*.bmp;**/*.jpg;**/*.dds;**/*.tif;**/*.tga;**/*.gif" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder);**\*.svg" />
|
||||||
|
<Page Include="**\*.xaml" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" />
|
||||||
|
<Compile Update="**\*.xaml.cs">
|
||||||
|
<DependentUpon>%(Filename)</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<PRIResource Include="**\*.resw" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" />
|
||||||
|
</ItemGroup>
|
||||||
|
</Otherwise>
|
||||||
|
</Choose>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<UnoImage Include="Assets\**\*.svg" />
|
||||||
|
<EmbeddedResource Include="appsettings.json" />
|
||||||
|
<EmbeddedResource Include="appsettings.*.json" DependentUpon="appsettings.json" />
|
||||||
|
<UpToDateCheckInput Include="**\*.xaml" Exclude="bin\**\*.xaml;obj\**\*.xaml" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\..\HotelOnContainers.Data\HotelOnContainers.Data.csproj" />
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
<Page x:Class="HotelOnContainers_App.MainPage"
|
||||||
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
|
xmlns:local="using:HotelOnContainers_App.Pages"
|
||||||
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
|
mc:Ignorable="d"
|
||||||
|
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
|
||||||
|
|
||||||
|
<NavigationView x:Name="NavView"
|
||||||
|
ItemInvoked="NavView_ItemInvoked"
|
||||||
|
AlwaysShowHeader="False">
|
||||||
|
<NavigationView.MenuItems>
|
||||||
|
<NavigationViewItem Icon="Home" Content="Home" Tag="HotelOnContainers_App.Pages.HomePage" />
|
||||||
|
<NavigationViewItem Icon="Contact2" Content="Clientes" Tag="HotelOnContainers_App.Pages.CustomerListPage" />
|
||||||
|
<NavigationViewItem Icon="Account" Content="Detalles Cliente" Tag="HotelOnContainers_App.Pages.CustomerDetailsPage" />
|
||||||
|
<NavigationViewItem x:Name="navItem_DevTests" Icon="ContactInfo" Content="Test" Tag="HotelOnContainers_App.Pages.TestPage" />
|
||||||
|
</NavigationView.MenuItems>
|
||||||
|
<Frame x:Name="ContentFrame" Navigated="ContentFrame_Navigated" Padding="0,0,0,0"/>
|
||||||
|
</NavigationView>
|
||||||
|
</Page>
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
using Microsoft.Extensions.Configuration;
|
using Microsoft.Extensions.Configuration;
|
||||||
using Microsoft.UI.Xaml.Media.Animation;
|
using Microsoft.UI.Xaml.Media.Animation;
|
||||||
|
|
||||||
namespace TestApp
|
namespace HotelOnContainers_App
|
||||||
{
|
{
|
||||||
public sealed partial class MainPage : Page
|
public sealed partial class MainPage : Microsoft.UI.Xaml.Controls.Page
|
||||||
{
|
{
|
||||||
public MainPage()
|
public MainPage()
|
||||||
{
|
{
|
||||||
@@ -18,7 +18,7 @@ namespace TestApp
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
private void NavView_ItemInvoked(NavigationView sender,
|
public void NavView_ItemInvoked(NavigationView sender,
|
||||||
NavigationViewItemInvokedEventArgs args)
|
NavigationViewItemInvokedEventArgs args)
|
||||||
{
|
{
|
||||||
if (args.IsSettingsInvoked == true)
|
if (args.IsSettingsInvoked == true)
|
||||||
@@ -31,7 +31,7 @@ namespace TestApp
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void ContentFrame_Navigated(object sender, NavigationEventArgs e)
|
public void ContentFrame_Navigated(object sender, NavigationEventArgs e)
|
||||||
{
|
{
|
||||||
NavView.IsBackEnabled = ContentFrame.CanGoBack;
|
NavView.IsBackEnabled = ContentFrame.CanGoBack;
|
||||||
|
|
||||||
@@ -77,4 +77,4 @@ namespace TestApp
|
|||||||
navItem_DevTests.Visibility = Visibility.Collapsed;
|
navItem_DevTests.Visibility = Visibility.Collapsed;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,12 +1,12 @@
|
|||||||
<Page
|
<Page
|
||||||
x:Class="TestApp.Pages.CustomerDetailsPage"
|
x:Class="HotelOnContainers_App.Pages.CustomerDetailsPage"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:local="using:TestApp.Pages"
|
xmlns:local="using:HotelOnContainers_App.Pages"
|
||||||
xmlns:model="using:TestApp.Business.Model"
|
xmlns:model="using:HotelOnContainers_App.Business.Model"
|
||||||
xmlns:controls="using:TestApp.Controls"
|
xmlns:controls="using:HotelOnContainers_App.Controls"
|
||||||
xmlns:converters="using:CommunityToolkit.WinUI.UI.Converters"
|
xmlns:converters="using:CommunityToolkit.WinUI.Converters"
|
||||||
xmlns:myconverters="using:TestApp.Utils.Converters"
|
xmlns:myconverters="using:HotelOnContainers_App.Utils.Converters"
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
using Grpc.Core;
|
using Grpc.Core;
|
||||||
|
using HotelOnContainers_App;
|
||||||
using Microsoft.UI.Xaml;
|
using Microsoft.UI.Xaml;
|
||||||
using Microsoft.UI.Xaml.Controls;
|
using Microsoft.UI.Xaml.Controls;
|
||||||
using Microsoft.UI.Xaml.Controls.Primitives;
|
using Microsoft.UI.Xaml.Controls.Primitives;
|
||||||
@@ -11,15 +12,15 @@ using System.Collections.Generic;
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Runtime.InteropServices.WindowsRuntime;
|
using System.Runtime.InteropServices.WindowsRuntime;
|
||||||
using TestApp.Business.Model;
|
using HotelOnContainers_App.Business.Model;
|
||||||
using TestApp.Controls;
|
using HotelOnContainers_App.Controls;
|
||||||
using TestApp.Controls.Notes;
|
using HotelOnContainers_App.Controls.Notes;
|
||||||
using TestApp.ViewModels;
|
using HotelOnContainers_App.ViewModels;
|
||||||
using Windows.Foundation;
|
using Windows.Foundation;
|
||||||
using Windows.Foundation.Collections;
|
using Windows.Foundation.Collections;
|
||||||
|
|
||||||
|
|
||||||
namespace TestApp.Pages
|
namespace HotelOnContainers_App.Pages
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// An empty page that can be used on its own or navigated to within a Frame.
|
/// An empty page that can be used on its own or navigated to within a Frame.
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<Page
|
<Page
|
||||||
x:Class="TestApp.Pages.CustomerListPage"
|
x:Class="HotelOnContainers_App.Pages.CustomerListPage"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:local="using:TestApp.Pages"
|
xmlns:local="using:HotelOnContainers_App.Pages"
|
||||||
xmlns:model="using:TestApp.Business.Model"
|
xmlns:model="using:HotelOnContainers_App.Business.Model"
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
using Microsoft.UI.Xaml;
|
using HotelOnContainers_App;
|
||||||
|
using Microsoft.UI.Xaml;
|
||||||
using Microsoft.UI.Xaml.Controls;
|
using Microsoft.UI.Xaml.Controls;
|
||||||
using Microsoft.UI.Xaml.Controls.Primitives;
|
using Microsoft.UI.Xaml.Controls.Primitives;
|
||||||
using Microsoft.UI.Xaml.Data;
|
using Microsoft.UI.Xaml.Data;
|
||||||
@@ -10,13 +11,13 @@ using System.Collections.Generic;
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Runtime.InteropServices.WindowsRuntime;
|
using System.Runtime.InteropServices.WindowsRuntime;
|
||||||
using TestApp.ViewModels;
|
using HotelOnContainers_App.ViewModels;
|
||||||
using Windows.Foundation;
|
using Windows.Foundation;
|
||||||
using Windows.Foundation.Collections;
|
using Windows.Foundation.Collections;
|
||||||
|
|
||||||
// The Blank Page item template is documented at https://go.microsoft.com/fwlink/?LinkId=234238
|
// The Blank Page item template is documented at https://go.microsoft.com/fwlink/?LinkId=234238
|
||||||
|
|
||||||
namespace TestApp.Pages
|
namespace HotelOnContainers_App.Pages
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// An empty page that can be used on its own or navigated to within a Frame.
|
/// An empty page that can be used on its own or navigated to within a Frame.
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
<Page
|
<Page
|
||||||
x:Class="TestApp.Pages.HomePage"
|
x:Class="HotelOnContainers_App.Pages.HomePage"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:local="using:TestApp.Pages"
|
xmlns:local="using:HotelOnContainers_App.Pages"
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
@@ -14,7 +14,7 @@ using Windows.Foundation;
|
|||||||
using Windows.Foundation.Collections;
|
using Windows.Foundation.Collections;
|
||||||
|
|
||||||
|
|
||||||
namespace TestApp.Pages
|
namespace HotelOnContainers_App.Pages
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// An empty page that can be used on its own or navigated to within a Frame.
|
/// An empty page that can be used on its own or navigated to within a Frame.
|
||||||
@@ -1,11 +1,10 @@
|
|||||||
<Page
|
<Page
|
||||||
x:Class="TestApp.Pages.SettingsPage"
|
x:Class="HotelOnContainers_App.Pages.SettingsPage"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:local="using:TestApp.Pages"
|
xmlns:local="using:HotelOnContainers_App.Pages"
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
xmlns:toolkit="using:CommunityToolkit.WinUI.UI.Controls"
|
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
|
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
|
||||||
|
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
using Microsoft.Extensions.Configuration;
|
using HotelOnContainers_App;
|
||||||
|
using Microsoft.Extensions.Configuration;
|
||||||
using Microsoft.UI.Xaml;
|
using Microsoft.UI.Xaml;
|
||||||
using Microsoft.UI.Xaml.Controls;
|
using Microsoft.UI.Xaml.Controls;
|
||||||
using Microsoft.UI.Xaml.Controls.Primitives;
|
using Microsoft.UI.Xaml.Controls.Primitives;
|
||||||
@@ -11,13 +12,13 @@ using System.Collections.Generic;
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Runtime.InteropServices.WindowsRuntime;
|
using System.Runtime.InteropServices.WindowsRuntime;
|
||||||
using TestApp.ViewModels;
|
using HotelOnContainers_App.ViewModels;
|
||||||
using Windows.Foundation;
|
using Windows.Foundation;
|
||||||
using Windows.Foundation.Collections;
|
using Windows.Foundation.Collections;
|
||||||
|
|
||||||
// The Blank Page item template is documented at https://go.microsoft.com/fwlink/?LinkId=234238
|
// The Blank Page item template is documented at https://go.microsoft.com/fwlink/?LinkId=234238
|
||||||
|
|
||||||
namespace TestApp.Pages
|
namespace HotelOnContainers_App.Pages
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// An empty page that can be used on its own or navigated to within a Frame.
|
/// An empty page that can be used on its own or navigated to within a Frame.
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
<Page
|
<Page
|
||||||
x:Class="TestApp.Pages.TestPage"
|
x:Class="HotelOnContainers_App.Pages.TestPage"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:local="using:TestApp.Pages"
|
xmlns:local="using:HotelOnContainers_App.Pages"
|
||||||
xmlns:models="using:TestApp.Business.Model"
|
xmlns:models="using:HotelOnContainers_App.Business.Model"
|
||||||
xmlns:controls="using:TestApp.Controls"
|
xmlns:controls="using:HotelOnContainers_App.Controls"
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
@@ -12,19 +12,19 @@ using Microsoft.UI.Xaml.Data;
|
|||||||
using Microsoft.UI.Xaml.Input;
|
using Microsoft.UI.Xaml.Input;
|
||||||
using Microsoft.UI.Xaml.Media;
|
using Microsoft.UI.Xaml.Media;
|
||||||
using Microsoft.UI.Xaml.Navigation;
|
using Microsoft.UI.Xaml.Navigation;
|
||||||
using TestApp.Controls.Notes;
|
using HotelOnContainers_App.Controls.Notes;
|
||||||
using System.Collections.ObjectModel;
|
using System.Collections.ObjectModel;
|
||||||
using TestApp.Business.Model;
|
|
||||||
using Uno.Extensions;
|
using Uno.Extensions;
|
||||||
|
using HotelOnContainers_App.Business.Model;
|
||||||
|
|
||||||
// The Blank Page item template is documented at https://go.microsoft.com/fwlink/?LinkId=234238
|
// The Blank Page item template is documented at https://go.microsoft.com/fwlink/?LinkId=234238
|
||||||
|
|
||||||
namespace TestApp.Pages
|
namespace HotelOnContainers_App.Pages
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// An empty page that can be used on its own or navigated to within a Frame.
|
/// An empty page that can be used on its own or navigated to within a Frame.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public sealed partial class TestPage : Page
|
public sealed partial class TestPage : Page
|
||||||
{
|
{
|
||||||
public ObservableCollection<NoteModel> NoteList;
|
public ObservableCollection<NoteModel> NoteList;
|
||||||
|
|
||||||
@@ -0,0 +1,123 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<data name="ApplicationName" xml:space="preserve">
|
||||||
|
<value>HotelOnContainers_App-ar</value>
|
||||||
|
</data>
|
||||||
|
</root>
|
||||||
@@ -118,7 +118,7 @@
|
|||||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<data name="ApplicationName" xml:space="preserve">
|
<data name="ApplicationName" xml:space="preserve">
|
||||||
<value>TestApp-en</value>
|
<value>HotelOnContainers_App.en</value>
|
||||||
<comment>App Name</comment>
|
<comment>App Name</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="generalBtSave.Content" xml:space="preserve">
|
<data name="generalBtSave.Content" xml:space="preserve">
|
||||||
@@ -1,11 +1,11 @@
|
|||||||
using CommunityToolkit.WinUI.UI.Converters;
|
using CommunityToolkit.WinUI.Converters;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace TestApp.Utils.Converters
|
namespace HotelOnContainers_App.Utils.Converters
|
||||||
{
|
{
|
||||||
class InvBoolToVisibilityConverter : BoolToObjectConverter
|
class InvBoolToVisibilityConverter : BoolToObjectConverter
|
||||||
{
|
{
|
||||||
@@ -1,14 +1,14 @@
|
|||||||
using CommunityToolkit.Mvvm.ComponentModel;
|
using CommunityToolkit.Mvvm.ComponentModel;
|
||||||
|
using HotelOnContainers_App.Business.Config;
|
||||||
using Microsoft.Extensions.Configuration;
|
using Microsoft.Extensions.Configuration;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using TestApp.Business.Config;
|
|
||||||
using Uno.Extensions.Configuration;
|
using Uno.Extensions.Configuration;
|
||||||
|
|
||||||
namespace TestApp.ViewModels
|
namespace HotelOnContainers_App.ViewModels
|
||||||
{
|
{
|
||||||
public partial class AppSettingsViewModel : ObservableObject
|
public partial class AppSettingsViewModel : ObservableObject
|
||||||
{
|
{
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
using CommunityToolkit.Mvvm.ComponentModel;
|
using CommunityToolkit.Mvvm.ComponentModel;
|
||||||
|
using HotelOnContainers_App.Business.Model;
|
||||||
using Microsoft.UI.Xaml.Controls.Primitives;
|
using Microsoft.UI.Xaml.Controls.Primitives;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
@@ -6,11 +7,10 @@ using System.Collections.ObjectModel;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using TestApp.Business.DAO;
|
using HotelOnContainers_App.Business.DAO;
|
||||||
using TestApp.Business.Model;
|
|
||||||
using Uno.Extensions;
|
using Uno.Extensions;
|
||||||
|
|
||||||
namespace TestApp.ViewModels
|
namespace HotelOnContainers_App.ViewModels
|
||||||
{
|
{
|
||||||
public partial class CustomerDetailsViewModel : ObservableObject
|
public partial class CustomerDetailsViewModel : ObservableObject
|
||||||
{
|
{
|
||||||
@@ -6,11 +6,11 @@ using System.Collections.ObjectModel;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using TestApp.Business.DAO;
|
using HotelOnContainers_App.Business.DAO;
|
||||||
using TestApp.Business.Model;
|
using HotelOnContainers_App.Business.Model;
|
||||||
using Uno.Extensions;
|
using Uno.Extensions;
|
||||||
|
|
||||||
namespace TestApp.ViewModels
|
namespace HotelOnContainers_App.ViewModels
|
||||||
{
|
{
|
||||||
public class CustomerListViewModel : ObservableObject
|
public class CustomerListViewModel : ObservableObject
|
||||||
{
|
{
|
||||||
@@ -4,11 +4,11 @@ using System.Collections.ObjectModel;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using TestApp.Business.DAO;
|
using HotelOnContainers_App.Business.Model;
|
||||||
using TestApp.Business.Model;
|
using HotelOnContainers_App.Business.DAO;
|
||||||
using Uno.Extensions;
|
using Uno.Extensions;
|
||||||
|
|
||||||
namespace TestApp.ViewModels
|
namespace HotelOnContainers_App.ViewModels
|
||||||
{
|
{
|
||||||
internal class CustomerNoteListViewModel
|
internal class CustomerNoteListViewModel
|
||||||
{
|
{
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"AppConfig": {
|
||||||
|
"Environment": "Development"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"AppConfig": {
|
||||||
|
"Environment": "Production"
|
||||||
|
},
|
||||||
|
"LocalizationConfiguration": {
|
||||||
|
"Cultures": [
|
||||||
|
"ar",
|
||||||
|
"en"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
<Project>
|
||||||
|
<!--
|
||||||
|
This file is used to control the platforms compiled by Visual Studio, and allow for a faster
|
||||||
|
build when testing for a single platform. This will also result in better intellisense, as
|
||||||
|
the compiler will only load the assemblies for the platform that is being built. You do not
|
||||||
|
need to use this when compiling from Visual Studio Code, the command line or other IDEs.
|
||||||
|
|
||||||
|
Instructions:
|
||||||
|
1) Copy this file and remove the ".sample" name
|
||||||
|
2) Uncomment the single property below for the target you want to build
|
||||||
|
3) Make sure to do a Rebuild, so that nuget restores the proper packages for the new target
|
||||||
|
|
||||||
|
Notes:
|
||||||
|
- You may optionally close the solution before making changes and reload the solution afterwards. This will avoid Visual Studio
|
||||||
|
asking you to reload any projects, it will also ensure that the changes are picked up by Visual Studio, and trigger a restore of
|
||||||
|
the packages.
|
||||||
|
- You may want to unload the platform heads that you are not going to build for. This will ensure that Visual Studio does not
|
||||||
|
try to build them, and will speed up the build process.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<!-- Uncomment each line for each platform that you want to build: -->
|
||||||
|
|
||||||
|
<!-- <OverrideTargetFramework Condition="''!='hint: Windows App Sdk (WinUI)'">$(DotNetVersion)-windows10.0.19041.0</OverrideTargetFramework> -->
|
||||||
|
<!-- <OverrideTargetFramework Condition="''!='hint: WASM, Skia'">$(DotNetVersion)</OverrideTargetFramework> -->
|
||||||
|
<!-- <OverrideTargetFramework Condition="''!='hint: iOS'">$(DotNetVersion)-ios</OverrideTargetFramework> -->
|
||||||
|
<!-- <OverrideTargetFramework Condition="''!='hint: Android'">$(DotNetVersion)-android</OverrideTargetFramework> -->
|
||||||
|
<!-- <OverrideTargetFramework Condition="''!='hint: MacCatalyst'">$(DotNetVersion)-maccatalyst</OverrideTargetFramework> -->
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
||||||
@@ -1,53 +0,0 @@
|
|||||||
{
|
|
||||||
// Use IntelliSense to find out which attributes exist for C# debugging
|
|
||||||
// Use hover for the description of the existing attributes
|
|
||||||
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
|
|
||||||
"version": "0.2.0",
|
|
||||||
"configurations": [
|
|
||||||
{
|
|
||||||
// Use IntelliSense to find out which attributes exist for C# debugging
|
|
||||||
// Use hover for the description of the existing attributes
|
|
||||||
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
|
|
||||||
"name": "Debug (Chrome, WebAssembly)",
|
|
||||||
"type": "chrome",
|
|
||||||
"request": "launch",
|
|
||||||
"url": "http://localhost:5000",
|
|
||||||
"webRoot": "${workspaceFolder}/TestApp.Wasm",
|
|
||||||
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
|
|
||||||
"timeout": 30000,
|
|
||||||
"server": {
|
|
||||||
"runtimeExecutable": "dotnet",
|
|
||||||
"program": "run",
|
|
||||||
"outputCapture": "std",
|
|
||||||
"timeout": 30000,
|
|
||||||
"cwd": "${workspaceFolder}/TestApp.Wasm"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
// Use IntelliSense to find out which attributes exist for C# debugging
|
|
||||||
// Use hover for the description of the existing attributes
|
|
||||||
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
|
|
||||||
"name": "Skia.GTK (Debug)",
|
|
||||||
"type": "coreclr",
|
|
||||||
"request": "launch",
|
|
||||||
"preLaunchTask": "build-skia-gtk",
|
|
||||||
// If you have changed target frameworks, make sure to update the program path.
|
|
||||||
"program": "${workspaceFolder}/TestApp.Skia.Gtk/bin/Debug/net7.0/TestApp.Skia.Gtk.dll",
|
|
||||||
"args": [],
|
|
||||||
"env": {
|
|
||||||
"DOTNET_MODIFIABLE_ASSEMBLIES": "debug"
|
|
||||||
},
|
|
||||||
"cwd": "${workspaceFolder}/TestApp.Skia.Gtk",
|
|
||||||
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
|
|
||||||
"console": "internalConsole",
|
|
||||||
"stopAtEntry": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Uno Platform Mobile",
|
|
||||||
"type": "Uno",
|
|
||||||
"request": "launch",
|
|
||||||
// any Uno* task will do, this is simply to satisfy vscode requirement when a launch.json is present
|
|
||||||
"preLaunchTask": "Uno: android | Debug | android-x64"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
{
|
|
||||||
"explorer.fileNesting.enabled": true,
|
|
||||||
"explorer.fileNesting.expand": false,
|
|
||||||
"explorer.fileNesting.patterns": {
|
|
||||||
"*.xaml": "$(capture).xaml.cs"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,53 +0,0 @@
|
|||||||
{
|
|
||||||
"version": "2.0.0",
|
|
||||||
"tasks": [
|
|
||||||
{
|
|
||||||
"label": "build-wasm",
|
|
||||||
"command": "dotnet",
|
|
||||||
"type": "process",
|
|
||||||
"args": [
|
|
||||||
"build",
|
|
||||||
"${workspaceFolder}/TestApp.Wasm/TestApp.Wasm.csproj",
|
|
||||||
"/property:GenerateFullPaths=true",
|
|
||||||
"/consoleloggerparameters:NoSummary"
|
|
||||||
],
|
|
||||||
"problemMatcher": "$msCompile"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "publish-wasm",
|
|
||||||
"command": "dotnet",
|
|
||||||
"type": "process",
|
|
||||||
"args": [
|
|
||||||
"publish",
|
|
||||||
"${workspaceFolder}/TestApp.Wasm/TestApp.Wasm.csproj",
|
|
||||||
"/property:GenerateFullPaths=true",
|
|
||||||
"/consoleloggerparameters:NoSummary"
|
|
||||||
],
|
|
||||||
"problemMatcher": "$msCompile"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "build-skia-gtk",
|
|
||||||
"command": "dotnet",
|
|
||||||
"type": "process",
|
|
||||||
"args": [
|
|
||||||
"build",
|
|
||||||
"${workspaceFolder}/TestApp.Skia.Gtk/TestApp.Skia.Gtk.csproj",
|
|
||||||
"/property:GenerateFullPaths=true",
|
|
||||||
"/consoleloggerparameters:NoSummary"
|
|
||||||
],
|
|
||||||
"problemMatcher": "$msCompile"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "publish-skia-gtk",
|
|
||||||
"command": "dotnet",
|
|
||||||
"type": "process",
|
|
||||||
"args": [
|
|
||||||
"publish",
|
|
||||||
"${workspaceFolder}/TestApp.Skia.Gtk/TestApp.Skia.Gtk.csproj",
|
|
||||||
"/property:GenerateFullPaths=true",
|
|
||||||
"/consoleloggerparameters:NoSummary"
|
|
||||||
],
|
|
||||||
"problemMatcher": "$msCompile"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -1,59 +0,0 @@
|
|||||||
<Project ToolsVersion="15.0">
|
|
||||||
<PropertyGroup>
|
|
||||||
<LangVersion>11</LangVersion>
|
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
|
||||||
<Nullable>enable</Nullable>
|
|
||||||
|
|
||||||
<DebugType>portable</DebugType>
|
|
||||||
<DebugSymbols>True</DebugSymbols>
|
|
||||||
<SynthesizeLinkMetadata>true</SynthesizeLinkMetadata>
|
|
||||||
|
|
||||||
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
|
|
||||||
<NoWarn>$(NoWarn);Uno0001;CS1998;CA1416;NU1507</NoWarn>
|
|
||||||
|
|
||||||
<DefaultLanguage>en</DefaultLanguage>
|
|
||||||
|
|
||||||
<IsAndroid>false</IsAndroid>
|
|
||||||
<IsIOS>false</IsIOS>
|
|
||||||
<IsMac>false</IsMac>
|
|
||||||
<IsMacCatalyst>false</IsMacCatalyst>
|
|
||||||
<IsWinAppSdk>false</IsWinAppSdk>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<Choose>
|
|
||||||
<When Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">
|
|
||||||
<PropertyGroup>
|
|
||||||
<IsAndroid>true</IsAndroid>
|
|
||||||
<SupportedOSPlatformVersion>21.0</SupportedOSPlatformVersion>
|
|
||||||
</PropertyGroup>
|
|
||||||
</When>
|
|
||||||
<When Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">
|
|
||||||
<PropertyGroup>
|
|
||||||
<IsIOS>true</IsIOS>
|
|
||||||
<SupportedOSPlatformVersion>14.2</SupportedOSPlatformVersion>
|
|
||||||
<RuntimeIdentifier Condition="'$(RuntimeIdentifier)'==''">iossimulator-x64</RuntimeIdentifier>
|
|
||||||
</PropertyGroup>
|
|
||||||
</When>
|
|
||||||
<When Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'macos'">
|
|
||||||
<PropertyGroup>
|
|
||||||
<IsMac>true</IsMac>
|
|
||||||
<SupportedOSPlatformVersion>10.14</SupportedOSPlatformVersion>
|
|
||||||
<RuntimeIdentifier Condition="'$(RuntimeIdentifier)'==''">osx-x64</RuntimeIdentifier>
|
|
||||||
</PropertyGroup>
|
|
||||||
</When>
|
|
||||||
<When Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">
|
|
||||||
<PropertyGroup>
|
|
||||||
<IsMacCatalyst>true</IsMacCatalyst>
|
|
||||||
<SupportedOSPlatformVersion>14.0</SupportedOSPlatformVersion>
|
|
||||||
<RuntimeIdentifier Condition="'$(RuntimeIdentifier)'==''">maccatalyst-x64</RuntimeIdentifier>
|
|
||||||
</PropertyGroup>
|
|
||||||
</When>
|
|
||||||
<When Condition="$(TargetFramework.Contains('windows10'))">
|
|
||||||
<PropertyGroup>
|
|
||||||
<IsWinAppSdk>true</IsWinAppSdk>
|
|
||||||
<SupportedOSPlatformVersion>10.0.18362.0</SupportedOSPlatformVersion>
|
|
||||||
<TargetPlatformMinVersion>10.0.18362.0</TargetPlatformMinVersion>
|
|
||||||
</PropertyGroup>
|
|
||||||
</When>
|
|
||||||
</Choose>
|
|
||||||
</Project>
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
<Project ToolsVersion="15.0">
|
|
||||||
</Project>
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
<local:App x:Class="TestApp.AppHead"
|
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
||||||
xmlns:wasm="http://platform.uno/wasm"
|
|
||||||
xmlns:local="using:TestApp"
|
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
||||||
mc:Ignorable="wasm">
|
|
||||||
|
|
||||||
<local:App.Resources>
|
|
||||||
<ResourceDictionary>
|
|
||||||
<ResourceDictionary.MergedDictionaries>
|
|
||||||
<ResourceDictionary Source="ms-appx:///TestApp/AppResources.xaml" />
|
|
||||||
</ResourceDictionary.MergedDictionaries>
|
|
||||||
</ResourceDictionary>
|
|
||||||
</local:App.Resources>
|
|
||||||
|
|
||||||
</local:App>
|
|
||||||
@@ -1,90 +0,0 @@
|
|||||||
using Microsoft.Extensions.Logging;
|
|
||||||
using Microsoft.UI.Xaml;
|
|
||||||
using System;
|
|
||||||
|
|
||||||
namespace TestApp
|
|
||||||
{
|
|
||||||
public sealed partial class AppHead : App
|
|
||||||
{
|
|
||||||
static AppHead() =>
|
|
||||||
InitializeLogging();
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Initializes the singleton application object. This is the first line of authored code
|
|
||||||
/// executed, and as such is the logical equivalent of main() or WinMain().
|
|
||||||
/// </summary>
|
|
||||||
public AppHead()
|
|
||||||
{
|
|
||||||
this.InitializeComponent();
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Configures global Uno Platform logging
|
|
||||||
/// </summary>
|
|
||||||
private static void InitializeLogging()
|
|
||||||
{
|
|
||||||
#if DEBUG
|
|
||||||
// Logging is disabled by default for release builds, as it incurs a significant
|
|
||||||
// initialization cost from Microsoft.Extensions.Logging setup. If startup performance
|
|
||||||
// is a concern for your application, keep this disabled. If you're running on the web or
|
|
||||||
// desktop targets, you can use URL or command line parameters to enable it.
|
|
||||||
//
|
|
||||||
// For more performance documentation: https://platform.uno/docs/articles/Uno-UI-Performance.html
|
|
||||||
|
|
||||||
var factory = LoggerFactory.Create(builder =>
|
|
||||||
{
|
|
||||||
#if __WASM__
|
|
||||||
builder.AddProvider(new global::Uno.Extensions.Logging.WebAssembly.WebAssemblyConsoleLoggerProvider());
|
|
||||||
#elif __IOS__ || __MACCATALYST__
|
|
||||||
builder.AddProvider(new global::Uno.Extensions.Logging.OSLogLoggerProvider());
|
|
||||||
#elif NETFX_CORE
|
|
||||||
builder.AddDebug();
|
|
||||||
#else
|
|
||||||
builder.AddConsole();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Exclude logs below this level
|
|
||||||
builder.SetMinimumLevel(LogLevel.Information);
|
|
||||||
|
|
||||||
// Default filters for Uno Platform namespaces
|
|
||||||
builder.AddFilter("Uno", LogLevel.Warning);
|
|
||||||
builder.AddFilter("Windows", LogLevel.Warning);
|
|
||||||
builder.AddFilter("Microsoft", LogLevel.Warning);
|
|
||||||
|
|
||||||
// Generic Xaml events
|
|
||||||
// builder.AddFilter("Microsoft.UI.Xaml", LogLevel.Debug );
|
|
||||||
// builder.AddFilter("Microsoft.UI.Xaml.VisualStateGroup", LogLevel.Debug );
|
|
||||||
// builder.AddFilter("Microsoft.UI.Xaml.StateTriggerBase", LogLevel.Debug );
|
|
||||||
// builder.AddFilter("Microsoft.UI.Xaml.UIElement", LogLevel.Debug );
|
|
||||||
// builder.AddFilter("Microsoft.UI.Xaml.FrameworkElement", LogLevel.Trace );
|
|
||||||
|
|
||||||
// Layouter specific messages
|
|
||||||
// builder.AddFilter("Microsoft.UI.Xaml.Controls", LogLevel.Debug );
|
|
||||||
// builder.AddFilter("Microsoft.UI.Xaml.Controls.Layouter", LogLevel.Debug );
|
|
||||||
// builder.AddFilter("Microsoft.UI.Xaml.Controls.Panel", LogLevel.Debug );
|
|
||||||
|
|
||||||
// builder.AddFilter("Windows.Storage", LogLevel.Debug );
|
|
||||||
|
|
||||||
// Binding related messages
|
|
||||||
// builder.AddFilter("Microsoft.UI.Xaml.Data", LogLevel.Debug );
|
|
||||||
// builder.AddFilter("Microsoft.UI.Xaml.Data", LogLevel.Debug );
|
|
||||||
|
|
||||||
// Binder memory references tracking
|
|
||||||
// builder.AddFilter("Uno.UI.DataBinding.BinderReferenceHolder", LogLevel.Debug );
|
|
||||||
|
|
||||||
// RemoteControl and HotReload related
|
|
||||||
// builder.AddFilter("Uno.UI.RemoteControl", LogLevel.Information);
|
|
||||||
|
|
||||||
// Debug JS interop
|
|
||||||
// builder.AddFilter("Uno.Foundation.WebAssemblyRuntime", LogLevel.Debug );
|
|
||||||
});
|
|
||||||
|
|
||||||
global::Uno.Extensions.LogExtensionPoint.AmbientLoggerFactory = factory;
|
|
||||||
|
|
||||||
#if HAS_UNO
|
|
||||||
global::Uno.UI.Adapter.Microsoft.Extensions.Logging.LoggingAdapter.Initialize();
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
<Project>
|
|
||||||
<ItemGroup>
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<None Include="$(MSBuildThisFileDirectory)AppHead.xaml" />
|
|
||||||
<ApplicationDefinition Include="$(MSBuildThisFileDirectory)AppHead.xaml"
|
|
||||||
SubType="Designer"
|
|
||||||
XamlRuntime="WinUI"
|
|
||||||
Generator="MSBuild:Compile"
|
|
||||||
Link="AppHead.xaml" />
|
|
||||||
<Compile Include="$(MSBuildThisFileDirectory)AppHead.xaml.cs"
|
|
||||||
XamlRuntime="WinUI"
|
|
||||||
DependentUpon="AppHead.xaml"
|
|
||||||
Link="AppHead.xaml.cs" />
|
|
||||||
<UnoIcon Include="$(MSBuildThisFileDirectory)Icons\iconapp.svg"
|
|
||||||
ForegroundFile="$(MSBuildThisFileDirectory)Icons\appconfig.svg"
|
|
||||||
ForegroundScale="0.65"
|
|
||||||
Color="#00000000" />
|
|
||||||
<UnoSplashScreen
|
|
||||||
Include="$(MSBuildThisFileDirectory)Splash\splash_screen.svg"
|
|
||||||
BaseSize="128,128"
|
|
||||||
Color="#086AD1" />
|
|
||||||
</ItemGroup>
|
|
||||||
</Project>
|
|
||||||
@@ -1,43 +0,0 @@
|
|||||||
using Android.App;
|
|
||||||
using Android.Content;
|
|
||||||
using Android.OS;
|
|
||||||
using Android.Runtime;
|
|
||||||
using Android.Views;
|
|
||||||
using Android.Widget;
|
|
||||||
using Com.Nostra13.Universalimageloader.Core;
|
|
||||||
using Microsoft.UI.Xaml.Media;
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace TestApp.Droid
|
|
||||||
{
|
|
||||||
[global::Android.App.ApplicationAttribute(
|
|
||||||
Label = "@string/ApplicationName",
|
|
||||||
Icon = "@mipmap/iconapp",
|
|
||||||
LargeHeap = true,
|
|
||||||
HardwareAccelerated = true,
|
|
||||||
Theme = "@style/AppTheme"
|
|
||||||
)]
|
|
||||||
public class Application : Microsoft.UI.Xaml.NativeApplication
|
|
||||||
{
|
|
||||||
public Application(IntPtr javaReference, JniHandleOwnership transfer)
|
|
||||||
: base(() => new AppHead(), javaReference, transfer)
|
|
||||||
{
|
|
||||||
ConfigureUniversalImageLoader();
|
|
||||||
}
|
|
||||||
|
|
||||||
private static void ConfigureUniversalImageLoader()
|
|
||||||
{
|
|
||||||
// Create global configuration and initialize ImageLoader with this config
|
|
||||||
ImageLoaderConfiguration config = new ImageLoaderConfiguration
|
|
||||||
.Builder(Context)
|
|
||||||
.Build();
|
|
||||||
|
|
||||||
ImageLoader.Instance.Init(config);
|
|
||||||
|
|
||||||
ImageSource.DefaultImageLoader = ImageLoader.Instance.LoadImageAsync;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
using Android.App;
|
|
||||||
using Android.Content.PM;
|
|
||||||
using Android.OS;
|
|
||||||
using Android.Views;
|
|
||||||
using Android.Widget;
|
|
||||||
|
|
||||||
namespace TestApp.Droid
|
|
||||||
{
|
|
||||||
[Activity(
|
|
||||||
MainLauncher = true,
|
|
||||||
ConfigurationChanges = global::Uno.UI.ActivityHelper.AllConfigChanges,
|
|
||||||
WindowSoftInputMode = SoftInput.AdjustNothing | SoftInput.StateHidden
|
|
||||||
)]
|
|
||||||
public class MainActivity : Microsoft.UI.Xaml.ApplicationActivity
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
|
||||||
<PropertyGroup>
|
|
||||||
<TargetFrameworks>net7.0-android</TargetFrameworks>
|
|
||||||
<SingleProject>true</SingleProject>
|
|
||||||
<OutputType>Exe</OutputType>
|
|
||||||
<!-- Display name -->
|
|
||||||
<ApplicationTitle>TestApp</ApplicationTitle>
|
|
||||||
<!-- App Identifier -->
|
|
||||||
<ApplicationId>DGM.HoC.TestApp</ApplicationId>
|
|
||||||
<ApplicationIdGuid>BC40C823-CF9C-4044-B461-E81F461FBAEF</ApplicationIdGuid>
|
|
||||||
<!-- Versions -->
|
|
||||||
<ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
|
|
||||||
<ApplicationVersion>1</ApplicationVersion>
|
|
||||||
|
|
||||||
<AndroidManifest>Android\AndroidManifest.xml</AndroidManifest>
|
|
||||||
|
|
||||||
<!-- Debugger workaround https://github.com/dotnet/maui-samples/blob/8aa6b8780b12e97b157514c3bdc54bb4a13001cd/HelloMacCatalyst/HelloMacCatalyst.csproj#L7 -->
|
|
||||||
<!-- <MtouchExtraArgs Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">$(MtouchExtraArgs) -setenv:MONO_THREADS_SUSPEND=preemptive</MtouchExtraArgs> -->
|
|
||||||
<!-- Required for C# Hot Reload -->
|
|
||||||
<UseInterpreter Condition="'$(Configuration)' == 'Debug' and $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) != 'maccatalyst'">True</UseInterpreter>
|
|
||||||
<IsUnoHead>true</IsUnoHead>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<PackageReference Include="Uno.Resizetizer" Version="1.0.4" />
|
|
||||||
<PackageReference Include="Uno.WinUI" Version="4.8.33" />
|
|
||||||
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.1.0" />
|
|
||||||
<PackageReference Include="Uno.Toolkit.WinUI" Version="2.5.5" />
|
|
||||||
<PackageReference Include="Uno.Extensions.Hosting.WinUI" Version="2.3.10" />
|
|
||||||
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="7.0.0" />
|
|
||||||
<PackageReference Include="Uno.Extensions.Logging.OSLog" Version="1.4.0" />
|
|
||||||
<PackageReference Include="Uno.UI.Adapter.Microsoft.Extensions.Logging" Version="4.8.33" />
|
|
||||||
<PackageReference Include="Uno.WinUI.RemoteControl" Version="4.8.33" Condition="'$(Configuration)'=='Debug'" />
|
|
||||||
</ItemGroup>
|
|
||||||
<Choose>
|
|
||||||
<When Condition="$(IsAndroid)">
|
|
||||||
<ItemGroup>
|
|
||||||
<PackageReference Include="Xamarin.Google.Android.Material" Version="1.8.0" />
|
|
||||||
<PackageReference Include="Uno.UniversalImageLoader" Version="1.9.36" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<AndroidEnvironment Include="Android/environment.conf" />
|
|
||||||
</ItemGroup>
|
|
||||||
</When>
|
|
||||||
</Choose>
|
|
||||||
<ItemGroup>
|
|
||||||
<ProjectReference Include="..\TestApp\TestApp.csproj" />
|
|
||||||
</ItemGroup>
|
|
||||||
<Import Project="..\TestApp.Base\base.props" />
|
|
||||||
</Project>
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
using GLib;
|
|
||||||
using System;
|
|
||||||
using Uno.UI.Runtime.Skia;
|
|
||||||
|
|
||||||
namespace TestApp.Skia.Gtk
|
|
||||||
{
|
|
||||||
public class Program
|
|
||||||
{
|
|
||||||
public static void Main(string[] args)
|
|
||||||
{
|
|
||||||
ExceptionManager.UnhandledException += delegate (UnhandledExceptionArgs expArgs)
|
|
||||||
{
|
|
||||||
Console.WriteLine("GLIB UNHANDLED EXCEPTION" + expArgs.ExceptionObject.ToString());
|
|
||||||
expArgs.ExitApplication = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
var host = new GtkHost(() => new AppHead(), args);
|
|
||||||
|
|
||||||
host.Run();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,27 +0,0 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
|
||||||
<PropertyGroup>
|
|
||||||
<OutputType Condition="'$(Configuration)'=='Release'">WinExe</OutputType>
|
|
||||||
<OutputType Condition="'$(Configuration)'=='Debug'">Exe</OutputType>
|
|
||||||
<TargetFramework>net7.0</TargetFramework>
|
|
||||||
</PropertyGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<EmbeddedResource Include="Package.appxmanifest" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<PackageReference Include="Uno.Resizetizer" Version="1.0.4" />
|
|
||||||
<PackageReference Include="Uno.WinUI.Skia.Gtk" Version="4.8.33" />
|
|
||||||
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.1.0" />
|
|
||||||
<PackageReference Include="Uno.Toolkit.WinUI" Version="2.5.5" />
|
|
||||||
<PackageReference Include="Uno.Extensions.Hosting.WinUI" Version="2.3.10" />
|
|
||||||
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="7.0.0" />
|
|
||||||
<PackageReference Include="SkiaSharp.Views.Uno.WinUI" Version="2.88.3" />
|
|
||||||
<PackageReference Include="SkiaSharp.Skottie" Version="2.88.3" />
|
|
||||||
<PackageReference Include="Uno.WinUI.RemoteControl" Version="4.8.33" Condition="'$(Configuration)'=='Debug'" />
|
|
||||||
<PackageReference Include="Uno.UI.Adapter.Microsoft.Extensions.Logging" Version="4.8.33" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<ProjectReference Include="..\TestApp\TestApp.csproj" />
|
|
||||||
</ItemGroup>
|
|
||||||
<Import Project="..\TestApp.Base\base.props" />
|
|
||||||
</Project>
|
|
||||||