From 7d746128e63fde09075736c6f0978335f1aa6dab Mon Sep 17 00:00:00 2001 From: "Artyom V. Gorchakov" Date: Mon, 22 Feb 2021 14:46:01 +0300 Subject: [PATCH] docs: Document this.AttachDevTools() generation (#36) * docs: Document this.AttachDevTools() generation * Update version.json --- README.md | 5 +++++ version.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f2ae1db0e5..b3f4704e9a 100644 --- a/README.md +++ b/README.md @@ -171,6 +171,11 @@ namespace Sample.App AvaloniaXamlLoader.Load(this); } +#if DEBUG + // This will be added only if you install Avalonia.Diagnostics. + this.AttachDevTools(); +#endif + UserNameTextBox = this.FindControl("UserNameTextBox"); UserNameValidation = this.FindControl("UserNameValidation"); PasswordTextBox = this.FindControl("PasswordTextBox"); diff --git a/version.json b/version.json index 101441ba8c..9dd5af95d7 100644 --- a/version.json +++ b/version.json @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", - "version": "0.4", + "version": "0.5", "assemblyVersion": { "precision": "revision" },