Hello!
I have exception in runtime in my WPF application. i use /internalize /renameinternalized arguments.

Exception in Init window/

Research my IL code, i see this think.


ILRepack dont change name in XAML. Could this be the problem? After all, the XAML\BAML code refers to a type with an OLD name (without GUID)
Use this command
<Exec Command="$(ILRepack) /out:$(TargetDir)/out/$(AssemblyName).dll $(TargetPath) $(DllList) /target:library /targetplatform:v4 /lib:$(TargetDir) /log:$(TargetDir)ilrepack.log /copyattrs /allowMultiple /verbose /internalize /renameinternalized" />
What are the solutions to this problem? I definitely need to implement my own UI library
THX :)