title: build succeeds publish fails visual studio 2012 WPF project
body: <p>I have a WPF project that I normally publish for click once installs
  The project stopped publishing about 3 days ago.</p>
  <p>If I build and/or run the project from code it succeeds but publish fails.
  Cannot publish because a project failed to build.       1   1   ProjectName
  Could not find file 'obj\x86\Debug\ProjectName.exe'.    ProjectName</p>
  <p>Funny thing is if I look in the obj\x86\Debug folder it appears to put the ProjectName.exe in for a split second and then remove it again before failing.</p>
  <p>The error in the output window is:
  C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(3075,5): error MSB3113: Could not find file 'obj\x86\Debug\ProjectName.exe'.</p>
  <p>Error: Cannot publish because a project failed to build.</p>
  <p>I've tried the normal stuff like cleaning, rebuilding, rebooting</p>
  <p>After changing verbosity of build to diagnostics I got following information on the failure:</p>
  <blockquote>
  <p>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(3075,5): error MSB3113: Could not find file 'obj\x86\Debug\ProjectName.exe'.</p>
  <p>Done executing task &quot;GenerateApplicationManifest&quot; -- FAILED. (TaskId:147)</p>
  <p>Done building target &quot;GenerateApplicationManifest&quot; in project &quot;ProjectName.vbproj&quot; -- FAILED.: (TargetId:166)</p>
  </blockquote>