dashton82 / FakeScript

FAKEBuildScript - Build script for .NET projects
6 stars 1 forks source link

Path too long #9

Closed james-radford closed 7 years ago

james-radford commented 7 years ago

I've received multiple errors because we're using npm at my place and I think windows/ the script is not able to handle the amount of sub folders. I get System.Io.PathTooLongException error when running RunBuild in the command prompt.

dashton82 commented 7 years ago

This is a known windows issue sigh

Easiest work around is to remove the Clean Directories from the dependency tree - this will leave you with the following:

"Set version number"
   ==>"Set Solution Name"
   ==>"Update Assembly Info Version Numbers"
  // ==>"Clean Directories" 
   ==>"Clean Projects"
   ==>"Build Projects"
   ==>"Run NUnit Tests"
   ==>"Build Cloud Projects"
   ==>"Build Database project"
   ==>"Build WebJob Project" 
   ==>"Publish Solution"  
   ==>"Compile Views"
   ==>"Create Nuget Package"
dashton82 commented 7 years ago

Is there a __node_modules__ folder in your solution?

dashton82 commented 7 years ago

Fixed as part of a1dffbb9dbd0f81ef4eca66c016d5b4f8f06c249

james-radford commented 7 years ago

ok thanks, I'm running the changed version as we speak, so far so good.