Skip to content

Commit

Permalink
Merge pull request #199 from Mrxx99/feature/avalonia0.10.21
Browse files Browse the repository at this point in the history
updated to 0.10.21
  • Loading branch information
Takoooooo authored May 20, 2023
2 parents 87d8060 + af45116 commit 70e1623
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion Avalonia.Templates.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<PackageType>Template</PackageType>
<PackageVersion>0.10.20</PackageVersion>
<PackageVersion>0.10.21</PackageVersion>
<PackageId>Avalonia.Templates</PackageId>
<Title>Avalonia Templates</Title>
<Description>Templates for creating Avalonia applications and libraries.</Description>
Expand Down
8 changes: 4 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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``

Expand Down Expand Up @@ -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``

Expand Down
10 changes: 5 additions & 5 deletions templates/csharp/app-mvvm/.template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,28 +68,28 @@
"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",
"description": "Target 11.0.0-preview8"
}
],
"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",
"description": "Defines if CompiledBindings should be enabled by default in the project (only supported in 11.0 version and newer).",
"datatype": "bool",
"displayName": "Use compiled Bindings",
"defaultValue": "true",
"isEnabled": "(AvaloniaVersion != \"0.10.20\")"
"isEnabled": "(AvaloniaVersion != \"0.10.21\")"
},
"HostIdentifier": {
"type": "bind",
Expand Down
10 changes: 5 additions & 5 deletions templates/csharp/app/.template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,28 +44,28 @@
"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",
"description": "Target 11.0.0-preview8"
}
],
"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",
"description": "Defines if CompiledBindings should be enabled by default in the project (only supported in 11.0 version and newer).",
"datatype": "bool",
"displayName": "Use compiled Bindings",
"defaultValue": "true",
"isEnabled": "(AvaloniaVersion != \"0.10.20\")"
"isEnabled": "(AvaloniaVersion != \"0.10.21\")"
},
"HostIdentifier": {
"type": "bind",
Expand Down
10 changes: 5 additions & 5 deletions templates/fsharp/app-mvvm/.template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,28 +68,28 @@
"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",
"description": "Target 11.0.0-preview8"
}
],
"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",
"description": "Defines if CompiledBindings should be enabled by default in the project (only supported in 11.0 version and newer).",
"datatype": "bool",
"displayName": "Use compiled Bindings",
"defaultValue": "true",
"isEnabled": "(AvaloniaVersion != \"0.10.20\")"
"isEnabled": "(AvaloniaVersion != \"0.10.21\")"
},
"HostIdentifier": {
"type": "bind",
Expand Down
10 changes: 5 additions & 5 deletions templates/fsharp/app/.template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,28 +44,28 @@
"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",
"description": "Target 11.0.0-preview8"
}
],
"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",
"description": "Defines if CompiledBindings should be enabled by default in the project (only supported in 11.0 version and newer).",
"datatype": "bool",
"displayName": "Use compiled Bindings",
"defaultValue": "true",
"isEnabled": "(AvaloniaVersion != \"0.10.20\")"
"isEnabled": "(AvaloniaVersion != \"0.10.21\")"
},
"HostIdentifier": {
"type": "bind",
Expand Down
8 changes: 4 additions & 4 deletions tests/build-test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,15 @@ $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

# 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
Expand All @@ -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
Expand Down

0 comments on commit 70e1623

Please sign in to comment.