Wednesday, April 29, 2009

error ASPPARSE: Could not load type

Our Team Build server is falling over with the Web Deployment Project for a Web Application Project. It's producing messages along the lines of:

error ASPPARSE: Could not load type 'SomeControlInOurProject'

Aaron Hallberg has a good post that talks about this error. Team Build and Web Deployment Projects
I fixed the bug using the SourceWebPhysicalPath conditions.

Quick tip: Try searching for the first occurrence of "FAILED" in the BuildLog.txt to find where things are falling over.