0
Visual Studio 2017で ".Net Framework 4.6.2"を使用するWPFプロジェクトに取り組んでいます。"..."という名前はネームスペース ".."に存在しません。Visual Studio 2017
I "GrayscaleEffect"という名前のインターネットからdllファイルを入手し、それを参考文献に追加しました。 XAMLファイルで
私は
xmlns:grayScaleEffect="clr-namespace:GrayscaleEffect;assembly=GrayscaleEffect"
そして、このようにそれを使用して追加:私はそれが動作するアプリケーションを実行しますが、XAMLエディタではエラーになる場合は
<Image.Effect>
<grayScaleEffect:GrayscaleEffect x:Name="grayscaleEffect"/>
</Image.Effect>
:
The name "GrayscaleEffect" does not exist in the namespace "clr-namespace:GrayscaleEffect;assembly=GrayscaleEffect"....
を
私はプロジェクトを再構築してVisual Studioを再起動しようとしましたが、この問題を解決できませんでした。
http://stackoverflow.com/questions/15051121/the-name-does-not-exist-in-the-namespace-clr-namespaceそれでもエラーを解決できない場合は、デザイナーを無効にすることができます:http://blog.spinthemoose.com/2013/03/24/disable-the-xaml-designer-in-visual-studio/ – mm8