tfs - Is there a way that VSO vNext builds can clean up long directory paths (>260 characters) -


i've setup .net tfs build vnext build run following:

  • npm install
  • gulp
  • visual studio solution build

the build confgured clean automatically before checking sources so:

clean sources configuration

i have 2 problems build question problem #2.

  1. the npm install step fails install phantomjs because command node install.js can't find node, though node in system path.

  2. running builds configured clean fails because of path long error below.

[error]the specified path, file name, or both long. qualified file name must less 260 characters, , directory name must less 248 characters.

i clean setting work , clean these longs paths, don't know how make work properly.

when tried re-create same build in teamcity clean option works fine. also, know if had access script running clean use *rmdir /s /q remove these paths. vso build can run or works.

[edit] - have confirmed fixed in latest build agent version (1.85.1)

i've been told ms folks bug in vnext builds , fixed in next release of product. i'll update answer once see fix released.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -