.net - TFS build takes longer than same msbuild in command line -
i've performance issue tfs 2013. i've build definition (based on process tfvctemplate.12.xaml), builds 3 solutions (with 30 projects each, it's wpf/wcf application). build takes 45minutes, since seemed lot of time (same build on our workstation takes few minutes) i've set log level diagnostic , found when msbuild compile wpf projects spends of time in markupcompilepass1 , markupcompilepass2 tasks, here example:
1540 ms generatetemporarytargetassembly 1 calls 6353 ms corecompile 6 calls 6840 ms resolveprojectreferences 5 calls 94682 ms markupcompilepass1 1 calls 112988 ms markupcompilepass2 1 calls
i've tried execute same msbuild statement in command line on same machine (same parameters, changed logfile paths) , strangely took lot less. performance log same project:
865 ms resolveassemblyreference 5 calls 1493 ms markupcompilepass2 1 calls 1730 ms generatetemporarytargetassembly 1 calls 1976 ms markupcompilepass1 1 calls 7258 ms csc 6 calls 11879 ms msbuild 12 calls
is there reason behind different behavior of tfs build agent?
i've tried let agent build simple empty project , placed msbuild commands inside batch execute after build, outcome same, tfs agent hangs , spend time in markupcompilepass1/2.
any appreciated!
Comments
Post a Comment