title: Installer project packaging files multiple times
body: <p>I have an installer project to generate a setup file for my project which is a WPF application combined with some libraries.</p>
  
  <p>The setup project takes longer to build each time I run the build function.</p>
  
  <p>From the output log I noticed that the packing of files happens a lot. And this number doubles each time a build is run.</p>
  
  <p>I tested this with the following line:</p>
  
  <p><code>Packaging file 'System.IO.dll'...</code></p>
  
  <ul>
  <li>During my first test this line occurred over 16000 times. </li>
  <li>During my
  second test this line occurred over 32000 times.</li>
  </ul>
  
  <p>It explains why my build is so slow for a pretty simple application, but how can I solve this? </p>
  
  <p>Noticed my project file is pretty big too compared to other projects (8000 lines) I suspect this is caused by the same issue.</p>
  
  <hr>
  
  <p>I found out this issue will be reset when VS is rebooted. When VS is rebooted it will be packing each dll only 1 time. The 2nd build it will be packing each dll twice.</p>
  
  <p>I'm still looking for a permanent solution for this problem.</p>