There are two ways to solve the problem as this article mentions, although It's not recommended to use batch= "false"
because of hurting the performance (Honestly I'm not sure about the authenticity) What is batch used for?
In my Asp.Net Website project, there were some kind of conflicts between two or more WebUserControls, I had multiple user controls and they were placed in multiple folders, so I read the error message which Visual studio gave me.
it was referring to the source of error which was a usercontrol, I changed the user control file location and placed it in another folder, then I pressed ctrl + shft + B
to build the project, this time I encountered a few errors saying there were some incorrect addresses to the WebUserControl, so I corrected the declarative address (which comes at the top of the Asp page), It was something like this:
<%@ Register Src="~/Controls/XFolder/Receiver.ascx" TagName="ReceiverProperties" TagPrefix="mdc" %>
I changed it to this one:
<%@ Register Src="~/Controls/Receiver.ascx" TagName="ReceiverProperties" TagPrefix="mdc" %>
And built the project, everything was fine this time!
Personally, I have no idea if it's good or bad to add batch ="false" attribute since this part of the book named Asp.Net site performance secrets
suggests to apply it same as this one!