Skip to content

Commit 675fc58

Browse files
authored
Switch to .NET 9 + bump nuget dependencies versions (#568)
1 parent 4e8b9b6 commit 675fc58

30 files changed

+51
-41
lines changed

Lottie-Windows.sln

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ Global
204204
{5120EFD7-A556-46BF-8D56-F65F1EF9A305}.BETA|x86.Build.0 = BETA|x86
205205
{5120EFD7-A556-46BF-8D56-F65F1EF9A305}.BETA|x86.Deploy.0 = BETA|x86
206206
{5120EFD7-A556-46BF-8D56-F65F1EF9A305}.Debug|Any CPU.ActiveCfg = Debug|x86
207+
{5120EFD7-A556-46BF-8D56-F65F1EF9A305}.Debug|Any CPU.Build.0 = Debug|x86
207208
{5120EFD7-A556-46BF-8D56-F65F1EF9A305}.Debug|ARM.ActiveCfg = Debug|ARM
208209
{5120EFD7-A556-46BF-8D56-F65F1EF9A305}.Debug|ARM.Build.0 = Debug|ARM
209210
{5120EFD7-A556-46BF-8D56-F65F1EF9A305}.Debug|ARM.Deploy.0 = Debug|ARM
@@ -217,6 +218,7 @@ Global
217218
{5120EFD7-A556-46BF-8D56-F65F1EF9A305}.Debug|x86.Build.0 = Debug|x86
218219
{5120EFD7-A556-46BF-8D56-F65F1EF9A305}.Debug|x86.Deploy.0 = Debug|x86
219220
{5120EFD7-A556-46BF-8D56-F65F1EF9A305}.Release|Any CPU.ActiveCfg = Release|x86
221+
{5120EFD7-A556-46BF-8D56-F65F1EF9A305}.Release|Any CPU.Build.0 = Release|x86
220222
{5120EFD7-A556-46BF-8D56-F65F1EF9A305}.Release|ARM.ActiveCfg = Release|ARM
221223
{5120EFD7-A556-46BF-8D56-F65F1EF9A305}.Release|ARM.Build.0 = Release|ARM
222224
{5120EFD7-A556-46BF-8D56-F65F1EF9A305}.Release|ARM.Deploy.0 = Release|ARM

Lottie-Windows/Lottie-Windows-Uwp/Lottie-Windows-Uwp.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@
2222
<Generator>MSBuild:Compile</Generator>
2323
<SubType>Designer</SubType>
2424
</PackageReference>
25-
<PackageReference Include="System.Memory" Version="4.5.4" />
25+
<PackageReference Include="System.Memory" Version="4.5.5" />
2626
<PackageReference Include="System.Numerics.Vectors">
2727
<Version>4.5.0</Version>
2828
</PackageReference>
2929
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="6.0.0" />
30-
<PackageReference Include="System.Text.Encodings.Web" Version="5.0.1" />
31-
<PackageReference Include="System.Text.Json" Version="5.0.1" />
30+
<PackageReference Include="System.Text.Encodings.Web" Version="9.0.0" />
31+
<PackageReference Include="System.Text.Json" Version="9.0.0" />
3232
<PackageReference Include="System.ValueTuple">
3333
<Version>4.5.0</Version>
3434
</PackageReference>

Lottie-Windows/Lottie-Windows-WinUI3/Lottie-Windows-WinUI3.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net7.0-windows10.0.18362.0</TargetFramework>
4+
<TargetFramework>net9.0-windows10.0.18362.0</TargetFramework>
55
<IsAotCompatible>true</IsAotCompatible>
66
<OutputType>Library</OutputType>
77

@@ -15,8 +15,8 @@
1515
</PropertyGroup>
1616

1717
<ItemGroup>
18-
<PackageReference Include="Microsoft.Graphics.Win2D" Version="1.0.4" />
19-
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.3.230331000" />
18+
<PackageReference Include="Microsoft.Graphics.Win2D" Version="1.0.5.1" />
19+
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.6.241114003" />
2020
</ItemGroup>
2121

2222
<Import Project="..\Lottie-Windows.props" />

LottieGen/Common.proj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<PropertyGroup Label="Configuration">
55
<Import_RootNamespace>LottieGen</Import_RootNamespace>
66
<OutputType>Exe</OutputType>
7-
<TargetFramework>net7.0</TargetFramework>
7+
<TargetFramework>net9.0</TargetFramework>
88
<RootNamespace>LottieGen</RootNamespace>
99
<Configurations>Debug;Release</Configurations>
1010
<LangVersion>latest</LangVersion>

LottieGen/MSBuildTask/LottieGen.MsBuild.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
</packageTypes>
5959
</metadata>
6060
<files>
61-
<file src="]]>$([MsBuild]::NormalizePath('$(MsBuildThisFileDirectory)..\win-x64\bin\AnyCPU\$(Configuration)\net7.0\win-x64\publish\LottieGen.exe'))<![CDATA[" target="bin" />
61+
<file src="]]>$([MsBuild]::NormalizePath('$(MsBuildThisFileDirectory)..\win-x64\bin\AnyCPU\$(Configuration)\net9.0\win-x64\publish\LottieGen.exe'))<![CDATA[" target="bin" />
6262
<file src="]]>$(MsBuildThisFileDirectory)$(_LottieGenNuspecPropsFile)<![CDATA[" target="build/native/" />
6363
<file src="]]>$(MsBuildThisFileDirectory)$(_LottieGenNuspecPropsFile)<![CDATA[" target="build/win/" />
6464
<file src="]]>$([MsBuild]::NormalizePath('$(MsBuildThisFileDirectory)..\MSBuildTask\bin\AnyCPU\$(Configuration)\net472\$(AssemblyName).dll'))<![CDATA[" target="bin/" />

LottieGen/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ LottieGen requires [.NET Core 7.0 SDK](https://dotnet.microsoft.com/download/dot
88

99
Local builds can be run directly. Just install [.NET Core 7.0](https://dotnet.microsoft.com/download/dotnet-core/7.0), build the LottieGen.sln solution and run the output.
1010

11-
f:\GitHub\Lottie-Windows\LottieGen\DotnetTool\bin\AnyCpu\Debug\net7.0\lottiegen.exe
11+
f:\GitHub\Lottie-Windows\LottieGen\DotnetTool\bin\AnyCpu\Debug\net9.0\lottiegen.exe
1212

1313
And of course you can copy LottieGen to a directory and run directly without installing it, for example:
1414

15-
copy f:\GitHub\Lottie-Windows\LottieGen\DotnetTool\bin\AnyCpu\Debug\net7.0\* d:\mybuildtools
15+
copy f:\GitHub\Lottie-Windows\LottieGen\DotnetTool\bin\AnyCpu\Debug\net9.0\* d:\mybuildtools
1616

1717

1818
# Install as a .NET Core global tool

LottieSamples/LottieSamples.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -258,12 +258,12 @@
258258
</Page>
259259
</ItemGroup>
260260
<ItemGroup>
261+
<PackageReference Include="CommunityToolkit.Uwp.Lottie">
262+
<Version>8.1.240821</Version>
263+
</PackageReference>
261264
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform">
262265
<Version>6.2.12</Version>
263266
</PackageReference>
264-
<PackageReference Include="Microsoft.Toolkit.Uwp.UI.Lottie">
265-
<Version>7.0.0</Version>
266-
</PackageReference>
267267
<PackageReference Include="Microsoft.UI.Xaml">
268268
<Version>2.5.0</Version>
269269
</PackageReference>

LottieSamples/Scenarios/FallbackPage.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
33
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
44
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
5-
xmlns:lottie="using:Microsoft.Toolkit.Uwp.UI.Lottie"
5+
xmlns:lottie="using:CommunityToolkit.WinUI.Lottie"
66
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
77
xmlns:muxc="using:Microsoft.UI.Xaml.Controls"
88
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"

LottieSamples/Scenarios/JsonPage.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
33
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
44
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
5-
xmlns:lottie="using:Microsoft.Toolkit.Uwp.UI.Lottie"
5+
xmlns:lottie="using:CommunityToolkit.WinUI.Lottie"
66
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
77
xmlns:muxc="using:Microsoft.UI.Xaml.Controls"
88
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"

LottieSamples/Scenarios/ProgressPage.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
33
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
44
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
5-
xmlns:lottie="using:Microsoft.Toolkit.Uwp.UI.Lottie"
5+
xmlns:lottie="using:CommunityToolkit.WinUI.Lottie"
66
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
77
xmlns:muxc="using:Microsoft.UI.Xaml.Controls"
88
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"

0 commit comments

Comments
 (0)