Skip to content

Commit d861dc3

Browse files
committed
Update samples to net9 TFMs and bump dependencies
- MAUI.Sample: net8.0-windows → net9.0-windows - MediaElement sample: net8.0-windows → net9.0-windows, cleanup - WinUI.Sample: bump WindowsAppSDK and BuildTools - Bump Microsoft.Extensions.Logging.Debug to 9.0.0
1 parent f56c25c commit d861dc3

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

samples/LibVLCSharp.MAUI.Sample/LibVLCSharp.MAUI.Sample.csproj

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

33
<PropertyGroup>
44
<TargetFrameworks>net9.0-android;net9.0-ios</TargetFrameworks>
5-
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows10.0.19041.0</TargetFrameworks>
5+
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net9.0-windows10.0.19041.0</TargetFrameworks>
66
<OutputType>Exe</OutputType>
77
<RootNamespace>LibVLCSharp.MAUI.Sample</RootNamespace>
88
<UseMaui>true</UseMaui>

samples/LibVLCSharp.WinUI.Sample/LibVLCSharp.WinUI.Sample.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
</ItemGroup>
2525

2626
<ItemGroup>
27-
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.5.240627000" />
28-
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.26100.1" />
27+
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.8.251106002" />
28+
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.26100.7175" />
2929
<PackageReference Include="VideoLAN.LibVLC.Windows" Version="3.0.18" />
3030
<Manifest Include="$(ApplicationManifest)" />
3131
</ItemGroup>

samples/MAUI/LibVLCSharp.MAUI.Sample.MediaElement/LibVLCSharp.MAUI.Sample.MediaElement.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFrameworks>net9.0-android;net9.0-ios</TargetFrameworks>
4-
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows10.0.19041</TargetFrameworks>
4+
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net9.0-windows10.0.19041</TargetFrameworks>
55
<OutputType>Exe</OutputType>
66
<RootNamespace>LibVLCSharp.MAUI.Sample.MediaElement</RootNamespace>
77
<UseMaui>true</UseMaui>
88
<SingleProject>true</SingleProject>
99
<ImplicitUsings>enable</ImplicitUsings>
1010
<LangVersion>latest</LangVersion>
11-
<WindowsPackageType>None</WindowsPackageType>
11+
<WindowsPackageType>None</WindowsPackageType>
12+
<DisableWinAppSDKPriGeneration>true</DisableWinAppSDKPriGeneration>
1213
<!-- Display name -->
1314
<ApplicationTitle>LibVLCSharp.MAUI.Sample.MediaElement</ApplicationTitle>
1415
<!-- App Identifier -->
@@ -37,9 +38,8 @@
3738
<MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" />
3839
</ItemGroup>
3940
<ItemGroup>
40-
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="7.0.0" />
41-
<PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" />
42-
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="$(MauiVersion)" />
41+
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="9.0.0" />
42+
<PackageReference Include="Microsoft.Maui.Controls" Version="8.0.70" />
4343
</ItemGroup>
4444
<ItemGroup Condition="$(TargetFramework.Contains('-android'))">
4545
<PackageReference Include="VideoLAN.LibVLC.Android" Version="3.6.5" />

0 commit comments

Comments
 (0)