title: Problems using MsBuild using command line for Publish Click Once
body: <p>I have Windows application in csproj in my solution, and I want generate Publish using command line (bat, cmd).</p>
  
  <p>My script is (I put <code>\r\n</code> for better reading):</p>
  
  <pre><code> SET MSBUILD="%SystemRoot%\Microsoft.NET\Framework\v3.5\MSBuild.exe"
      SET CARWIN="..\..\Security.CarWin.csproj"
  
      rem msbuild para publish
  
      %MSBUILD% /target:rebuild;publish %CARWIN% 
  /p:ApplicationVersion="1.0.0.0" 
  /p:Configuration=release 
  /p:PublishUrl="C:\ClickOnce\CarWin.WebInstall\Publicacion\" 
  /p:InstallUrl="http://desserver/carwinclickonce/Publicacion/" 
  /p:PublishDir="C:\ClickOnce\CarWin.WebInstall\Publicacion\" 
  </code></pre>
  
  <p>note: I'll try too using <code>/target:publish</code></p>
  
  <p>But in path PublishDir or PublishUrl (C:\ClickOnce\CarWin.WebInstall\Publicacion) not generates any files.</p>
  
  <p>I have seen many posts in this site and google but I not found any solution.</p>