I'm working on a WPF project which uses ".Net Framework 4.6.2" on Visual Studio 2017.
I got a dll file from internet named "GrayscaleEffect" and added it to references.
In xaml file i added
xmlns:grayScaleEffect="clr-namespace:GrayscaleEffect;assembly=GrayscaleEffect"
And using it like this :
<Image.Effect>
<grayScaleEffect:GrayscaleEffect x:Name="grayscaleEffect"/>
</Image.Effect>
When i run the application it works, but in xaml editor it gives an error :
The name "GrayscaleEffect" does not exist in the namespace "clr-namespace:GrayscaleEffect;assembly=GrayscaleEffect"....
I tried rebuilding the project and restarting Visual Studio but it didnt solve this problem.