Skip to content

Commit 92230bd

Browse files
Merge pull request #3 from VishalOmprasad/master
Updated .NET configuration related changes
2 parents b1c25f7 + ce5d23c commit 92230bd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+9088
-1101
lines changed

App.xaml.cs

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

AppShell.xaml.cs

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

MainPage.xaml

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

MainPage.xaml.cs

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

MapsExample.csproj.user

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

MapsExample/MapsExample.sln

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.13.35919.96 d17.13
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MapsExample", "MapsExample\MapsExample.csproj", "{5E4DDBBF-161D-486F-B042-14B509B197E2}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{5E4DDBBF-161D-486F-B042-14B509B197E2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{5E4DDBBF-161D-486F-B042-14B509B197E2}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{5E4DDBBF-161D-486F-B042-14B509B197E2}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{5E4DDBBF-161D-486F-B042-14B509B197E2}.Release|Any CPU.Build.0 = Release|Any CPU
18+
EndGlobalSection
19+
GlobalSection(SolutionProperties) = preSolution
20+
HideSolutionNode = FALSE
21+
EndGlobalSection
22+
GlobalSection(ExtensibilityGlobals) = postSolution
23+
SolutionGuid = {CB31C22F-B578-48C9-AB11-3EC7CD9716EF}
24+
EndGlobalSection
25+
EndGlobal
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
<?xml version = "1.0" encoding = "UTF-8" ?>
2-
<Application xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
3-
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
4-
xmlns:local="clr-namespace:MapsExample"
5-
x:Class="MapsExample.App">
6-
<Application.Resources>
7-
<ResourceDictionary>
8-
<ResourceDictionary.MergedDictionaries>
9-
<ResourceDictionary Source="Resources/Styles/Colors.xaml" />
10-
<ResourceDictionary Source="Resources/Styles/Styles.xaml" />
11-
</ResourceDictionary.MergedDictionaries>
12-
</ResourceDictionary>
13-
</Application.Resources>
14-
</Application>
1+
<?xml version = "1.0" encoding = "UTF-8" ?>
2+
<Application xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
3+
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
4+
xmlns:local="clr-namespace:MapsExample"
5+
x:Class="MapsExample.App">
6+
<Application.Resources>
7+
<ResourceDictionary>
8+
<ResourceDictionary.MergedDictionaries>
9+
<ResourceDictionary Source="Resources/Styles/Colors.xaml" />
10+
<ResourceDictionary Source="Resources/Styles/Styles.xaml" />
11+
</ResourceDictionary.MergedDictionaries>
12+
</ResourceDictionary>
13+
</Application.Resources>
14+
</Application>
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
namespace MapsExample
2+
{
3+
public partial class App : Application
4+
{
5+
public App()
6+
{
7+
InitializeComponent();
8+
}
9+
10+
protected override Window CreateWindow(IActivationState? activationState)
11+
{
12+
return new Window(new AppShell());
13+
}
14+
}
15+
}
Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
1-
<?xml version="1.0" encoding="UTF-8" ?>
2-
<Shell
3-
x:Class="MapsExample.AppShell"
4-
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
5-
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
6-
xmlns:local="clr-namespace:MapsExample"
7-
Shell.FlyoutBehavior="Disabled">
8-
9-
<ShellContent
10-
Title="Home"
11-
ContentTemplate="{DataTemplate local:MainPage}"
12-
Route="MainPage" />
13-
14-
</Shell>
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<Shell
3+
x:Class="MapsExample.AppShell"
4+
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
5+
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
6+
xmlns:local="clr-namespace:MapsExample"
7+
Shell.FlyoutBehavior="Flyout"
8+
Title="MapsExample">
9+
10+
<ShellContent
11+
Title="Home"
12+
ContentTemplate="{DataTemplate local:MainPage}"
13+
Route="MainPage" />
14+
15+
</Shell>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
namespace MapsExample
2+
{
3+
public partial class AppShell : Shell
4+
{
5+
public AppShell()
6+
{
7+
InitializeComponent();
8+
}
9+
}
10+
}

0 commit comments

Comments
 (0)