Skip to content

Commit bfc9a04

Browse files
authored
Feature enable Net 8.0 on WinUI (#3701)
<!-- Please be sure to read the [Contribute](https://github.com/reactiveui/reactiveui#contribute) section of the README --> **What kind of change does this PR introduce?** <!-- Bug fix, feature, docs update, ... --> Feature **What is the current behavior?** <!-- You can also link to an open issue here. --> WinUI has net 6.0 and net 7.0 builds **What is the new behavior?** <!-- If this is a feature change --> ReacitveUI.WinUI now includes a build for net 8.0 **What might this PR break?** Target framework needs to be updated to windows10.0.19041.0 if using an earlier version. **Please check if the PR fulfills these requirements** - [ ] Tests for the changes have been added (for bug fixes / features) - [ ] Docs have been added / updated (for bug fixes / features) **Other information**:
1 parent 0db5167 commit bfc9a04

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/ReactiveUI.WinUI/ReactiveUI.WinUI.csproj

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>net6.0-windows10.0.17763.0;net7.0-windows10.0.17763.0</TargetFrameworks>
4-
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
3+
<TargetFrameworks>net6.0-windows10.0.19041.0;net7.0-windows10.0.19041.0;net8.0-windows10.0.19041.0</TargetFrameworks>
4+
<TargetPlatformMinVersion>10.0.19041.0</TargetPlatformMinVersion>
55
<PackageDescription>Contains the ReactiveUI platform specific extensions for WinUI Desktop</PackageDescription>
66
<RootNamespace>ReactiveUI.WinUI.Desktop</RootNamespace>
77
<PackageTags>mvvm;reactiveui;rx;reactive extensions;observable;LINQ;events;winui</PackageTags>
88
<UseWinUI>true</UseWinUI>
99
<DefineConstants>IS_WINUI;WINUI_TARGET;</DefineConstants>
10-
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion>
11-
<TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion>
10+
<RuntimeIdentifiers>win-x64;win-x86;win-arm64</RuntimeIdentifiers>
11+
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.19041.0</SupportedOSPlatformVersion>
12+
<TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.19041.0</TargetPlatformMinVersion>
1213
</PropertyGroup>
1314

1415
<ItemGroup>
16+
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.22621.2428" />
1517
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.4.231115000" />
1618
</ItemGroup>
1719

0 commit comments

Comments
 (0)