Skip to content

Commit fdc22b0

Browse files
committed
Update to .NET 8.0
1 parent f848817 commit fdc22b0

File tree

13 files changed

+21
-14
lines changed

13 files changed

+21
-14
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
uses: actions/upload-artifact@v4
3939
with:
4040
name: ${{ matrix.configuration }}Binaries
41-
path: ${{ env.BinDir }}/${{ matrix.configuration }}/net6.0
41+
path: ${{ env.BinDir }}/${{ matrix.configuration }}/net8.0
4242

4343
ci_build_windows:
4444
name: CI Windows Build

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ jobs:
3030
uses: actions/upload-artifact@v4
3131
with:
3232
name: ${{ matrix.configuration }}Binaries
33-
path: ${{ env.BinDir }}/${{ matrix.configuration }}/net6.0
33+
path: ${{ env.BinDir }}/${{ matrix.configuration }}/net8.0

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Mzinga Changelog #
22

3+
## next ##
4+
5+
* Update all projects to .NET 8.0
6+
37
## v0.15.1 ##
48

59
* Viewer: Fix formatting of Markdown text blocks

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ For more information on Mzinga and its projects, please check out the [Mzinga Wi
1212

1313
## Installation ##
1414

15-
Mzinga was written in C# and should run anywhere that supports [.NET 6.0](https://github.com/dotnet/core/blob/main/release-notes/6.0/supported-os.md). It has been officially tested on:
15+
Mzinga was written in C# and should run anywhere that supports [.NET 8.0](https://github.com/dotnet/core/blob/main/release-notes/8.0/supported-os.md). It has been officially tested on:
1616

1717
* Windows 10 and 11
1818
* Ubuntu 20.04
@@ -70,7 +70,7 @@ The Linux release provides self-contained x64/arm64 binaries which run on many L
7070

7171
The Unpacked release provides loose, framework-dependent .NET 6 binaries.
7272

73-
1. Install the latest [.NET Runtime](https://dotnet.microsoft.com/download/dotnet/6.0)
73+
1. Install the latest [.NET Runtime](https://dotnet.microsoft.com/download/dotnet/8.0)
7474
2. Download the latest Unpacked zip file (Mzinga.Unpacked.zip) from https://github.com/jonthysell/Mzinga/releases/latest
7575
3. Extract the zip file
7676

scripts/BuildAll.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,8 @@ param()
44
& "$PSScriptRoot\BuildWinX86.ps1"
55
& "$PSScriptRoot\BuildWinX64.ps1"
66
& "$PSScriptRoot\BuildWinArm64.ps1"
7+
& "$PSScriptRoot\BuildWinStore.ps1"
78
& "$PSScriptRoot\BuildMacOSX64.ps1"
9+
& "$PSScriptRoot\BuildMacOSArm64.ps1"
810
& "$PSScriptRoot\BuildLinuxX64.ps1"
11+
& "$PSScriptRoot\BuildLinuxArm64.ps1"

scripts/BuildLinuxArm64.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ param()
33
[string] $Product = "Mzinga"
44
[string] $Target = "LinuxArm64"
55

6-
& "$PSScriptRoot\Build.ps1" -Product $Product -Target $Target -BuildArgs "-target:Publish -p:RuntimeIdentifier=linux-arm64 -p:PublishSingleFile=true -p:PublishTrimmed=true -p:IncludeAllContentForSelfExtract=true -p:EnableCompressionInSingleFile=true"
6+
& "$PSScriptRoot\Build.ps1" -Product $Product -Target $Target -BuildArgs "-target:Publish -p:RuntimeIdentifier=linux-arm64 -p:PublishSingleFile=true -p:PublishTrimmed=true -p:IncludeAllContentForSelfExtract=true -p:EnableCompressionInSingleFile=true -p:SelfContained=true"
77

88
& "$PSScriptRoot\TarRelease.ps1" -Product $Product -Target $Target

scripts/BuildLinuxX64.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ param()
33
[string] $Product = "Mzinga"
44
[string] $Target = "LinuxX64"
55

6-
& "$PSScriptRoot\Build.ps1" -Product $Product -Target $Target -BuildArgs "-target:Publish -p:RuntimeIdentifier=linux-x64 -p:PublishSingleFile=true -p:PublishTrimmed=true -p:IncludeAllContentForSelfExtract=true -p:EnableCompressionInSingleFile=true"
6+
& "$PSScriptRoot\Build.ps1" -Product $Product -Target $Target -BuildArgs "-target:Publish -p:RuntimeIdentifier=linux-x64 -p:PublishSingleFile=true -p:PublishTrimmed=true -p:IncludeAllContentForSelfExtract=true -p:EnableCompressionInSingleFile=true -p:SelfContained=true"
77

88
& "$PSScriptRoot\TarRelease.ps1" -Product $Product -Target $Target

scripts/BuildMacOSArm64.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[string] $Product = "Mzinga"
22
[string] $Target = "MacOSArm64"
33

4-
& "$PSScriptRoot\Build.ps1" -Product $Product -Target $Target -BuildArgs "-t:BundleApp -p:RuntimeIdentifier=osx-arm64 -p:PublishTrimmed=true -p:IncludeAllContentForSelfExtract=true" -ProjectPath "src\$Product.Viewer\$Product.Viewer.csproj"
4+
& "$PSScriptRoot\Build.ps1" -Product $Product -Target $Target -BuildArgs "-t:BundleApp -p:RuntimeIdentifier=osx-arm64 -p:PublishTrimmed=true -p:IncludeAllContentForSelfExtract=true -p:SelfContained=true" -ProjectPath "src\$Product.Viewer\$Product.Viewer.csproj"
55

66
# Remove everything except the app bundle
77
Get-Childitem "$PSScriptRoot\..\bld\$Product.$Target\" -Exclude "MzingaViewer.app" | Remove-Item -Recurse
88

9-
& "$PSScriptRoot\Build.ps1" -Product $Product -Target $Target -Clean $False -BuildArgs "-t:Publish -p:RuntimeIdentifier=osx-arm64 -p:PublishSingleFile=true -p:PublishTrimmed=true -p:IncludeAllContentForSelfExtract=true -p:EnableCompressionInSingleFile=true"
9+
& "$PSScriptRoot\Build.ps1" -Product $Product -Target $Target -Clean $False -BuildArgs "-t:Publish -p:RuntimeIdentifier=osx-arm64 -p:PublishSingleFile=true -p:PublishTrimmed=true -p:IncludeAllContentForSelfExtract=true -p:EnableCompressionInSingleFile=true -p:SelfContained=true"
1010

1111
# Remove unbundled MzingaViewer
1212
Remove-Item "$PSScriptRoot\..\bld\$Product.$Target\MzingaViewer"

scripts/BuildMacOSX64.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[string] $Product = "Mzinga"
22
[string] $Target = "MacOSX64"
33

4-
& "$PSScriptRoot\Build.ps1" -Product $Product -Target $Target -BuildArgs "-t:BundleApp -p:RuntimeIdentifier=osx-x64 -p:PublishTrimmed=true -p:IncludeAllContentForSelfExtract=true" -ProjectPath "src\$Product.Viewer\$Product.Viewer.csproj"
4+
& "$PSScriptRoot\Build.ps1" -Product $Product -Target $Target -BuildArgs "-t:BundleApp -p:RuntimeIdentifier=osx-x64 -p:PublishTrimmed=true -p:IncludeAllContentForSelfExtract=true -p:SelfContained=true" -ProjectPath "src\$Product.Viewer\$Product.Viewer.csproj"
55

66
# Remove everything except the app bundle
77
Get-Childitem "$PSScriptRoot\..\bld\$Product.$Target\" -Exclude "MzingaViewer.app" | Remove-Item -Recurse
88

9-
& "$PSScriptRoot\Build.ps1" -Product $Product -Target $Target -Clean $False -BuildArgs "-t:Publish -p:RuntimeIdentifier=osx-x64 -p:PublishSingleFile=true -p:PublishTrimmed=true -p:IncludeAllContentForSelfExtract=true -p:EnableCompressionInSingleFile=true"
9+
& "$PSScriptRoot\Build.ps1" -Product $Product -Target $Target -Clean $False -BuildArgs "-t:Publish -p:RuntimeIdentifier=osx-x64 -p:PublishSingleFile=true -p:PublishTrimmed=true -p:IncludeAllContentForSelfExtract=true -p:EnableCompressionInSingleFile=true -p:SelfContained=true"
1010

1111
# Remove unbundled MzingaViewer
1212
Remove-Item "$PSScriptRoot\..\bld\$Product.$Target\MzingaViewer"

scripts/BuildWinArm64.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ param()
33
[string] $Product = "Mzinga"
44
[string] $Target = "WinArm64"
55

6-
& "$PSScriptRoot\Build.ps1" -Product $Product -Target $Target -BuildArgs "-target:Publish -p:RuntimeIdentifier=win-arm64 -p:PublishSingleFile=true -p:PublishTrimmed=true -p:IncludeAllContentForSelfExtract=true -p:EnableCompressionInSingleFile=true"
6+
& "$PSScriptRoot\Build.ps1" -Product $Product -Target $Target -BuildArgs "-target:Publish -p:RuntimeIdentifier=win-arm64 -p:PublishSingleFile=true -p:PublishTrimmed=true -p:IncludeAllContentForSelfExtract=true -p:EnableCompressionInSingleFile=true -p:SelfContained=true"
77

88
& "$PSScriptRoot\ZipRelease.ps1" -Product $Product -Target $Target

0 commit comments

Comments
 (0)