It seems like I've seen the answer to this question somewhere in the forum before, but I can't seem to find it so, how 'bout another post?
I am not finding a dll for a C# web service that I have created in Visual Studio 2005. Do I need a dll in order to deploy the service? Also, I am not wanting to put my .cs files on the web server.
Why dont you publish your web service (right click the WebService project and select Publish WebSite)? You can see the DLL in the published folder under /bin folder. I use this "Publishing" for deploying web services.
Let me know if this works.
Do you know why the dll creation was taken out of the build for web services? This seems lame but, I'm sure there was a good reason.
There were many benefits associated with the new compilation model in VS 2005. For e.g.(one of them which I particularly like):
"Because pages are compiled dynamically and compiled into different assemblies as needed, it is not required that the entire project compile successfully in order to run and debug a page."
So the new compilation model has its advantages too.
Please see this link for details and exact differences between these two models:
Leaving the old option out at first, was purely a mistake (that's why they released WAP quite fast), but there was reasons to introduce the new model, explained by Scott Guthrie himself: http://weblogs.asp.net/scottgu/archive/2005/08/21/423201.aspx