When I create new ASP.NET 4.5 web forms application from vs2012 and update all nuget packages, I receive this error on build:
ASP.NET 4.5
vs2012
nuget
In my case issue have revealed after I merged a branch which broke my web.config file. It added comment character sequence .
web.config
Making file markup valid fixed the issue.