Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to avalonia 11.0.9 #246

Merged
merged 1 commit into from
Feb 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>11.0.6</PackageVersion>
<PackageVersion>11.0.9</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.21**, **11.0.6**
*Options*: **0.10.21**, **11.0.9**

*By default*: 11.0.6
*By default*: 11.0.9

``-cb, --compiled-bindings``

Expand Down Expand Up @@ -99,9 +99,9 @@ Available parameters:

*Description*: The target version of Avalonia NuGet packages.

*Options*: **0.10.21**, **11.0.6**
*Options*: **0.10.21**, **11.0.9**

*By default*: 11.0.6
*By default*: 11.0.9

``-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 @@ -76,24 +76,24 @@
"description": "Target 0.10.21"
},
{
"choice": "11.0.6",
"description": "Target 11.0.6 (Latest stable)"
"choice": "11.0.9",
"description": "Target 11.0.9 (Latest stable)"
}
],
"replaces": "AvaloniaVersionTemplateParameter",
"defaultValue": "11.0.6"
"defaultValue": "11.0.9"
},
"AvaloniaStableChosen": {
"type": "computed",
"value": "(AvaloniaVersion == \"11.0.6\")"
"value": "(AvaloniaVersion == \"11.0.9\")"
},
"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 == \"11.0.6\")"
"isEnabled": "(AvaloniaVersion == \"11.0.9\")"
},
"RemoveViewLocator": {
"type": "parameter",
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 @@ -52,24 +52,24 @@
"description": "Target 0.10.21"
},
{
"choice": "11.0.6",
"description": "Target 11.0.6 (Latest stable)"
"choice": "11.0.9",
"description": "Target 11.0.9 (Latest stable)"
}
],
"replaces": "AvaloniaVersionTemplateParameter",
"defaultValue": "11.0.6"
"defaultValue": "11.0.9"
},
"AvaloniaStableChosen": {
"type": "computed",
"value": "(AvaloniaVersion == \"11.0.6\")"
"value": "(AvaloniaVersion == \"11.0.9\")"
},
"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 == \"11.0.6\")"
"isEnabled": "(AvaloniaVersion == \"11.0.9\")"
},
"HostIdentifier": {
"type": "bind",
Expand Down
2 changes: 1 addition & 1 deletion templates/csharp/xplat/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<Nullable>enable</Nullable>
<AvaloniaVersion>11.0.6</AvaloniaVersion>
<AvaloniaVersion>11.0.9</AvaloniaVersion>
</PropertyGroup>
</Project>
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 @@ -76,24 +76,24 @@
"description": "Target 0.10.21"
},
{
"choice": "11.0.6",
"description": "Target 11.0.6 (Latest stable)"
"choice": "11.0.9",
"description": "Target 11.0.9 (Latest stable)"
}
],
"replaces": "AvaloniaVersionTemplateParameter",
"defaultValue": "11.0.6"
"defaultValue": "11.0.9"
},
"AvaloniaStableChosen": {
"type": "computed",
"value": "(AvaloniaVersion == \"11.0.6\")"
"value": "(AvaloniaVersion == \"11.0.9\")"
},
"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 == \"11.0.6\")"
"isEnabled": "(AvaloniaVersion == \"11.0.9\")"
},
"RemoveViewLocator": {
"type": "parameter",
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 @@ -52,24 +52,24 @@
"description": "Target 0.10.21"
},
{
"choice": "11.0.6",
"description": "Target 11.0.6 (Latest stable)"
"choice": "11.0.9",
"description": "Target 11.0.9 (Latest stable)"
}
],
"replaces": "AvaloniaVersionTemplateParameter",
"defaultValue": "11.0.6"
"defaultValue": "11.0.9"
},
"AvaloniaStableChosen": {
"type": "computed",
"value": "(AvaloniaVersion == \"11.0.6\")"
"value": "(AvaloniaVersion == \"11.0.9\")"
},
"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 == \"11.0.6\")"
"isEnabled": "(AvaloniaVersion == \"11.0.9\")"
},
"HostIdentifier": {
"type": "bind",
Expand Down
2 changes: 1 addition & 1 deletion templates/fsharp/xplat/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project>
<PropertyGroup>
<AvaloniaVersion>11.0.6</AvaloniaVersion>
<AvaloniaVersion>11.0.9</AvaloniaVersion>
</PropertyGroup>
</Project>
8 changes: 4 additions & 4 deletions tests/build-test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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.6" $binlog
Create-And-Build "avalonia.app" "AvaloniaApp" "C#" "av" "11.0.9" $binlog
Create-And-Build "avalonia.app" "AvaloniaApp" "C#" "cb" "true" $binlog
Create-And-Build "avalonia.app" "AvaloniaApp" "C#" "cb" "false" $binlog

Expand All @@ -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.6" $binlog
Create-And-Build "avalonia.mvvm" "AvaloniaMvvm" "C#" "av" "11.0.9" $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
Expand All @@ -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.6" $binlog
Create-And-Build "avalonia.app" "AvaloniaApp" "F#" "av" "11.0.9" $binlog
Create-And-Build "avalonia.app" "AvaloniaApp" "F#" "cb" "true" $binlog
Create-And-Build "avalonia.app" "AvaloniaApp" "F#" "cb" "false" $binlog

Expand All @@ -135,7 +135,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.6" $binlog
Create-And-Build "avalonia.mvvm" "AvaloniaMvvm" "F#" "av" "11.0.9" $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
Expand Down