Deploy from command line using MSBUILD and or MSDEPLOY (.NET 3.5)
<p>I'm trying to get my website deployed by a Jenkins job.</p>

<p>I'm using the following command line sentence, with no success:</p>

<pre><code>"C:\Windows\Microsoft.NET\Framework\v3.5\msbuild.exe" myproj.csproj /p:DeployOnBuild=true
</code></pre>

<p>I've also tried:</p>

<pre><code>"C:\Windows\Microsoft.NET\Framework\v3.5\msbuild.exe" myproj.csproj  /p:Configuration=Debug /p:OutputPath="obj\debug" /p:DeployIisAppPath="Default Web Site/demo" 
</code></pre>

<p>None works although my project is compiled properly.</p>

<p>WHen I go to C:\inetpub\wwwroot nothing new is there. I want my site to start running and be accesible from my browser in Localhost.</p>