.net - MSBuild WebFileSystemPublish step does not run on build server -


i'm using following powershell script build web project:

$tools = @() $tools += "c:\windows\system32"                           #xcopy $tools += "c:\windows\microsoft.net\framework\v4.0.30319" #msbuild $env:path =  [string]::join('; ', $tools)  msbuild ros.edi.web/ros.edi.web.csproj `   /p:deployonbuild=true `   /p:publishprofile=$config `   /p:configuration=$config `   /p:platform=anycpu `   /p:defineconstants=$constants `   /property:applicationversion=$env:build_number `   /property:applicationrevision=$env:build_vcs_number 

the script completes , msbuild runs without error on both dev machine , build server. however, step publishes web project local file system not run on build server.

here relevant output msbuild on dev machine

pipelinepredeploycopyallfilestoonefolder:             publish pipeline deploy phase stage ... webfilesystempublish:                                 ... 

and on build server

pipelinepredeploycopyallfilestoonefolder:                publish pipeline deploy phase stage ... package:                                                 invoking web deploy generate package ... 

i'm trying figure out why "package" step running on build server instead of "webfilesystempublish". can cause same version of msbuild behave differently on 2 different machines?

before mark duplicate have read following , tried solutions no avail:

add following msbuild option:

/p:visualstudioversion=11.0 ` 

i found out option here.


Comments

Popular posts from this blog

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -