-
Notifications
You must be signed in to change notification settings - Fork 547
docs: add Avalonia XAML Playground recipe and update .NET app guide #6403
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
Open
Rinconjr
wants to merge
4
commits into
canonical:main
Choose a base branch
from
Rinconjr:docs-craft-dotnet-avalonia
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+252
−7
Open
Changes from 1 commit
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
137fade
docs: add Avalonia XAML Playground recipe and update .NET app guide
Rinconjr ce2f3d1
docs: update repository link for Avalonia XAML Playground snap
Rinconjr a5dcf9b
docs: address first review comments to polish .NET app guide for clar…
Rinconjr 851de81
docs: clarify .NET build configuration and add unoptimized to wordlist
Rinconjr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
70 changes: 70 additions & 0 deletions
70
docs/how-to/code/integrations/example-dotnet-avalonia-recipe.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,70 @@ | ||
| # avalonia-xaml-playground recipe, an example of an Avalonia-based app | ||
|
|
||
| name: avalonia-xaml-playground | ||
| base: core24 | ||
| adopt-info: xaml-playground | ||
| icon: snap/gui/avalonia-xaml-playground.png | ||
| summary: Avalonia XAML and C# playground | ||
| description: | | ||
| The Avalonia XAML Playground application allows you to write | ||
| XAML and code-behind pieces of code, with Avalonia controls, | ||
| and seeing the results in real time. | ||
|
|
||
| grade: stable | ||
| confinement: strict | ||
|
|
||
| platforms: | ||
| amd64: | ||
| arm64: | ||
|
|
||
| parts: | ||
| xaml-playground: | ||
| plugin: dotnet | ||
| source: https://github.com/AvaloniaUI/XamlPlayground | ||
| source-type: git | ||
| dotnet-version: "10.0" | ||
| dotnet-configuration: Release | ||
| dotnet-project: src/XamlPlayground.NetCore/XamlPlayground.NetCore.csproj | ||
| dotnet-verbosity: minimal | ||
| override-build: | | ||
| version=$(git show -s --format=%h) | ||
| craftctl set version="${version}" | ||
| craftctl default | ||
| organize: | ||
| '*': opt/xamlplayground/ | ||
|
|
||
| prereqs: | ||
| plugin: nil | ||
| after: | ||
| - xaml-playground | ||
| stage-packages: | ||
| - fontconfig | ||
| - libfontconfig1 | ||
| - libice6 | ||
| - libsm6 | ||
| - libx11-6 | ||
|
|
||
| apps: | ||
| avalonia-xaml-playground: | ||
| command: opt/xamlplayground/XamlPlayground.NetCore | ||
| desktop: meta/gui/avalonia-xaml-playground.desktop | ||
| extensions: [dotnet10] | ||
| plugs: | ||
| - desktop | ||
| - desktop-legacy | ||
| - home | ||
| - opengl | ||
| - unity7 | ||
| - wayland | ||
|
|
||
| lint: | ||
| ignore: | ||
| - library: | ||
| - usr/lib/**/libICE* | ||
| - usr/lib/**/libicu* | ||
| - usr/lib/**/liblttng-ust-* | ||
| - usr/lib/**/libSM* | ||
| - usr/lib/**/libX11* | ||
| - usr/lib/**/libXau* | ||
| - usr/lib/**/libxcb* | ||
| - usr/lib/**/libXdmcp* | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.