Last post Aug 03, 2006 06:44 AM by dmls
Jul 06, 2006 10:23 PM|mikbyrne|LINK
Aug 03, 2006 06:44 AM|dmls|LINK
not sure whether this will help you but it worked for me, I had been trying to resolve this for over a day. I had tried manually editing the web deployment files to no effect and had also tried excluding parts of my project.
I was getting exactly the same error message and could not track it down even if I run the compiler from the command line with the -errorstack option, so
I deleted and recreated the web deployment project, also made sure that any code analysis directory had been removed
published the web site to the default precompiledweb directory (with the build for the deployment project skipped)
created a virtual directory in IIS to point to the directory in the precompiledweb directory with the same name as the web site.
then built the deployment project on its own.
this appears to have fixed the problem, even though I can now remove the virtual directory.