Skip to content

Commit

Permalink
upgrade to net8
Browse files Browse the repository at this point in the history
  • Loading branch information
lytico committed Dec 7, 2023
1 parent fd96847 commit 167c3ee
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v1
with:
dotnet-version: '7.0.x'
dotnet-version: '8.0.x'
- name: Restore dotnet tools
run: dotnet tool restore
- name: Run build.cake
Expand Down
2 changes: 1 addition & 1 deletion Source/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<_GtkSharpNetVersion>7.0</_GtkSharpNetVersion>
<_GtkSharpNetVersion>8.0</_GtkSharpNetVersion>
<_GtkSharpSourceDirectory>$(MSBuildThisFileDirectory)</_GtkSharpSourceDirectory>
<_GtkSharpBuildOutputDirectory>$(MSBuildThisFileDirectory)..\BuildOutput\</_GtkSharpBuildOutputDirectory>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion Source/Samples/Samples.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<OutputPath>..\..\BuildOutput\Samples</OutputPath>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"targetframework": {
"type": "parameter",
"description": "The target framework for the project.",
"defaultValue": "net7.0",
"defaultValue": "net8.0",
"replaces": "$(FrameworkParameter)"
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"targetframework": {
"type": "parameter",
"description": "The target framework for the project.",
"defaultValue": "net7.0",
"defaultValue": "net8.0",
"replaces": "$(FrameworkParameter)"
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"targetframework": {
"type": "parameter",
"description": "The target framework for the project.",
"defaultValue": "net7.0",
"defaultValue": "net8.0",
"replaces": "$(FrameworkParameter)"
}
},
Expand Down
2 changes: 1 addition & 1 deletion Source/Tools/GapiCodegen/GapiCodegen.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<OutputPath>..\..\..\BuildOutput\Tools</OutputPath>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion Source/Tools/GapiFixup/GapiFixup.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<OutputPath>..\..\..\BuildOutput\Tools</OutputPath>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion Source/Workload/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<_GtkSharpVersion>$([System.Text.RegularExpressions.Regex]::Match($(Version), '(\d+)\.(\d+)'))</_GtkSharpVersion>
<_GtkSharpTfm>net$(_GtkSharpNetVersion)-gtk</_GtkSharpTfm>
<_GtkSharpFullTfm>net$(_GtkSharpNetVersion)-gtk$(_GtkSharpVersion)</_GtkSharpFullTfm>
<_GtkSharpManifestVersionBand Condition=" '$(_GtkSharpManifestVersionBand)' == '' ">7.0.400</_GtkSharpManifestVersionBand>
<_GtkSharpManifestVersionBand Condition=" '$(_GtkSharpManifestVersionBand)' == '' ">8.0.100</_GtkSharpManifestVersionBand>
<!-- Folder format somewhat similar to packs in .NET, making stuff easier to install -->
<OutputPath>$(_GtkSharpBuildOutputDirectory)WorkloadPacks\$(Configuration)\$(MSBuildProjectName)\$(Version)</OutputPath>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion Source/Workload/GtkSharp.Sdk/GtkSharp.Sdk.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<Import Project="..\Shared\Common.targets" />

<PropertyGroup>
<Description>GtkSharp SDK. Enabled via the net7.0-gtk TFM.</Description>
<Description>GtkSharp SDK. Enabled via the net8.0-gtk TFM.</Description>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Source/Workload/GtkSharp.Sdk/Sdk/Sdk.in.targets
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<!-- GtkSharp target from the original nuget package -->
<Import Project="..\targets\GtkSharp.targets" />

<!-- Register net7.0-gtk3.24 TFM -->
<!-- Register net8.0-gtk3.24 TFM -->
<ItemGroup>
<SupportedPlatform Include="gtk" />
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Source/Workload/Shared/Frameworks.targets
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<ItemGroup>
<_RootAttribute Include="Name" Value="GtkSharp" />
<_RootAttribute Include="TargetFrameworkIdentifier" Value=".NETCoreApp" />
<_RootAttribute Include="TargetFrameworkVersion" Value="7.0" />
<_RootAttribute Include="TargetFrameworkVersion" Value="8.0" />
<_RootAttribute Include="FrameworkName" Value="$(MSBuildProjectName.Replace('.Ref','').Replace('.Runtime',''))" />
<_AssemblyFiles Include="@(_PackageFiles)" Condition=" '%(_PackageFiles.Extension)' == '.dll' and '%(_PackageFiles.SubFolder)' == '' " />
<_Classifications Include="@(_AssemblyFiles->'%(FileName)%(Extension)'->Distinct())" Profile="GTK" />
Expand Down
2 changes: 1 addition & 1 deletion build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ var configuration = Argument("Configuration", "Release");

var msbuildsettings = new DotNetMSBuildSettings();
var list = new List<GAssembly>();
var supportedVersionBands = new List<string>() {"6.0.100", "6.0.200", "6.0.300", "6.0.400","7.0.400"};
var supportedVersionBands = new List<string>() {"6.0.100", "6.0.200", "6.0.300", "6.0.400", "7.0.400", "8.0.100"};

// TASKS

Expand Down

0 comments on commit 167c3ee

Please sign in to comment.