I have a web application that we have built using visual studio 2008 (.net 2.0) and we are trying to use a web deployment project to deploy it to our test server. After the project is built successfully, we try to open the page and get a "parse error" because it can't find the type specified in the Inherits statement in the aspx page. When I use the publish command instead of the web deployment project to deploy the application it works successfuly. The project will also run locally in debug so it doesn't appear to be anything wrong with the project. I have noticed that the dll for the WDP build in the bin folder is only 9KB in size while when I publish the file is 177KB in size. I have looked through the web deployment logs and can't see any problems. I also had another developer deploy using the WDP on their machine and they got the same result. Has anyone else seen this or have any ideas what is wrong?
View Complete Post