Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ripping XAML from a .Net assembly

Tags:

.net

wpf

xaml

Is there a way to get Xaml details from an assembly?

like image 979
K J Avatar asked Mar 29 '12 23:03

K J


People also ask

Is XAML part of net?

XAML is a declarative markup language. As applied to the . NET Core programming model, XAML simplifies creating a UI for a . NET Core app.

Is XAML and WPF same?

XAML is used as the declarative markup language for WPF and Xamarin. Forms. For the most part, the syntax is identical - the primary difference is the objects that are defined/created by the XAML graphs.

Does ASP Net use XAML?

No. ASP.NET is to build Web applications and XAML is to build Windows. They are two different programming frameworks.

What is a CLR namespace?

clr-namespace: The CLR namespace declared within the assembly that contains the public types to expose as elements. assembly= The assembly that contains some or all of the referenced CLR namespace. This value is typically just the name of the assembly, not the path, and does not include the extension (such as .


1 Answers

ILSpy supports decompiling BAML to XAML.

Under the resources section, find the <assemblyName>.g.resources and there is the BAML, which ILSpy will decompile into XAML.

like image 106
Kendall Frey Avatar answered Oct 06 '22 00:10

Kendall Frey