Skip to content

Commit

Permalink
Merge pull request #170 from AvaloniaUI/updates
Browse files Browse the repository at this point in the history
Post 11.0-preview5 changes, new "--compiled-bindings" property
  • Loading branch information
Takoooooo authored Feb 27, 2023
2 parents 533cfc4 + 94510a6 commit 190e396
Show file tree
Hide file tree
Showing 41 changed files with 222 additions and 1,881 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.18.5</PackageVersion>
<PackageVersion>0.10.18.6</PackageVersion>
<PackageId>Avalonia.Templates</PackageId>
<Title>Avalonia Templates</Title>
<Description>Templates for creating Avalonia applications and libraries.</Description>
Expand Down
30 changes: 28 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,18 @@ Available parameters:

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

*Options*: **0.10.18**, **11.0.0-preview4**
*Options*: **0.10.18**, **11.0.0-preview5**

*By default*: 0.10.18

``-cp, --compiled-bindings``

*Description*: Defines if CompiledBindings should be enabled by default in the project (only supported in 11.0 version and newer). See [documentation](https://docs.avaloniaui.net/docs/data-binding/compiledbindings) for more details.

*Options*: **true**, **false**

*By default*: true

``--no-restore``

*Description*: If specified, skips the automatic restore of the project on create.
Expand Down Expand Up @@ -90,6 +98,14 @@ Available parameters:

*By default*: 0.10.18

``-cp, --compiled-bindings``

*Description*: Defines if CompiledBindings should be enabled by default in the project (only supported in 11.0 version and newer). See [documentation](https://docs.avaloniaui.net/docs/data-binding/compiledbindings) for more details.

*Options*: **true**, **false**

*By default*: true

``-m, --mvvm``

*Description*: MVVM toolkit to use in the template.
Expand All @@ -110,7 +126,17 @@ To create a new Cross-Platform application in its own subdirectory, run:
dotnet new avalonia.xplat
```
**Note:**
This type of template allows you to create an application that will work on Desktop, Browser (preview) and Mobile (iOS & Android) (preview).
This type of template allows you to create an application that will work on Desktop, Browser and Mobile (iOS & Android). Only available with 11.0 preview versions.

Available parameters:

``-cp, --compiled-bindings``

*Description*: Defines if CompiledBindings should be enabled by default in the project. See [documentation](https://docs.avaloniaui.net/docs/data-binding/compiledbindings) for more details.

*Options*: **true**, **false**

*By default*: true

# Creating a new Window

Expand Down
Loading

0 comments on commit 190e396

Please sign in to comment.