mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-22 19:15:34 +00:00
Update to .NET 6 (#315)
* Update to .NET 6 I update not only samples, but also codegen tools, because .NET 5 is not LTS and in 4 month would be out Closes #306 * Add .NET 6.0 support to actual templates * Dont forget about FSharp and VB.NET * Revert choice option in parameters
This commit is contained in:
parent
ff3c53f6c5
commit
84f337b046
|
@ -1,7 +1,7 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
<OutputPath>..\..\BuildOutput\Samples</OutputPath>
|
||||
</PropertyGroup>
|
||||
|
|
|
@ -18,8 +18,9 @@
|
|||
"symbols": {
|
||||
"targetframework": {
|
||||
"type": "parameter",
|
||||
"defaultValue": "net5.0",
|
||||
"replaces": "net5.0"
|
||||
"description": "The target framework for the project.",
|
||||
"defaultValue": "net6.0",
|
||||
"replaces": "$(FrameworkParameter)"
|
||||
}
|
||||
},
|
||||
"primaryOutputs": [
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
<PropertyGroup>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<TargetFramework>$(FrameworkParameter)</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
@ -18,8 +18,9 @@
|
|||
"symbols": {
|
||||
"targetframework": {
|
||||
"type": "parameter",
|
||||
"defaultValue": "net5.0",
|
||||
"replaces": "net5.0"
|
||||
"description": "The target framework for the project.",
|
||||
"defaultValue": "net6.0",
|
||||
"replaces": "$(FrameworkParameter)"
|
||||
}
|
||||
},
|
||||
"primaryOutputs": [
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<TargetFramework>$(FrameworkParameter)</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
@ -18,8 +18,9 @@
|
|||
"symbols": {
|
||||
"targetframework": {
|
||||
"type": "parameter",
|
||||
"defaultValue": "net5.0",
|
||||
"replaces": "net5.0"
|
||||
"description": "The target framework for the project.",
|
||||
"defaultValue": "net6.0",
|
||||
"replaces": "$(FrameworkParameter)"
|
||||
}
|
||||
},
|
||||
"primaryOutputs": [
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
<PropertyGroup>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<TargetFramework>$(FrameworkParameter)</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<OutputPath>..\..\..\BuildOutput\Tools</OutputPath>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
</PropertyGroup>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<OutputPath>..\..\..\BuildOutput\Tools</OutputPath>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
</PropertyGroup>
|
||||
|
|
|
@ -13,6 +13,12 @@ pool:
|
|||
vmImage: 'ubuntu-latest'
|
||||
|
||||
steps:
|
||||
- task: UseDotNet@2
|
||||
displayName: 'Use .NET Core SDK'
|
||||
inputs:
|
||||
version: 6.0.101
|
||||
includePreviewVersions: false
|
||||
|
||||
- script: echo "##vso[build.updatebuildnumber]$(version)"
|
||||
displayName: 'Set Build Number'
|
||||
|
||||
|
|
Loading…
Reference in a new issue