I'm getting
Validation (): Attribute 'Factory' is not a valid attribute of element 'ServiceHost'.
from VS2008 in an empty WCF Service Application after I add Factory="System.ServiceModel.Activation.WebServiceHostFactory" to the @Service directive in the .svc file. I've added System.ServiceModel.Web reference to the code-behind.
I'm at a total loss based on what I've read on MSDN. Has anybody come across this before?
Update:
Factory doesn't even show up as an available attribute in the intellisense in the markup for the .svc file.