MSBUILD Community Extensions Precompiled App ZIP Error
I’ve been working on zipping a pre-compiled ASP.NET Web Application and then zipping it using Community Tasks (which is awesome by the way). This was all great on my own machine, but wouldn’t load at all if it was built by Team City (another great app). At any rate, I was using the built in zip task to zip up the pre-compiled app before sending it to the target server and kept on getting this error:
The file ‘/Default.aspx’ has not been pre-compiled, and cannot be requested.
As it turns out, and this drove me just nuts, the Zip task wasn’t actually zipping all the binary files. Looking through the log (all 10 megs of it), I noticed the zip task couldn’t zip some files. After removing the Zip task and using 7Zip, my problem went away. Hope this saves somebody else some time.