title: How to add a target application name into a config transform when installing NuGet package
body: <p>NuGet allows package developer to transform the config and code files in a target project as per <a href="http://docs.nuget.org/docs/creating-packages/configuration-file-and-source-code-transformations" rel="nofollow">this document reference</a>.</p>
  
  <p>Basically, for .config xml-based files merge transfrom and now a common .xdt transforms are available.</p>
  
  <p>I am currently using the following as a web.config.transform:</p>
  
  <pre><code>&lt;configuration&gt;
      &lt;connectionStrings&gt;
          &lt;add name="MembershipConnection" connectionString="Data Source=(LocalDb)\v11.0;AttachDbFilename=|DataDirectory|\aspnet-membership-hardcodedstring.mdf;Initial Catalog=aspnet-membership-hardcodedstring;Integrated Security=True" providerName="System.Data.SqlClient" /&gt;
      &lt;/connectionStrings&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>See where I have {hardcodedstring} as a part of my database filename? I'd like this one to be a target application namespace or something relevant to a target application.</p>
  
  <p>Can such customization be done to acheieve my goal? If yes, please explaing how. </p>