Skip to content

Commit 1c1d3d5

Browse files
committed
Add .Net10 Support
1 parent ca6224c commit 1c1d3d5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Directory.Build.props

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,17 @@
2626

2727
<!-- The NuGet package version -->
2828
<XAMLToolsVersion>1.0.0-alpha0167</XAMLToolsVersion>
29-
<CsWin32Version>0.3.217</CsWin32Version>
29+
<CsWin32Version>0.3.242</CsWin32Version>
3030
<Win2dVersion>1.3.2</Win2dVersion>
31-
<DebugTargetFramework>net9.0-windows10.0.19041.0</DebugTargetFramework>
31+
<DebugTargetFramework>net10.0-windows10.0.19041.0</DebugTargetFramework>
3232

3333
<NoWarn>WMC1506;WMC0001;CA1416;CS8632;CS0067;CS0078;CS0649;CS0414;NU1903;NU1902;NU1900;WIN2D0001</NoWarn>
3434

3535
<OutputPath Condition="'$(MSBuildProjectName)' != $(GalleryAppName)">$(SolutionDir)Output\</OutputPath>
3636

3737
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
3838
<RuntimeIdentifiers>win-x86;win-x64;win-arm64</RuntimeIdentifiers>
39-
<TargetFrameworks Condition=" '$(Configuration)' == 'Release' And $(MSBuildProjectName) != $(GalleryAppName) ">net8.0-windows10.0.19041.0;net9.0-windows10.0.19041.0</TargetFrameworks>
39+
<TargetFrameworks Condition=" '$(Configuration)' == 'Release' And $(MSBuildProjectName) != $(GalleryAppName) ">net8.0-windows10.0.19041.0;net9.0-windows10.0.19041.0;net10.0-windows10.0.19041.0</TargetFrameworks>
4040
<TargetFrameworks Condition=" '$(Configuration)' == 'Debug' And $(MSBuildProjectName) != $(GalleryAppName)">$(DebugTargetFramework)</TargetFrameworks>
4141
<EnableMsixTooling Condition="'$(GITHUB_ACTIONS)' == 'true' And '$(MSBuildProjectName)' != $(ContextMenuLibName)">true</EnableMsixTooling>
4242
<UseWinUI Condition="'$(MSBuildProjectName)' != $(ContextMenuLibName)">true</UseWinUI>

dev/DevWinUI.Gallery/DevWinUI.Gallery.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<OutputType>WinExe</OutputType>
4-
<TargetFramework>net9.0-windows10.0.19041.0</TargetFramework>
4+
<TargetFramework>net10.0-windows10.0.19041.0</TargetFramework>
55
<RootNamespace>$(BaseNamespace)Gallery</RootNamespace>
66
<ApplicationManifest>app.manifest</ApplicationManifest>
77
<Platforms>x86;x64;ARM64</Platforms>
@@ -39,7 +39,7 @@
3939
<PackageReference Include="ColorCode.Core" Version="2.0.15" />
4040
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.4.0" />
4141
<PackageReference Include="CommunityToolkit.WinUI.Media" Version="8.2.250402" />
42-
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="9.0.10" />
42+
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="10.0.0" />
4343
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.3.0-prerelease.251015.2" />
4444
<PackageReference Include="nucs.JsonSettings" Version="2.0.2" />
4545
<PackageReference Include="nucs.JsonSettings.AutosaveGenerator" Version="2.0.4" />

0 commit comments

Comments
 (0)