Skip to content

Commit 2fe604d

Browse files
Merge pull request #3 from SyncfusionExamples/update-sample-version
Update latest Net 10 sample
2 parents 9179b2a + 2f460e2 commit 2fe604d

40 files changed

Lines changed: 26 additions & 116 deletions

MarkdownViewerGettingStarted/MarkdownViewerGettingStarted.csproj.user

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

MarkdownViewerGettingStarted/MarkdownViewerGettingStarted.sln

Lines changed: 0 additions & 25 deletions
This file was deleted.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<Solution>
2+
<Project Path="MarkdownViewerGettingStarted/MarkdownViewerGettingStarted.csproj" />
3+
</Solution>

MarkdownViewerGettingStarted/App.xaml renamed to MarkdownViewerGettingStarted/MarkdownViewerGettingStarted/App.xaml

File renamed without changes.

MarkdownViewerGettingStarted/App.xaml.cs renamed to MarkdownViewerGettingStarted/MarkdownViewerGettingStarted/App.xaml.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
namespace MarkdownViewerGettingStarted
1+
using Microsoft.Extensions.DependencyInjection;
2+
3+
namespace MarkdownViewerGettingStarted
24
{
35
public partial class App : Application
46
{

MarkdownViewerGettingStarted/AppShell.xaml renamed to MarkdownViewerGettingStarted/MarkdownViewerGettingStarted/AppShell.xaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
Title="MarkdownViewerGettingStarted">
88

99
<ShellContent
10+
Title="Home"
1011
ContentTemplate="{DataTemplate local:MainPage}"
1112
Route="MainPage" />
1213

MarkdownViewerGettingStarted/AppShell.xaml.cs renamed to MarkdownViewerGettingStarted/MarkdownViewerGettingStarted/AppShell.xaml.cs

File renamed without changes.

MarkdownViewerGettingStarted/MainPage.xaml renamed to MarkdownViewerGettingStarted/MarkdownViewerGettingStarted/MainPage.xaml

File renamed without changes.

MarkdownViewerGettingStarted/MainPage.xaml.cs renamed to MarkdownViewerGettingStarted/MarkdownViewerGettingStarted/MainPage.xaml.cs

File renamed without changes.

MarkdownViewerGettingStarted/MarkdownViewerGettingStarted.csproj renamed to MarkdownViewerGettingStarted/MarkdownViewerGettingStarted/MarkdownViewerGettingStarted.csproj

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net9.0-android;net9.0-ios;net9.0-maccatalyst</TargetFrameworks>
5-
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net9.0-windows10.0.19041.0</TargetFrameworks>
6-
<!-- Uncomment to also build the tizen app. You will need to install tizen by following this: https://github.com/Samsung/Tizen.NET -->
7-
<!-- <TargetFrameworks>$(TargetFrameworks);net9.0-tizen</TargetFrameworks> -->
4+
<TargetFrameworks>net10.0-android</TargetFrameworks>
5+
<TargetFrameworks Condition="!$([MSBuild]::IsOSPlatform('linux'))">$(TargetFrameworks);net10.0-ios;net10.0-maccatalyst</TargetFrameworks>
6+
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net10.0-windows10.0.19041.0</TargetFrameworks>
87

98
<!-- Note for MacCatalyst:
109
The default runtime is maccatalyst-x64, except in Release config, in which case the default is maccatalyst-x64;maccatalyst-arm64.
@@ -20,6 +19,14 @@
2019
<ImplicitUsings>enable</ImplicitUsings>
2120
<Nullable>enable</Nullable>
2221

22+
<!-- Enable XAML source generation for faster build times and improved performance.
23+
This generates C# code from XAML at compile time instead of runtime inflation.
24+
To disable, remove this line.
25+
For individual files, you can override by setting Inflator metadata:
26+
<MauiXaml Update="MyPage.xaml" Inflator="Default" /> (reverts to defaults: Runtime for Debug, XamlC for Release)
27+
<MauiXaml Update="MyPage.xaml" Inflator="Runtime" /> (force runtime inflation) -->
28+
<MauiXamlInflator>SourceGen</MauiXamlInflator>
29+
2330
<!-- Display name -->
2431
<ApplicationTitle>MarkdownViewerGettingStarted</ApplicationTitle>
2532

@@ -38,7 +45,6 @@
3845
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion>
3946
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion>
4047
<TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion>
41-
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion>
4248
</PropertyGroup>
4349

4450
<ItemGroup>
@@ -51,7 +57,7 @@
5157
<!-- Images -->
5258
<MauiImage Include="Resources\Images\*" />
5359
<MauiImage Update="Resources\Images\dotnet_bot.png" Resize="True" BaseSize="300,185" />
54-
60+
5561
<!-- Custom Fonts -->
5662
<MauiFont Include="Resources\Fonts\*" />
5763

@@ -61,7 +67,7 @@
6167

6268
<ItemGroup>
6369
<PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" />
64-
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="9.0.0" />
70+
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="10.0.0" />
6571
<PackageReference Include="Syncfusion.Maui.MarkdownViewer" Version="*" />
6672
</ItemGroup>
6773

0 commit comments

Comments
 (0)