I have a C++ assembly with both managed and umanaged code compiled to a DLL. It is correctly imported into the project references as I can see all my classes and their members with the Object Browser.
The problem is with the XAML Design view. In my XAML code I want to make a data bind with my C++ assembly so I have the namespace like so:
xmlns:kudu="clr-namespace:kudu;assembly=CLI"
CLI is the name of the dll and it has a namespace inside called kudu. The Design view refuses to shows the XAML and gives me this error:
Assembly 'CLI' was not found. Verify that you are not missing an assembly reference. Also, verify that your project and all referenced assemblies have been built.
The best part is I can actually build the entire solution and everything works! The window updates as the C++ objects change and what not. However with out the Design view this makes continuing development quite difficult.
Does anyone have an answer as to why this happens and how I can fix it?