amphibian
amphibian
CC#
Created by amphibian on 3/16/2025 in #help
Decompiling XAML problem
Hello, I am performing reverse engineering on a .NET Framework 4.5 application. Although I am not very familiar with C# or .NET itself, I have already made 70-80% progress. Now, regarding my issue, I am using tools like ILSpy and dotPeek to decompile the code. In general, I always compare the two decompiled codebases to fine-tune the results. However, I am facing issues mainly with XAML/BAML files, specifically with the following line of code:
<Style TargetType="{x:Type controls:Foo}" BasedOn="{StaticResource {x:Type controls:Foo}}">
<Style TargetType="{x:Type controls:Foo}" BasedOn="{StaticResource {x:Type controls:Foo}}">
This results in the following error:
'Builder.Presentation.Controls.Foo' resource not found.
'Builder.Presentation.Controls.Foo' resource not found.
My import:
xmlns:controls="clr-namespace:Builder.Presentation.Controls"
xmlns:controls="clr-namespace:Builder.Presentation.Controls"
3 replies