Error When Loading Extension

Issue #42 resolved
Adam Driscoll created an issue

This seems to happen on slower machines. Still a bit of a timing issue.

2018-12-20 VS Poshtools unresponsiveness.png

2018-12-20 VS Poshtools crash on start.jpg

Comments (6)

  1. pju

    Really appreciate your work - and for opening this one! But, it's up to you, Adam, if you will use time on this. I really don't care as long as poshtool works ;-) It was just meant as an extra information.

  2. Adam Driscoll reporter

    Thanks for the info. I'll be looking into it.

    The main reason for the change is that PoshTools has historically been a synchronous package in VS. In VS2017, they created the AsyncPackage. This means that all the bits and pieces of the package load in different orders and you need to make sure things are synchronized appropriately. It wasn't a requirement to implement an AsyncPackage so it was never done for PoshTools. MSFT has started to warn package developers that AsyncPackages will be a requirement in future version of VS. It sounds like the first minor upgrade for VS2019 will disable synchronous packages completely.

    This is why there were changes to the PoshTools that have caused some stability problems. There was a lot of technical debt in the codebase that made it hard to transition to an asynchronous package easily. Hopefully will have it smoothed out in a release or two.

    Keep filing bugs. :)

  3. Adrian Spear

    Thanks for the response, Adam - I feel your pain but I've every confidence you'll get to it when you can. In the meantime, thanks for the link, I'll try down-versioning and see how I get on. All the best.

  4. Log in to comment