ASPNETCOMPILERERROR - object reference not set to an instance of object
<p>I am getting ASPNETCOMPILERERROR while publishing a web project.</p>

<p>This project is in .net 4.0 and we are publishing in VS2012.</p>

<p>Build is getting succeeded, but while publishing we are getting following error</p>

<p>ASPNETCOMPILERERROR - object reference not set to an instance of object.</p>

<p>Please let us know how to resolve the issue.</p>
