---
title: "Are XAML file compiled or built on runtime?"  
description: "Are XAML file compiled or built on runtime?"  
author: "Amit Singh"  
published: 2011-03-17  
updated: 2020-09-21  
canonical: https://www.mindstick.com/interview/419/are-xaml-file-compiled-or-built-on-runtime  
category: "wpf"  
tags: ["wpf"]  
reading_time: 1 minute  

---

# Are XAML file compiled or built on runtime?

XAML files are usually compiled rather than parsing on runtime. But it also supports parsing during runtime. When we build a XAML based project, you will see it creates g.cs extension in obi\Debug folder.

## Answers

### Answer by Amit Singh

XAML files are usually compiled rather than parsing on runtime. But it also supports parsing during runtime. When we build a XAML based project, you will see it creates g.cs extension in obi\Debug folder.


---

Original Source: https://www.mindstick.com/interview/419/are-xaml-file-compiled-or-built-on-runtime

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
