N
N
Nubzilo2015-03-22 16:26:31
WPF
Nubzilo, 2015-03-22 16:26:31

How to recover xaml from baml?

Good afternoon. Using the reflector, I got the application code, then using the BAML Viewer plugin for it, I got the xaml. I threw this xaml project - in the designer it looks like it should, but it refuses to compile with the error:
Error 1 MyClass cannot be the root of a XAML file because it was defined using XAML.
What to do with it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
lam0x86, 2015-03-22
@Nubzilo

As far as I understand from the above code, you need to write like this:

<Window x:Class="ссылка на класс Login" ...>
...
</Window>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question