Code-Behind in Referenced Assembly
Posted: 19 Jul 2018, 13:41
Hi all,
When I use a code-behind class which is in the executing assembly it works fine (e.g. x:Class="CurrentAssemblyNamespace.MainWindow"), however if the class is in a referenced assembly it cannot be found (e.g. (e.g. x:Class="ReferencedAssemblyNamespace.MainWindow")).
Is this expected behaviour, or am I doing something wrong?
I have multiple projects (executable assemblies) based on the different platforms that are being supported, and keeping copies of all of the code-behind classes in each is not feasible.
Thanks,
Mark
When I use a code-behind class which is in the executing assembly it works fine (e.g. x:Class="CurrentAssemblyNamespace.MainWindow"), however if the class is in a referenced assembly it cannot be found (e.g. (e.g. x:Class="ReferencedAssemblyNamespace.MainWindow")).
Is this expected behaviour, or am I doing something wrong?
I have multiple projects (executable assemblies) based on the different platforms that are being supported, and keeping copies of all of the code-behind classes in each is not feasible.
Thanks,
Mark