Skip to content

Commit

Permalink
Switch build to use .NET 8.0 instead of 6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rmunn committed Mar 5, 2024
1 parent 92e5cd1 commit 1f80c15
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.builder-base
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG DbVersion=7000072

FROM mcr.microsoft.com/dotnet/sdk:6.0 AS lfmerge-builder-base
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS lfmerge-builder-base
WORKDIR /build/lfmerge

ENV DEBIAN_FRONTEND=noninteractive
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.runtime-base
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG DbVersion=7000072

FROM mcr.microsoft.com/dotnet/runtime:6.0 AS lfmerge-builder-base
FROM mcr.microsoft.com/dotnet/runtime:8.0 AS lfmerge-builder-base
WORKDIR /build/lfmerge

ENV DEBIAN_FRONTEND=noninteractive
Expand Down
2 changes: 1 addition & 1 deletion LfMerge.TestApp/LfMerge.TestApp.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0</TargetFrameworks>
<TargetFrameworks>net8.0</TargetFrameworks>
<OutputType>Exe</OutputType>
<RootNamespace>LfMerge.TestApp</RootNamespace>
<Configurations>Debug;Release</Configurations>
Expand Down
2 changes: 1 addition & 1 deletion docker/scripts/create-installation-tarball.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set -e
export HOME=/tmp
export XDG_CONFIG_HOME=/tmp/.config
export BUILD=Release
export FRAMEWORK=net6.0
export FRAMEWORK=net8.0
export NETSTANDARD=netstandard2.0

export DatabaseVersion=${1:-7000072}
Expand Down
2 changes: 1 addition & 1 deletion environ
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# the sourcing script should cd/pushd to the directory containing this script
BASE="$(pwd)"

export PATH="${BASE}/output/${BUILD}/net6.0:${BASE}/output/Mercurial:${PATH}"
export PATH="${BASE}/output/${BUILD}/net8.0:${BASE}/output/Mercurial:${PATH}"

# set HGRCPATH so that we ignore ~/.hgrc files which might have content that is
# incompatible with our version of Mercurial
Expand Down
2 changes: 1 addition & 1 deletion src/FixFwData/FixFwData.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0</TargetFrameworks>
<TargetFrameworks>net8.0</TargetFrameworks>
<OutputType>WinExe</OutputType>
<RootNamespace>FixFwData</RootNamespace>
<Configurations>Debug;Release</Configurations>
Expand Down
2 changes: 1 addition & 1 deletion src/LfMerge.Core.Tests/LfMerge.Core.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0</TargetFrameworks>
<TargetFrameworks>net8.0</TargetFrameworks>
<RootNamespace>LfMerge.Core.Tests</RootNamespace>
<Configurations>Debug;Release</Configurations>
<Description>LfMerge.Core.Tests</Description>
Expand Down
2 changes: 1 addition & 1 deletion src/LfMerge.Tests/LfMerge.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0</TargetFrameworks>
<TargetFrameworks>net8.0</TargetFrameworks>
<RootNamespace>LfMerge.Tests</RootNamespace>
<Configurations>Debug;Release</Configurations>
<Description>LfMerge.Tests</Description>
Expand Down
2 changes: 1 addition & 1 deletion src/LfMerge/LfMerge.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0</TargetFrameworks>
<TargetFrameworks>net8.0</TargetFrameworks>
<OutputType>Exe</OutputType>
<RootNamespace>LfMerge</RootNamespace>
<Configurations>Debug;Release</Configurations>
Expand Down
2 changes: 1 addition & 1 deletion src/LfMergeAuxTool/LfMergeAuxTool.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0</TargetFrameworks>
<TargetFrameworks>net8.0</TargetFrameworks>
<RootNamespace>LfMergeAuxTool</RootNamespace>
<Configurations>Debug;Release</Configurations>
<Description>LfMergeAuxTool</Description>
Expand Down
2 changes: 1 addition & 1 deletion src/LfMergeQueueManager/LfMergeQueueManager.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0</TargetFrameworks>
<TargetFrameworks>net8.0</TargetFrameworks>
<RootNamespace>LfMerge.QueueManager</RootNamespace>
<Configurations>Debug;Release</Configurations>
<Description>LfMergeQueueManager</Description>
Expand Down

0 comments on commit 1f80c15

Please sign in to comment.