From ceb19dfa579a36ed037138cc62d0e5baebdb8007 Mon Sep 17 00:00:00 2001 From: mrxx99 Date: Tue, 1 Aug 2023 22:12:49 +0200 Subject: [PATCH] updated to avalonia 11.0.2 --- Avalonia.Templates.csproj | 2 +- readme.md | 8 ++++---- .../csharp/app-mvvm/.template.config/template.json | 10 +++++----- templates/csharp/app/.template.config/template.json | 10 +++++----- templates/csharp/xplat/Directory.Build.props | 2 +- .../fsharp/app-mvvm/.template.config/template.json | 10 +++++----- templates/fsharp/app/.template.config/template.json | 10 +++++----- templates/fsharp/xplat/Directory.Build.props | 2 +- tests/build-test.ps1 | 8 ++++---- 9 files changed, 31 insertions(+), 31 deletions(-) diff --git a/Avalonia.Templates.csproj b/Avalonia.Templates.csproj index 175800b1..02f48161 100644 --- a/Avalonia.Templates.csproj +++ b/Avalonia.Templates.csproj @@ -2,7 +2,7 @@ Template - 11.0.1 + 11.0.2 Avalonia.Templates Avalonia Templates Templates for creating Avalonia applications and libraries. diff --git a/readme.md b/readme.md index deca86ab..ccb2e040 100644 --- a/readme.md +++ b/readme.md @@ -58,9 +58,9 @@ Available parameters: *Description*: The target version of Avalonia NuGet packages. -*Options*: **0.10.21**, **11.0.1** +*Options*: **0.10.21**, **11.0.2** -*By default*: 11.0.1 +*By default*: 11.0.2 ``-cb, --compiled-bindings`` @@ -99,9 +99,9 @@ Available parameters: *Description*: The target version of Avalonia NuGet packages. -*Options*: **0.10.21**, **11.0.1** +*Options*: **0.10.21**, **11.0.2** -*By default*: 11.0.1 +*By default*: 11.0.2 ``-cb, --compiled-bindings`` diff --git a/templates/csharp/app-mvvm/.template.config/template.json b/templates/csharp/app-mvvm/.template.config/template.json index 6991af18..3c07ff29 100644 --- a/templates/csharp/app-mvvm/.template.config/template.json +++ b/templates/csharp/app-mvvm/.template.config/template.json @@ -72,16 +72,16 @@ "description": "Target 0.10.21" }, { - "choice": "11.0.1", - "description": "Target 11.0.1 (Latest stable)" + "choice": "11.0.2", + "description": "Target 11.0.2 (Latest stable)" } ], "replaces": "AvaloniaVersionTemplateParameter", - "defaultValue": "11.0.1" + "defaultValue": "11.0.2" }, "AvaloniaStableChosen": { "type": "computed", - "value": "(AvaloniaVersion == \"11.0.1\")" + "value": "(AvaloniaVersion == \"11.0.2\")" }, "UseCompiledBindings": { "type": "parameter", @@ -89,7 +89,7 @@ "datatype": "bool", "displayName": "Use compiled Bindings", "defaultValue": "true", - "isEnabled": "(AvaloniaVersion == \"11.0.1\")" + "isEnabled": "(AvaloniaVersion == \"11.0.2\")" }, "RemoveViewLocator": { "type": "parameter", diff --git a/templates/csharp/app/.template.config/template.json b/templates/csharp/app/.template.config/template.json index 86c4a24d..e1342c67 100644 --- a/templates/csharp/app/.template.config/template.json +++ b/templates/csharp/app/.template.config/template.json @@ -48,16 +48,16 @@ "description": "Target 0.10.21" }, { - "choice": "11.0.1", - "description": "Target 11.0.1 (Latest stable)" + "choice": "11.0.2", + "description": "Target 11.0.2 (Latest stable)" } ], "replaces": "AvaloniaVersionTemplateParameter", - "defaultValue": "11.0.1" + "defaultValue": "11.0.2" }, "AvaloniaStableChosen": { "type": "computed", - "value": "(AvaloniaVersion == \"11.0.1\")" + "value": "(AvaloniaVersion == \"11.0.2\")" }, "UseCompiledBindings": { "type": "parameter", @@ -65,7 +65,7 @@ "datatype": "bool", "displayName": "Use compiled Bindings", "defaultValue": "true", - "isEnabled": "(AvaloniaVersion == \"11.0.1\")" + "isEnabled": "(AvaloniaVersion == \"11.0.2\")" }, "HostIdentifier": { "type": "bind", diff --git a/templates/csharp/xplat/Directory.Build.props b/templates/csharp/xplat/Directory.Build.props index 8de9c8c2..5d8722ee 100644 --- a/templates/csharp/xplat/Directory.Build.props +++ b/templates/csharp/xplat/Directory.Build.props @@ -1,6 +1,6 @@ enable - 11.0.1 + 11.0.2 diff --git a/templates/fsharp/app-mvvm/.template.config/template.json b/templates/fsharp/app-mvvm/.template.config/template.json index 09e739f9..fed7b599 100644 --- a/templates/fsharp/app-mvvm/.template.config/template.json +++ b/templates/fsharp/app-mvvm/.template.config/template.json @@ -72,16 +72,16 @@ "description": "Target 0.10.21" }, { - "choice": "11.0.1", - "description": "Target 11.0.1 (Latest stable)" + "choice": "11.0.2", + "description": "Target 11.0.2 (Latest stable)" } ], "replaces": "AvaloniaVersionTemplateParameter", - "defaultValue": "11.0.1" + "defaultValue": "11.0.2" }, "AvaloniaStableChosen": { "type": "computed", - "value": "(AvaloniaVersion == \"11.0.1\")" + "value": "(AvaloniaVersion == \"11.0.2\")" }, "UseCompiledBindings": { "type": "parameter", @@ -89,7 +89,7 @@ "datatype": "bool", "displayName": "Use compiled Bindings", "defaultValue": "true", - "isEnabled": "(AvaloniaVersion == \"11.0.1\")" + "isEnabled": "(AvaloniaVersion == \"11.0.2\")" }, "RemoveViewLocator": { "type": "parameter", diff --git a/templates/fsharp/app/.template.config/template.json b/templates/fsharp/app/.template.config/template.json index f8e87f59..69c06598 100644 --- a/templates/fsharp/app/.template.config/template.json +++ b/templates/fsharp/app/.template.config/template.json @@ -48,16 +48,16 @@ "description": "Target 0.10.21" }, { - "choice": "11.0.1", - "description": "Target 11.0.1 (Latest stable)" + "choice": "11.0.2", + "description": "Target 11.0.2 (Latest stable)" } ], "replaces": "AvaloniaVersionTemplateParameter", - "defaultValue": "11.0.1" + "defaultValue": "11.0.2" }, "AvaloniaStableChosen": { "type": "computed", - "value": "(AvaloniaVersion == \"11.0.1\")" + "value": "(AvaloniaVersion == \"11.0.2\")" }, "UseCompiledBindings": { "type": "parameter", @@ -65,7 +65,7 @@ "datatype": "bool", "displayName": "Use compiled Bindings", "defaultValue": "true", - "isEnabled": "(AvaloniaVersion == \"11.0.1\")" + "isEnabled": "(AvaloniaVersion == \"11.0.2\")" }, "HostIdentifier": { "type": "bind", diff --git a/templates/fsharp/xplat/Directory.Build.props b/templates/fsharp/xplat/Directory.Build.props index 1472841d..4a2ca93a 100644 --- a/templates/fsharp/xplat/Directory.Build.props +++ b/templates/fsharp/xplat/Directory.Build.props @@ -1,5 +1,5 @@ - 11.0.1 + 11.0.2 diff --git a/tests/build-test.ps1 b/tests/build-test.ps1 index 968b5f8b..e1dc08b0 100644 --- a/tests/build-test.ps1 +++ b/tests/build-test.ps1 @@ -97,7 +97,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.21" $binlog -Create-And-Build "avalonia.app" "AvaloniaApp" "C#" "av" "11.0.1" $binlog +Create-And-Build "avalonia.app" "AvaloniaApp" "C#" "av" "11.0.2" $binlog Create-And-Build "avalonia.app" "AvaloniaApp" "C#" "cb" "true" $binlog Create-And-Build "avalonia.app" "AvaloniaApp" "C#" "cb" "false" $binlog @@ -105,7 +105,7 @@ Create-And-Build "avalonia.app" "AvaloniaApp" "C#" "cb" "false" $binlog 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.21" $binlog -Create-And-Build "avalonia.mvvm" "AvaloniaMvvm" "C#" "av" "11.0.1" $binlog +Create-And-Build "avalonia.mvvm" "AvaloniaMvvm" "C#" "av" "11.0.2" $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 @@ -122,14 +122,14 @@ Create-And-Build "avalonia.xplat" "AvaloniaXplat" "C#" "rvl" "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.21" $binlog -Create-And-Build "avalonia.app" "AvaloniaApp" "F#" "av" "11.0.1" $binlog +Create-And-Build "avalonia.app" "AvaloniaApp" "F#" "av" "11.0.2" $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.21" $binlog -Create-And-Build "avalonia.mvvm" "AvaloniaMvvm" "F#" "av" "11.0.1" $binlog +Create-And-Build "avalonia.mvvm" "AvaloniaMvvm" "F#" "av" "11.0.2" $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