From 56ebe791c80f02371eb45cb3940e133fab3b94f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Su=C3=A1rez=20Ruiz?= Date: Sat, 25 May 2019 13:52:53 +0200 Subject: [PATCH] Updated README --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index efc96c7..d8431cd 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,19 @@ This has two problems: ### XAMLC +XAML can be optionally compiled directly into intermediate language (IL) with the XAML compiler (XAMLC). + +XAML compilation offers a number of a benefits: + +* It performs compile-time checking of XAML, notifying the user of any errors. +* It removes some of the load and instantiation time for XAML elements. +* It helps to reduce the file size of the final assembly by no longer including .xaml files. + +``` +[assembly: XamlCompilation (XamlCompilationOptions.Compile)] +``` +The result: + ![XAMLC](images/xamlcperf.png) ## Copyright and license