title: WCF Service Publishing and Fileless Activation : still create a .svc file
body: <p>Using Visual Studio 2012, I have created a WCF 4.5 Service Library.
  When the <a href="http://msdn.microsoft.com/en-us/library/vstudio/bb924407%28v=vs.110%29.aspx" rel="nofollow">service is published</a> to my local IIS, despite the <a href="http://msdn.microsoft.com/library/vstudio/ee816902.aspx" rel="nofollow">serviceActivations</a> section in the configuration file, a .svc file is still created.</p>
  
  <p>I'm also using a custom factory in the configuration file, which, fortunately, isn't lost because serviceActivations overrides .svc files.</p>
  
  <p>The configuration file look like this :</p>
  
  <pre><code>&lt;serviceHostingEnvironment aspNetCompatibilityEnabled="false" multipleSiteBindingsEnabled="true"&gt;
    &lt;serviceActivations&gt;
      &lt;add factory="My.ServiceHostFactory" relativeAddress="~/BirtProxy.SoapReport.svc" service="BirtProxy.SoapReport" /&gt;
    &lt;/serviceActivations&gt;
  &lt;/serviceHostingEnvironment&gt;
  </code></pre>
  
  <p>The .svc file that is created is like this :</p>
  
  <pre><code>&lt;%@ ServiceHost Service="BirtProxy.SoapReport" %&gt;
  </code></pre>
  
  <p>I have several other services where I don't have this behavior, but I can't figure out what's wrong. I don't want this additional file to be created.</p>
  
  <p>Any Help appreciated.</p>