Skip to content

Commit ca7e910

Browse files
committed
Configure targets in .csproj file for Dependabot
1 parent 40b9dd7 commit ca7e910

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

global.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

src/WinDynamicDesktop.csproj

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net8.0-windows10.0.19041.0</TargetFramework>
3+
<TargetFrameworks>net8.0-windows10.0.19041.0</TargetFrameworks>
4+
<TargetFrameworks Condition="!$([MSBuild]::IsOSPlatform('Windows'))">net8.0</TargetFrameworks>
45
<RuntimeIdentifiers>win-x86;win-x64;win-arm64</RuntimeIdentifiers>
56
<Platforms>AnyCPU;x86;x64;ARM64</Platforms>
67
<OutputType>WinExe</OutputType>
@@ -11,10 +12,11 @@
1112
<Copyright>Copyright © 2025 Timothy Johnson</Copyright>
1213
<Version>5.6.1</Version>
1314
<ApplicationIcon>resources\WinDynamicDesktop.ico</ApplicationIcon>
15+
<Deterministic>true</Deterministic>
16+
</PropertyGroup>
17+
<PropertyGroup Condition="$([MSBuild]::IsOSPlatform('Windows'))">
1418
<UseWindowsForms>true</UseWindowsForms>
1519
<UseWPF>true</UseWPF>
16-
<Deterministic>true</Deterministic>
17-
<EnableWindowsTargeting>true</EnableWindowsTargeting>
1820
</PropertyGroup>
1921
<ItemGroup>
2022
<Resource Include="resources\fonts\fontawesome-webfont.ttf" />

0 commit comments

Comments
 (0)