Type or namespace cannot be found, when reference does exist

后端 未结 5 1185
遥遥无期
遥遥无期 2020-12-18 18:05

I have a wpf Application in which I am trying to reference a class library i have created. I have added a reference to the .dll And i have added the using statement to my fi

5条回答
  •  死守一世寂寞
    2020-12-18 18:45

    Sometimes an explicit naming of the assembly which contains the namespace is required.

    xmlns:myns="clr-namespace:MyNamespace;assembly=MyAssembly"
    

    I don't know why it is sometimes required.

提交回复
热议问题