I\'m Trying to publish a website, using Visual Studio 2013. I\'m getting an error:
ASPNETCOMPILER(0,0): Error ASPRUNTIME: Object reference not set to
This is a hard to catch issues, which usually comes with webforms aspx pages.
If you are deploying the app with pre-compiled option and you have selected the "Do not merge, create a separate assembly for each page and control" here:
then you need to make sure that there are no compiled assemblies for any of the aspx pages in the bin folder of the project you are trying to compile. Go to your bin folder and delete any assemblies related to your web pages and try publishing again. This will fix this issue.