This method only returns true for web site "projects". It returns false for a web application project. It seems to me this should return true for any project that has a web.config. Alternatively, there should be a method to return specifically for web application projects (and others like them).
John Saunders | Use File->New Project to create Web Service Projects