From 587b56440f522371bb35982c92d9d12d68bcf4fc Mon Sep 17 00:00:00 2001 From: Daniil Pavliuchyk Date: Wed, 6 Dec 2023 14:53:56 +0200 Subject: [PATCH] Update templates to 11.0.6 --- Avalonia.Templates.csproj | 2 +- readme.md | 18 +++++++++--------- .../app-mvvm/.template.config/template.json | 10 +++++----- .../csharp/app/.template.config/template.json | 10 +++++----- templates/csharp/xplat/Directory.Build.props | 2 +- .../app-mvvm/.template.config/template.json | 10 +++++----- .../fsharp/app/.template.config/template.json | 10 +++++----- templates/fsharp/xplat/Directory.Build.props | 2 +- tests/build-test.ps1 | 8 ++++---- 9 files changed, 36 insertions(+), 36 deletions(-) diff --git a/Avalonia.Templates.csproj b/Avalonia.Templates.csproj index 546bbf6e..15b53de9 100644 --- a/Avalonia.Templates.csproj +++ b/Avalonia.Templates.csproj @@ -2,7 +2,7 @@ Template - 11.0.5 + 11.0.6 Avalonia.Templates Avalonia Templates Templates for creating Avalonia applications and libraries. diff --git a/readme.md b/readme.md index 9821a244..c2a92a5b 100644 --- a/readme.md +++ b/readme.md @@ -6,7 +6,7 @@ For more information about `dotnet new` templates see [here](https://blogs.msdn. ## Installing the templates -Run from a command line (`.NET 7`): +Run from a command line (`.NET 7+`): ```powershell dotnet new install Avalonia.Templates @@ -50,17 +50,17 @@ Available parameters: *Description*: The target framework for the project. -*Options*: **net6.0**, **net7.0** +*Options*: **net6.0**, **net7.0**, **net8.0** -*By default*: net6.0 +*By default*: net8.0 ``-av, --avalonia-version`` *Description*: The target version of Avalonia NuGet packages. -*Options*: **0.10.21**, **11.0.5** +*Options*: **0.10.21**, **11.0.6** -*By default*: 11.0.5 +*By default*: 11.0.6 ``-cb, --compiled-bindings`` @@ -91,17 +91,17 @@ Available parameters: *Description*: The target framework for the project. -*Options*: **net6.0**, **net7.0** +*Options*: **net6.0**, **net7.0**, **net8.0** -*By default*: net6.0 +*By default*: net8.0 ``-av, --avalonia-version`` *Description*: The target version of Avalonia NuGet packages. -*Options*: **0.10.21**, **11.0.5** +*Options*: **0.10.21**, **11.0.6** -*By default*: 11.0.5 +*By default*: 11.0.6 ``-cb, --compiled-bindings`` diff --git a/templates/csharp/app-mvvm/.template.config/template.json b/templates/csharp/app-mvvm/.template.config/template.json index f3f4ce4b..980286dd 100644 --- a/templates/csharp/app-mvvm/.template.config/template.json +++ b/templates/csharp/app-mvvm/.template.config/template.json @@ -76,16 +76,16 @@ "description": "Target 0.10.21" }, { - "choice": "11.0.5", - "description": "Target 11.0.5 (Latest stable)" + "choice": "11.0.6", + "description": "Target 11.0.6 (Latest stable)" } ], "replaces": "AvaloniaVersionTemplateParameter", - "defaultValue": "11.0.5" + "defaultValue": "11.0.6" }, "AvaloniaStableChosen": { "type": "computed", - "value": "(AvaloniaVersion == \"11.0.5\")" + "value": "(AvaloniaVersion == \"11.0.6\")" }, "UseCompiledBindings": { "type": "parameter", @@ -93,7 +93,7 @@ "datatype": "bool", "displayName": "Use compiled Bindings", "defaultValue": "true", - "isEnabled": "(AvaloniaVersion == \"11.0.5\")" + "isEnabled": "(AvaloniaVersion == \"11.0.6\")" }, "RemoveViewLocator": { "type": "parameter", diff --git a/templates/csharp/app/.template.config/template.json b/templates/csharp/app/.template.config/template.json index 5cf42c3a..1e0ab6ff 100644 --- a/templates/csharp/app/.template.config/template.json +++ b/templates/csharp/app/.template.config/template.json @@ -52,16 +52,16 @@ "description": "Target 0.10.21" }, { - "choice": "11.0.5", - "description": "Target 11.0.5 (Latest stable)" + "choice": "11.0.6", + "description": "Target 11.0.6 (Latest stable)" } ], "replaces": "AvaloniaVersionTemplateParameter", - "defaultValue": "11.0.5" + "defaultValue": "11.0.6" }, "AvaloniaStableChosen": { "type": "computed", - "value": "(AvaloniaVersion == \"11.0.5\")" + "value": "(AvaloniaVersion == \"11.0.6\")" }, "UseCompiledBindings": { "type": "parameter", @@ -69,7 +69,7 @@ "datatype": "bool", "displayName": "Use compiled Bindings", "defaultValue": "true", - "isEnabled": "(AvaloniaVersion == \"11.0.5\")" + "isEnabled": "(AvaloniaVersion == \"11.0.6\")" }, "HostIdentifier": { "type": "bind", diff --git a/templates/csharp/xplat/Directory.Build.props b/templates/csharp/xplat/Directory.Build.props index 28f59c38..b7d1f090 100644 --- a/templates/csharp/xplat/Directory.Build.props +++ b/templates/csharp/xplat/Directory.Build.props @@ -1,6 +1,6 @@ enable - 11.0.5 + 11.0.6 diff --git a/templates/fsharp/app-mvvm/.template.config/template.json b/templates/fsharp/app-mvvm/.template.config/template.json index e78bf4c5..c33312c4 100644 --- a/templates/fsharp/app-mvvm/.template.config/template.json +++ b/templates/fsharp/app-mvvm/.template.config/template.json @@ -76,16 +76,16 @@ "description": "Target 0.10.21" }, { - "choice": "11.0.5", - "description": "Target 11.0.5 (Latest stable)" + "choice": "11.0.6", + "description": "Target 11.0.6 (Latest stable)" } ], "replaces": "AvaloniaVersionTemplateParameter", - "defaultValue": "11.0.5" + "defaultValue": "11.0.6" }, "AvaloniaStableChosen": { "type": "computed", - "value": "(AvaloniaVersion == \"11.0.5\")" + "value": "(AvaloniaVersion == \"11.0.6\")" }, "UseCompiledBindings": { "type": "parameter", @@ -93,7 +93,7 @@ "datatype": "bool", "displayName": "Use compiled Bindings", "defaultValue": "true", - "isEnabled": "(AvaloniaVersion == \"11.0.5\")" + "isEnabled": "(AvaloniaVersion == \"11.0.6\")" }, "RemoveViewLocator": { "type": "parameter", diff --git a/templates/fsharp/app/.template.config/template.json b/templates/fsharp/app/.template.config/template.json index ce363277..3fbf6f57 100644 --- a/templates/fsharp/app/.template.config/template.json +++ b/templates/fsharp/app/.template.config/template.json @@ -52,16 +52,16 @@ "description": "Target 0.10.21" }, { - "choice": "11.0.5", - "description": "Target 11.0.5 (Latest stable)" + "choice": "11.0.6", + "description": "Target 11.0.6 (Latest stable)" } ], "replaces": "AvaloniaVersionTemplateParameter", - "defaultValue": "11.0.5" + "defaultValue": "11.0.6" }, "AvaloniaStableChosen": { "type": "computed", - "value": "(AvaloniaVersion == \"11.0.5\")" + "value": "(AvaloniaVersion == \"11.0.6\")" }, "UseCompiledBindings": { "type": "parameter", @@ -69,7 +69,7 @@ "datatype": "bool", "displayName": "Use compiled Bindings", "defaultValue": "true", - "isEnabled": "(AvaloniaVersion == \"11.0.5\")" + "isEnabled": "(AvaloniaVersion == \"11.0.6\")" }, "HostIdentifier": { "type": "bind", diff --git a/templates/fsharp/xplat/Directory.Build.props b/templates/fsharp/xplat/Directory.Build.props index 70b81ac9..9b65e5ec 100644 --- a/templates/fsharp/xplat/Directory.Build.props +++ b/templates/fsharp/xplat/Directory.Build.props @@ -1,5 +1,5 @@ - 11.0.5 + 11.0.6 diff --git a/tests/build-test.ps1 b/tests/build-test.ps1 index b8d27c7b..43057460 100644 --- a/tests/build-test.ps1 +++ b/tests/build-test.ps1 @@ -98,7 +98,7 @@ Create-And-Build "avalonia.app" "AvaloniaApp" "C#" "f" "net6.0" $binlog Create-And-Build "avalonia.app" "AvaloniaApp" "C#" "f" "net7.0" $binlog Create-And-Build "avalonia.app" "AvaloniaApp" "C#" "f" "net8.0" $binlog Create-And-Build "avalonia.app" "AvaloniaApp" "C#" "av" "0.10.21" $binlog -Create-And-Build "avalonia.app" "AvaloniaApp" "C#" "av" "11.0.5" $binlog +Create-And-Build "avalonia.app" "AvaloniaApp" "C#" "av" "11.0.6" $binlog Create-And-Build "avalonia.app" "AvaloniaApp" "C#" "cb" "true" $binlog Create-And-Build "avalonia.app" "AvaloniaApp" "C#" "cb" "false" $binlog @@ -107,7 +107,7 @@ Test-Template "avalonia.mvvm" "AvaloniaMvvm" "C#" "f" "net6.0" $binlog Test-Template "avalonia.mvvm" "AvaloniaMvvm" "C#" "f" "net7.0" $binlog Test-Template "avalonia.mvvm" "AvaloniaMvvm" "C#" "f" "net8.0" $binlog Create-And-Build "avalonia.mvvm" "AvaloniaMvvm" "C#" "av" "0.10.21" $binlog -Create-And-Build "avalonia.mvvm" "AvaloniaMvvm" "C#" "av" "11.0.5" $binlog +Create-And-Build "avalonia.mvvm" "AvaloniaMvvm" "C#" "av" "11.0.6" $binlog Create-And-Build "avalonia.mvvm" "AvaloniaMvvm" "C#" "m" "ReactiveUI" $binlog Create-And-Build "avalonia.mvvm" "AvaloniaMvvm" "C#" "m" "CommunityToolkit" $binlog Create-And-Build "avalonia.mvvm" "AvaloniaMvvm" "C#" "cb" "true" $binlog @@ -125,7 +125,7 @@ Create-And-Build "avalonia.app" "AvaloniaApp" "F#" "f" "net6.0" $binlog Create-And-Build "avalonia.app" "AvaloniaApp" "F#" "f" "net7.0" $binlog Create-And-Build "avalonia.app" "AvaloniaApp" "F#" "f" "net8.0" $binlog Create-And-Build "avalonia.app" "AvaloniaApp" "F#" "av" "0.10.21" $binlog -Create-And-Build "avalonia.app" "AvaloniaApp" "F#" "av" "11.0.5" $binlog +Create-And-Build "avalonia.app" "AvaloniaApp" "F#" "av" "11.0.6" $binlog Create-And-Build "avalonia.app" "AvaloniaApp" "F#" "cb" "true" $binlog Create-And-Build "avalonia.app" "AvaloniaApp" "F#" "cb" "false" $binlog @@ -133,7 +133,7 @@ Test-Template "avalonia.mvvm" "AvaloniaMvvm" "F#" "f" "net6.0" $binlog Test-Template "avalonia.mvvm" "AvaloniaMvvm" "F#" "f" "net7.0" $binlog Test-Template "avalonia.mvvm" "AvaloniaMvvm" "F#" "f" "net8.0" $binlog Create-And-Build "avalonia.mvvm" "AvaloniaMvvm" "F#" "av" "0.10.21" $binlog -Create-And-Build "avalonia.mvvm" "AvaloniaMvvm" "F#" "av" "11.0.5" $binlog +Create-And-Build "avalonia.mvvm" "AvaloniaMvvm" "F#" "av" "11.0.6" $binlog Create-And-Build "avalonia.mvvm" "AvaloniaMvvm" "F#" "m" "ReactiveUI" $binlog Create-And-Build "avalonia.mvvm" "AvaloniaMvvm" "F#" "m" "CommunityToolkit" $binlog Create-And-Build "avalonia.mvvm" "AvaloniaMvvm" "F#" "cb" "true" $binlog