I am trying to build/publish (to a disk) a WCF Service Library using MsBuild. We have a nightly build process that I need to incorporate this WCF project into. I've tried using the /target:publish as we use for our smart clients (one click deployment projects) but the WCF project is skipped and I receive a warning about the project being skipped because it is non-publishable. Eliminating /target:publish I am able to get the build to work but the .svc file is not created. Any help would be greatly appreciated.