Type or namespace cannot be found, when reference does exist

后端 未结 5 1184
遥遥无期
遥遥无期 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:34

    If you're getting this without a DLL - just a code file check it's set to compile. In Visual Studio 2013 I keep adding code files and it sets the Build Action (found under Advanced section of Properties of the code file to "Content" rather than "Compile". Change this.

提交回复
热议问题