I am trying to create our web project using msbuild.exe in .NET 4.0.30319 when I get the following error:
ASPNETCOMPILER: ASPRUNTIME error: the object reference is not set to the object instance.
This project is being built well, about a month ago, when we tried to build after a long period of inactivity. I tried the following:
Removing ASP.NET Temporary Areas within Framework and Framework64
Deleting all *. Copied files that can be pulled out
Web Deployment Project Recovery in
All of these solutions seem to fail in this case. The strange thing for me is that when I check the logs and run the standalone aspnet_compiler (and not through msbuild), I don't get an error, ASPs are simply compiled to the designated deployment.
Any suggestions on further steps are welcome.
source share