From af451161ffdd0c47e981634d48102907f790dcd1 Mon Sep 17 00:00:00 2001 From: Mrxx99 <33566379+Mrxx99@users.noreply.github.com> Date: Sat, 20 May 2023 06:16:36 +0000 Subject: [PATCH] updated to 0.10.21 --- Avalonia.Templates.csproj | 2 +- readme.md | 8 ++++---- .../csharp/app-mvvm/.template.config/template.json | 10 +++++----- templates/csharp/app/.template.config/template.json | 10 +++++----- .../fsharp/app-mvvm/.template.config/template.json | 10 +++++----- templates/fsharp/app/.template.config/template.json | 10 +++++----- tests/build-test.ps1 | 8 ++++---- 7 files changed, 29 insertions(+), 29 deletions(-) diff --git a/Avalonia.Templates.csproj b/Avalonia.Templates.csproj index 3d6a85ba..637e6898 100644 --- a/Avalonia.Templates.csproj +++ b/Avalonia.Templates.csproj @@ -2,7 +2,7 @@ Template - 0.10.20 + 0.10.21 Avalonia.Templates Avalonia Templates Templates for creating Avalonia applications and libraries. diff --git a/readme.md b/readme.md index 6d769ad0..4f748ebc 100644 --- a/readme.md +++ b/readme.md @@ -58,9 +58,9 @@ Available parameters: *Description*: The target version of Avalonia NuGet packages. -*Options*: **0.10.19**, **11.0.0-preview8** +*Options*: **0.10.21**, **11.0.0-preview8** -*By default*: 0.10.19 +*By default*: 0.10.21 ``-cb, --compiled-bindings`` @@ -99,9 +99,9 @@ Available parameters: *Description*: The target version of Avalonia NuGet packages. -*Options*: **0.10.19**, **11.0.0-preview8** +*Options*: **0.10.21**, **11.0.0-preview8** -*By default*: 0.10.19 +*By default*: 0.10.21 ``-cb, --compiled-bindings`` diff --git a/templates/csharp/app-mvvm/.template.config/template.json b/templates/csharp/app-mvvm/.template.config/template.json index bf3364f2..109511a1 100644 --- a/templates/csharp/app-mvvm/.template.config/template.json +++ b/templates/csharp/app-mvvm/.template.config/template.json @@ -68,8 +68,8 @@ "datatype": "choice", "choices": [ { - "choice": "0.10.20", - "description": "Target 0.10.20 (Latest stable)." + "choice": "0.10.21", + "description": "Target 0.10.21 (Latest stable)." }, { "choice": "11.0.0-preview8", @@ -77,11 +77,11 @@ } ], "replaces": "AvaloniaVersionTemplateParameter", - "defaultValue": "0.10.20" + "defaultValue": "0.10.21" }, "AvaloniaStableChosen": { "type": "computed", - "value": "(AvaloniaVersion == \"0.10.20\")" + "value": "(AvaloniaVersion == \"0.10.21\")" }, "UseCompiledBindings": { "type": "parameter", @@ -89,7 +89,7 @@ "datatype": "bool", "displayName": "Use compiled Bindings", "defaultValue": "true", - "isEnabled": "(AvaloniaVersion != \"0.10.20\")" + "isEnabled": "(AvaloniaVersion != \"0.10.21\")" }, "HostIdentifier": { "type": "bind", diff --git a/templates/csharp/app/.template.config/template.json b/templates/csharp/app/.template.config/template.json index df5fe2ab..ed44e55c 100644 --- a/templates/csharp/app/.template.config/template.json +++ b/templates/csharp/app/.template.config/template.json @@ -44,8 +44,8 @@ "datatype": "choice", "choices": [ { - "choice": "0.10.20", - "description": "Target 0.10.20 (Latest stable)." + "choice": "0.10.21", + "description": "Target 0.10.21 (Latest stable)." }, { "choice": "11.0.0-preview8", @@ -53,11 +53,11 @@ } ], "replaces": "AvaloniaVersionTemplateParameter", - "defaultValue": "0.10.20" + "defaultValue": "0.10.21" }, "AvaloniaStableChosen": { "type": "computed", - "value": "(AvaloniaVersion == \"0.10.20\")" + "value": "(AvaloniaVersion == \"0.10.21\")" }, "UseCompiledBindings": { "type": "parameter", @@ -65,7 +65,7 @@ "datatype": "bool", "displayName": "Use compiled Bindings", "defaultValue": "true", - "isEnabled": "(AvaloniaVersion != \"0.10.20\")" + "isEnabled": "(AvaloniaVersion != \"0.10.21\")" }, "HostIdentifier": { "type": "bind", diff --git a/templates/fsharp/app-mvvm/.template.config/template.json b/templates/fsharp/app-mvvm/.template.config/template.json index 85e6d250..01234d58 100644 --- a/templates/fsharp/app-mvvm/.template.config/template.json +++ b/templates/fsharp/app-mvvm/.template.config/template.json @@ -68,8 +68,8 @@ "datatype": "choice", "choices": [ { - "choice": "0.10.20", - "description": "Target 0.10.20 (Latest stable)." + "choice": "0.10.21", + "description": "Target 0.10.21 (Latest stable)." }, { "choice": "11.0.0-preview8", @@ -77,11 +77,11 @@ } ], "replaces": "AvaloniaVersionTemplateParameter", - "defaultValue": "0.10.20" + "defaultValue": "0.10.21" }, "AvaloniaStableChosen": { "type": "computed", - "value": "(AvaloniaVersion == \"0.10.20\")" + "value": "(AvaloniaVersion == \"0.10.21\")" }, "UseCompiledBindings": { "type": "parameter", @@ -89,7 +89,7 @@ "datatype": "bool", "displayName": "Use compiled Bindings", "defaultValue": "true", - "isEnabled": "(AvaloniaVersion != \"0.10.20\")" + "isEnabled": "(AvaloniaVersion != \"0.10.21\")" }, "HostIdentifier": { "type": "bind", diff --git a/templates/fsharp/app/.template.config/template.json b/templates/fsharp/app/.template.config/template.json index ebc46958..5f4df2bb 100644 --- a/templates/fsharp/app/.template.config/template.json +++ b/templates/fsharp/app/.template.config/template.json @@ -44,8 +44,8 @@ "datatype": "choice", "choices": [ { - "choice": "0.10.20", - "description": "Target 0.10.20 (Latest stable)." + "choice": "0.10.21", + "description": "Target 0.10.21 (Latest stable)." }, { "choice": "11.0.0-preview8", @@ -53,11 +53,11 @@ } ], "replaces": "AvaloniaVersionTemplateParameter", - "defaultValue": "0.10.20" + "defaultValue": "0.10.21" }, "AvaloniaStableChosen": { "type": "computed", - "value": "(AvaloniaVersion == \"0.10.20\")" + "value": "(AvaloniaVersion == \"0.10.21\")" }, "UseCompiledBindings": { "type": "parameter", @@ -65,7 +65,7 @@ "datatype": "bool", "displayName": "Use compiled Bindings", "defaultValue": "true", - "isEnabled": "(AvaloniaVersion != \"0.10.20\")" + "isEnabled": "(AvaloniaVersion != \"0.10.21\")" }, "HostIdentifier": { "type": "bind", diff --git a/tests/build-test.ps1 b/tests/build-test.ps1 index d3ed9cb9..62e11ac8 100644 --- a/tests/build-test.ps1 +++ b/tests/build-test.ps1 @@ -96,7 +96,7 @@ $binlog = [IO.Path]::GetFullPath([IO.Path]::Combine($pwd, "..", "binlog", "test. 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#" "av" "0.10.20" $binlog +Create-And-Build "avalonia.app" "AvaloniaApp" "C#" "av" "0.10.21" $binlog Create-And-Build "avalonia.app" "AvaloniaApp" "C#" "av" "11.0.0-preview8" $binlog Create-And-Build "avalonia.app" "AvaloniaApp" "C#" "cb" "true" $binlog Create-And-Build "avalonia.app" "AvaloniaApp" "C#" "cb" "false" $binlog @@ -104,7 +104,7 @@ Create-And-Build "avalonia.app" "AvaloniaApp" "C#" "cb" "false" $binlog # Build the project only twice with all item templates,once with .net6.0 tfm and once with .net7.0 tfm for C# and F# Test-Template "avalonia.mvvm" "AvaloniaMvvm" "C#" "f" "net6.0" $binlog Test-Template "avalonia.mvvm" "AvaloniaMvvm" "C#" "f" "net7.0" $binlog -Create-And-Build "avalonia.mvvm" "AvaloniaMvvm" "C#" "av" "0.10.20" $binlog +Create-And-Build "avalonia.mvvm" "AvaloniaMvvm" "C#" "av" "0.10.21" $binlog Create-And-Build "avalonia.mvvm" "AvaloniaMvvm" "C#" "av" "11.0.0-preview8" $binlog Create-And-Build "avalonia.mvvm" "AvaloniaMvvm" "C#" "m" "ReactiveUI" $binlog Create-And-Build "avalonia.mvvm" "AvaloniaMvvm" "C#" "m" "CommunityToolkit" $binlog @@ -117,14 +117,14 @@ Create-And-Build "avalonia.xplat" "AvaloniaXplat" "C#" "cb" "false" $binlog 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#" "av" "0.10.20" $binlog +Create-And-Build "avalonia.app" "AvaloniaApp" "F#" "av" "0.10.21" $binlog Create-And-Build "avalonia.app" "AvaloniaApp" "F#" "av" "11.0.0-preview8" $binlog Create-And-Build "avalonia.app" "AvaloniaApp" "F#" "cb" "true" $binlog Create-And-Build "avalonia.app" "AvaloniaApp" "F#" "cb" "false" $binlog Test-Template "avalonia.mvvm" "AvaloniaMvvm" "F#" "f" "net6.0" $binlog Test-Template "avalonia.mvvm" "AvaloniaMvvm" "F#" "f" "net7.0" $binlog -Create-And-Build "avalonia.mvvm" "AvaloniaMvvm" "F#" "av" "0.10.20" $binlog +Create-And-Build "avalonia.mvvm" "AvaloniaMvvm" "F#" "av" "0.10.21" $binlog Create-And-Build "avalonia.mvvm" "AvaloniaMvvm" "F#" "av" "11.0.0-preview8" $binlog Create-And-Build "avalonia.mvvm" "AvaloniaMvvm" "F#" "m" "ReactiveUI" $binlog Create-And-Build "avalonia.mvvm" "AvaloniaMvvm" "F#" "m" "CommunityToolkit" $binlog