title: Missing references with ClickOnce deployment
body: <p>I have a WPF application. On my continuous integration server (Teamcity), I deploy the application with a MSbuild command that copy the ClickOnce files in a folder...</p>
  
  <p>It was working until I added a new project in my solution and reference it in my main project.</p>
  
  <p>It is still working in Visual Studio, but during the deployment with MSBuild I get an error :</p>
  
  <blockquote>
    <p>"The type or namespace name 'Blabla' does not exist in the namespace
    'Bla.Bla' (are you missing an assembly reference?)</p>
  </blockquote>
  
  <p>Any idea why ?</p>
  
  <p>The referenced project dll is well in the Application files list, in the publish tab of my main project properties...</p>