Skip to content

Commit

Permalink
Merge pull request OpenTabletDriver#3369 from InfinityGhost/master-ne…
Browse files Browse the repository at this point in the history
…t8.0

Update master to .NET 8
  • Loading branch information
InfinityGhost authored Jul 21, 2024
2 parents 32f051f + d4fd799 commit 928b407
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project>
<PropertyGroup>
<VersionBase>0.7.0.0</VersionBase>
<FrameworkLTS>net6.0</FrameworkLTS>
<FrameworkLatest>net7.0</FrameworkLatest>
<FrameworkLTS>net8.0</FrameworkLTS>
<FrameworkLatest>net8.0</FrameworkLatest>
<LangVersion>preview</LangVersion>
<VersionPrefix>$(VersionBase)</VersionPrefix>
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
Expand Down
2 changes: 2 additions & 0 deletions OpenTabletDriver.Desktop/Interop/Timer/FallbackTimer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
using System.Diagnostics;
using System.Threading;

using ITimer = OpenTabletDriver.ITimer;

namespace OpenTabletDriver.Desktop.Interop.Timer
{
public class FallbackTimer : ITimer
Expand Down
6 changes: 3 additions & 3 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ buildDotnetModule rec {

src = ./.;

dotnet-sdk = dotnetCorePackages.sdk_7_0;
dotnet-runtime = dotnetCorePackages.runtime_7_0;
dotnet-sdk = dotnetCorePackages.sdk_8_0;
dotnet-runtime = dotnetCorePackages.runtime_8_0;

dotnetInstallFlags = [ "--framework=net7.0" ];
dotnetInstallFlags = [ "--framework=net8.0" ];

projectFile = [ "OpenTabletDriver.Console" "OpenTabletDriver.Daemon" "OpenTabletDriver.UX.Gtk" ];
nugetDeps = ./deps.nix;
Expand Down
4 changes: 2 additions & 2 deletions eng/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ REPO_ROOT="$(readlink -f "${ENG_SCRIPT_ROOT}/../")"

### Build Requirements

DOTNET_VERSION="7.0"
DOTNET_VERSION="8.0"

# could do away with declare -g, but did it anyway for all of them for consistency
# with NET_RUNTIME (a global variable without initial value in lib.sh)
declare -g OUTPUT="dist"
declare -g CONFIG="Release"
declare -g FRAMEWORK="net7.0"
declare -g FRAMEWORK="net$DOTNET_VERSION"
declare -g NET_RUNTIME
declare -g DOG_FOOD="true"
declare -g BUILD="true"
Expand Down
2 changes: 1 addition & 1 deletion eng/windows/package.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
param (
$output = "dist",
$config = "Release",
$framework = "net7.0",
$framework = "net8.0",
$netRuntime = "win-x64",
$isRelease = $true,
$isPackage = $true,
Expand Down

0 comments on commit 928b407

Please sign in to comment.