This issue occurs when we copy paste the entire code to the new file and we forget to change the name of namespace. After pasting the code to new file, change this line: namespace ProjectName.oldfolder to this one: namespace ProjectName.newfolder
Say Bye to Bugs
This issue occurs when we copy paste the entire code to the new file and we forget to change the name of namespace. After pasting the code to new file, change this line: namespace ProjectName.oldfolder to this one: namespace ProjectName.newfolder