Run the Sign function in an STA thread to be able to sign js files
Implements the fix proposed by @engycz in #169
Interesting. Thanks for the fix. I am going to play around with this locally first to make sure I understand.
bump?
Bumping for update. Hopefully this can make it into the next release.
I haven't forgotten about this pull request. I do have some concerns about spawning potentially 1000s of threads. I realize that with the Join there will never be more then MDOP number of executing threads, but constantly creating and destroying threads makes memory usage a tad high.
Right now I am experimenting with a custom TaskScheduler for Parallel.ForEach instead. If I put together a branch with a task scheduler would folks be willing to pull it down, build AzureSignTool, and give it a try?
Sure thing! We're already running @air2 branch "in production" and its working. We are willing to try an official release so we don't have to maintain our own copy of code internally.
Anyone going to finish this pull?