With an empty x64 WPF project I can't import the project's own namespace. Can the WPF designer in VS2010 be used on a x64 project, or what am I doing wrong?
Below are the steps that reproduce this problem.
Using:Microsoft Visual Studio 2010 pro Version 10.0.30319.1 RTMRel
Microsoft .NET Framework Version 4.0.30319 RTMRel
Launch VS2010 IDE
File > New Project > WPF Application
Targeting .NET Framework 4
Name = WpfApplication1
Solution name = WpfApplication1
Open MainWindow.xaml in xaml editor
Designer error "Undefined CLR namespace. The 'clr-namespace' URI refers to a namespace 'WpfApplication1' that is not included in the assembly."
Build solution (successful)
Open Configuration Manager
Click Active solution platform. Select <New...>
Select new platform as x64. Click OK. Close Configuration Manager.
Error reappears: "Undefined CLR namespace. The 'clr-namespace' URI refers to a namespace 'WpfApplication1' that is not included in the assembly."
Rebuild solution (successful)
Error remains and designer is now useless.
This may be similar to a previous post that strayed off topic.