I have a WCF service project, and try to host it with IIS. In visual studio 2008, I right mouse click the project, and use the command "Publish" It publish to the directory I pointed to, but it puts the binary dlls in directory bin\release or bin\debug
And I try to browse the svc, and it gives me the error message: The type 'xxxxxxxxxxxx' provided as the Service attribute value in the ServiceHost directive could not be found. I copy the binary files from the debug or release directory to its parent bin, and the browsing work fine. Any idea why "Publish" copy the files to the debug directory instead of bin directory?