Skip to content

Commit e21c1bb

Browse files
committed
Fix targetframework for notifications
1 parent cc3fa54 commit e21c1bb

File tree

3 files changed

+23
-6
lines changed

3 files changed

+23
-6
lines changed

StabilityMatrix.Avalonia/StabilityMatrix.Avalonia.csproj

+9-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup Condition="'$(RuntimeIdentifier)' != 'win-x64'">
3+
<TargetFramework>net8.0</TargetFramework>
4+
</PropertyGroup>
5+
<PropertyGroup Condition="'$(RuntimeIdentifier)' == 'win-x64'">
6+
<TargetFramework>net8.0-windows10.0.17763.0</TargetFramework>
7+
</PropertyGroup>
8+
29
<PropertyGroup>
310
<CFBundleName>Stability Matrix</CFBundleName>
411
<CFBundleIconFile>Assets/AppIcon.icns</CFBundleIconFile>
512
<CFBundlePackageType>APPL</CFBundlePackageType>
613
<OutputType>WinExe</OutputType>
7-
<TargetFramework>net8.0</TargetFramework>
814
<RuntimeIdentifiers>win-x64;linux-x64;osx-x64;osx-arm64</RuntimeIdentifiers>
915
<Nullable>enable</Nullable>
1016
<BuiltInComInteropSupport>true</BuiltInComInteropSupport>
@@ -16,7 +22,7 @@
1622
<EnableWindowsTargeting>true</EnableWindowsTargeting>
1723
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1824
</PropertyGroup>
19-
25+
2026
<ItemGroup>
2127
<CFBundleURLTypes Include="dummy">
2228
<CFBundleURLName>StabilityMatrix.URL</CFBundleURLName>
@@ -47,6 +53,7 @@
4753
<PackageReference Include="bodong.PropertyModels" Version="11.0.6.2" />
4854
<PackageReference Include="CommandLineParser" Version="2.9.1" />
4955
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2" />
56+
<PackageReference Include="DesktopNotifications" Version="1.3.1" />
5057
<PackageReference Include="DesktopNotifications.Avalonia" Version="1.3.1" />
5158
<PackageReference Include="DiscordRichPresence" Version="1.2.1.24" />
5259
<PackageReference Include="Dock.Avalonia" Version="11.0.0.5" />

StabilityMatrix.Tests/StabilityMatrix.Tests.csproj

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
3-
<PropertyGroup>
2+
<PropertyGroup Condition="'$(RuntimeIdentifier)' != 'win-x64'">
43
<TargetFramework>net8.0</TargetFramework>
4+
</PropertyGroup>
5+
<PropertyGroup Condition="'$(RuntimeIdentifier)' == 'win-x64'">
6+
<TargetFramework>net8.0-windows10.0.17763.0</TargetFramework>
7+
</PropertyGroup>
8+
9+
<PropertyGroup>
510
<RuntimeIdentifiers>win-x64;linux-x64;osx-x64;osx-arm64</RuntimeIdentifiers>
611
<ImplicitUsings>enable</ImplicitUsings>
712
<Nullable>enable</Nullable>

StabilityMatrix.UITests/StabilityMatrix.UITests.csproj

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
3-
<PropertyGroup>
2+
<PropertyGroup Condition="'$(RuntimeIdentifier)' != 'win-x64'">
43
<TargetFramework>net8.0</TargetFramework>
4+
</PropertyGroup>
5+
<PropertyGroup Condition="'$(RuntimeIdentifier)' == 'win-x64'">
6+
<TargetFramework>net8.0-windows10.0.17763.0</TargetFramework>
7+
</PropertyGroup>
8+
9+
<PropertyGroup>
510
<ImplicitUsings>enable</ImplicitUsings>
611
<Nullable>enable</Nullable>
712

0 commit comments

Comments
 (0)