title: How to convert configSource to inline elements in web.config on transformation
body: <p>Currently my web.config looks something like this:</p>
  
  <pre><code>&lt;configuration&gt;
    &lt;connectionStrings configSource="connectionstrings.config"/&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>When generating a deployment package (Msbuild.exe + target=Package) it does not 'magically' parameterize my connectionstrings to the parameters.xml file for substitution on deployment.</p>
  
  <p>When i inline my connectionstrings everything is fine and parameters are generated for my connectionstrings.. </p>
  
  <p>So:</p>
  
  <p>How can I copy the contents of connectionstrings.config as replacement of my &lt;... configsource="xxx"/> on deployment trough a web.config transformation?</p>
  
  <p><strong>EDIT:</strong>
  I have accepted the answer of Sayed Ibrahim because the 'default' behaviour is really nice (automatic parameterization of connectionstrings in web.config) But in the end its better to specify exactly which stuff needs to be parameterized (either via <em>{projectname}.wpp.targets</em> or <em>parameters.xml</em> file).</p>