Skip to content

Commit

Permalink
Update to use .NET 6
Browse files Browse the repository at this point in the history
This is the LTS release so it seems sensible to update to this version before the 1.8 release.
  • Loading branch information
cameronwhite committed Nov 20, 2021
1 parent 716df85 commit 1f882e4
Show file tree
Hide file tree
Showing 12 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- cron: '0 0 * * 0'

env:
DOTNET_VERSION: 5.0.x
DOTNET_VERSION: 6.0.x

jobs:
build-ubuntu:
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Thanks to the following contributors who worked on this release:
- @jefetienne

### Added
- Ported to GTK3 and .NET 5
- Ported to GTK3 and .NET 6
- Many changes to the appearance of standard GTK widgets and dialogs (e.g. the color picker and file dialogs). GTK3 themes should also now be supported.
- Improved support for high-DPI displays.
- The platform-native file dialogs are now used ([#1909807](https://bugs.launchpad.net/pinta/+bug/1909807), [#1909664](https://bugs.launchpad.net/pinta/+bug/1909664)).
Expand Down
2 changes: 1 addition & 1 deletion Pinta.Core/Pinta.Core.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<RootNamespace>Pinta.Core</RootNamespace>
<AssemblyName>Pinta.Core</AssemblyName>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
Expand Down
2 changes: 1 addition & 1 deletion Pinta.Docking/Pinta.Docking.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>

<RootNamespace>Pinta.Docking</RootNamespace>
Expand Down
2 changes: 1 addition & 1 deletion Pinta.Effects/Pinta.Effects.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<RootNamespace>Pinta.Effects</RootNamespace>
<AssemblyName>Pinta.Effects</AssemblyName>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
Expand Down
2 changes: 1 addition & 1 deletion Pinta.Gui.Widgets/Pinta.Gui.Widgets.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<RootNamespace>Pinta.Gui.Widgets</RootNamespace>
<AssemblyName>Pinta.Gui.Widgets</AssemblyName>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
Expand Down
2 changes: 1 addition & 1 deletion Pinta.Resources/Pinta.Resources.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<RootNamespace>Pinta.Resources</RootNamespace>
<AssemblyName>Pinta.Resources</AssemblyName>
<Nullable>enable</Nullable>
Expand Down
2 changes: 1 addition & 1 deletion Pinta.Tools/Pinta.Tools.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<RootNamespace>Pinta.Tools</RootNamespace>
<AssemblyName>Pinta.Tools</AssemblyName>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
Expand Down
2 changes: 1 addition & 1 deletion Pinta/Pinta.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<OutputType>WinExe</OutputType>
<RootNamespace>Pinta</RootNamespace>
<AssemblyName>Pinta</AssemblyName>
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if test "x$DOTNET" = "xno"; then
fi

# Check dotnet version
DOTNET_MINIMUM_VERSION=5.0
DOTNET_MINIMUM_VERSION=6.0
DOTNET_VERSION=$($DOTNET --version)
AX_COMPARE_VERSION([$DOTNET_VERSION], [ge], [$DOTNET_MINIMUM_VERSION],
AC_MSG_NOTICE([Found dotnet $DOTNET_VERSION]),
Expand Down
8 changes: 4 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,18 @@ Used under [Creative Commons Attribution 3.0 License](http://creativecommons.org
## Building on Windows

Pinta can be built by opening `Pinta.sln` in [Visual Studio](https://visualstudio.microsoft.com/).
Ensure that .NET 5 is installed via the Visual Studio installer.
Ensure that .NET 6 is installed via the Visual Studio installer.

For building on the command line:
- [Install the .NET 5 SDK](https://dotnet.microsoft.com/).
- [Install the .NET 6 SDK](https://dotnet.microsoft.com/).
- Build:
- `dotnet build`
- Run:
- `dotnet run --project Pinta`

## Building on macOS

- Install .NET 5 and GTK
- Install .NET 6 and GTK
- `brew install dotnet-sdk gtk+3 adwaita-icon-theme gettext`
- Build:
- `dotnet build`
Expand All @@ -51,7 +51,7 @@ Alternatively, Pinta can be built by opening `Pinta.sln` in [Visual Studio for M

## Building on Linux

- Install [.NET 5](https://dotnet.microsoft.com/) following the instructions for your Linux distribution.
- Install [.NET 6](https://dotnet.microsoft.com/) following the instructions for your Linux distribution.
- Install other dependencies (instructions are for Ubuntu 20.04, but should be similar for other distros):
- `sudo apt install autotools-dev autoconf-archive gettext intltool libgtk-3-dev`
- Build (option 1, for development and testing):
Expand Down
2 changes: 1 addition & 1 deletion tests/Pinta.Core.Tests/Pinta.Core.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<RootNamespace>Pinta.Core.Tests</RootNamespace>
<AssemblyName>Pinta.Core.Tests</AssemblyName>
<IsPublishable>false</IsPublishable>
Expand Down

0 comments on commit 1f882e4

Please sign in to comment.