MSBuild 2010 - how to publish web app to a specific location (nant)?

后端 未结 3 1458
清酒与你
清酒与你 2020-12-24 08:26

I\'m trying to get MSBuild 2010 to publish a web app to a specific location. I can get it to publish the deployment package to a particular path, but the deployment package

3条回答
  •  旧时难觅i
    2020-12-24 08:45

    msbuild /t:Build;PipelinePreDeployCopyAllFilesToOneFolder /p:Configuration=Release;_PackageTempDir=C:\temp\somelocation;AutoParameterizationWebConfigConnectionStrings=false MyProject.csproj
    

    Corresponding NAnt script:

    
      
      
      
    
    

    References

    • Simulating "Publish to folder" Functionality in Visual Studio 2010
    • Team Build + Web Deployment + Web Deploy + VS 2010 = Goodness

    See also Team Build: Publish locally using MSDeploy

提交回复
热议问题