In a XAML namespace declaration, is there a way to disambiguate differently named assemblies depending on your current configuration?
I'm in the process of reworking a projects build system. The old system had the debug and release assemblies building to seperate directories, which meant the following (roughly) would work fine at the top of a XAML document:
<Window x:Class="test.MainWindow"
...
xmlns:tns="clr-namespace:TestNameSpace;assembly=SampleAssembly"
...
A request we recieved for the restructure is to differentiate our assemblies by naming them differently for Debug and Release configurations. So our SampleAssembly.dll, which was previously built in two seperate directories, is now two assemblies in the same directory, SampleAssemblyDebug.dll and SampleAssemblyRelease.dll. Is there a way to adjust that XAML line to reference the proper assembly depending on the configuration?