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

后端 未结 3 1471
清酒与你
清酒与你 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条回答
  •  没有蜡笔的小新
    2020-12-24 08:34

    I think you're using the wrong property. Try the OutDir property instead.

    
    

    Personally, I call MsBuild.exe directly instead of using the msbuild tag:

        
            
            
            
            
            
            
            
        
    

    MSBuildPath - The path to MsBuild.exe (allows you to target any framework version you want)

    ProjectFile - The relative path to your project file

    LocalDeployPath - The local folder where everthing will be outputed. Your copy script will use also use this as the source directory.

    SolutionConfiguration - Release, Debug

提交回复
热议问题