every time we open the * .xaml file in our project - we see that the designer does not work and many types of messages were not found, `` assembly not found ', etc. After several experiments, I discovered the root of the problem: create a new WPF application, create a folder in the root of the project, add a value converter to the folder, try to use it on your "MainWindow.xaml"
you will probably write something like this:
xmlns:Folder="clr-namespace:WpfApp.Folder"
and then
<Window.Resources>
<Folder:SomeValueConverter x:Key="someKey"/>
</Window.Resources>
You know ...
And now the fun part! when you create your project for x86 or "any processor" - everything will be fine, the designer will be available, all namespaces will be imported perfectly! BUT, just change the project configuration to x64 ... Reconstruct the solution and open the project ... you will be amazed ... errors, types not found, etc. How the hell to use VS xaml-designer in x64-applications?Windows 7 enterprise x64, Visual Studio 2010 Ultimate
source
share