I get the following error when I rebuild the project in VS 2013, the rebuild is fine in VS 2010
The type 'ASP.masterpages_usercontrols_lngc_ascx' exists in both 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\60b681a7\1024c937\App_Web_lngc.ascx.ade502fb.abg65467.dll' and 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\60b681a7\1024c937\App_Web_lngc.ascx.ade502fb.9k0twm2y.dll' c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\60b681a7\1024c937\App_Web_5v76768.cs
I have tried all the basic stuff like clean and rebuild solution, close VS and rebuild, reset IIS and Delete Temp .net files etc. With all this the rebuild is successful sometimes and then again when I rebuild VS gives the same compile errors.The rebuild is successful when i put batch="false" in web.config, but I don't want to use that solution.Any Ideas /Suggestions will be appreciated.
Thanks