i faced a strange issue today, please see the error below:
error CS0234: The type or namespace name does not exist in the namespace
Many developers were facing this issue on compile time mode, while compiling the code i was not getting this error but while publishing the code i was getting it.
What I was doing Before: Adding Reference using solution: i was using project file reference to add reference in my main project.
What I did to fix it
Adding reference using browse: then i pointed direct dll of second project from release folder
any one guide me why it was causing this issue? is this still the right approach that i adapted to fix it?
if i use csproj file reference to reference second project in main project do i still need to do some configurations to make that work?
any help would be appreciated.
Thanks in advance.