© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•11mo ago•
2 replies
amphibian

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"
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

decompiling .dll
C#CC# / help
3y ago
Problem with corner radius XAML property
C#CC# / help
2y ago
✅ xaml
C#CC# / help
9mo ago
❔ XAML
C#CC# / help
3y ago