IDE:Visual Studio 2015 Update 3 Version:10.0.0.2319 Target: WPF Description:I can not add a Namespace declared in the application assembly
Using PictureViewer WPF example (for example), in Window1.xam, line 4, you have: xmlns: pd = “clr-namespace: PictureViewer”
and shows an error.
Intellisense does not show namespaces from exe assembly.
Now it does not show the error in line 4 of the .xaml, but intellisense still does not show the namespace “PictureViewer”, and the designer only indicates “Invalid Markup” and shows these three “build + intellisense” errors:
The name “Window1” does not exist in the namespace “clr-namespace: PictureViewer”. PictureViewer C: \ Users \ Public \ Documents \ RemObjects Samples \ RemObjects Oxygene for .NET \ WPF \ Picture Viewer \ Window1.xaml 32
The name “ImageList” does not exist in the namespace “clr-namespace: PictureViewer”. PictureViewer C: \ Users \ Public \ Documents \ RemObjects Samples \ RemObjects Oxygene for .NET \ WPF \ Picture Viewer \ App.xaml 1
The name “ImageFile” does not exist in the namespace “clr-namespace: PictureViewer”. PictureViewer C: \ Users \ Public \ Documents \ RemObjects Samples \ RemObjects Oxygene for .NET \ WPF \ Picture Viewer \ Window1.xaml 281
The app compiles and runs. It seems that the problem is with the designer. Tomorrow I will try one of my projects.