I'm working with a co-worker on this, will try on my own machine shortly, but wanted to get the question posted quickly. I've also been Googling for step-by-step "how to setup for WCF service" and not finding anything on target. I've done it before at a prior company, but forgetting the details now.
Are .SVC files automatically included in the "Primary Output" of another project?
We did a "Add" "project output" then pointed to WCF web service project. The .dlls all show up, but not the .SVC files.
- Should the SVC files be included with the primary output? Or does "primary output" just refers to the Debug/Bin output?
- Can we deploy without the SVC files? I'm thinking we need the SVC not the C#, show I don't want to include "all source files".
- Do we have to add the SVC files manually?
- Likewise, do we have to add the web.config manually?
Using VS2010
After a few minutes of experimenting, I think it is "Content Files" that includes the .svcs and the .configs.
So is that the best practice, to include the following: 1) Primary output 2) Content files?