appcelerator-archive / windowslib

This is a library of utilities for dealing programmatically with Windows Phone applications, used namely for tools like Titanium.
http://www.appcelerator.com
Other
4 stars 10 forks source link

[DAEMON-165] Handle max path when building wptool #80

Closed ewanharris closed 6 years ago

ewanharris commented 6 years ago

If the total path length of __dirname\wptool\bin\Release\<longest_assembly_name> is greater than or equal to max path, then we will move the wptool project to os.tmpDir() and build there..

I'm still trying to decide on a best course of action if the __dirname\bin directory proves too long to copy to, as we will have to consider this when calling checkOutdated too

Edit: The above is unecessary, a user with the max allowed username does not trigger an error copying the files to bin