Error When Loading Extension
This seems to happen on slower machines. Still a bit of a timing issue.
Comments (6)
-
-
+1 I'm seeing the same issue - worked 100% for months until just yesterday. Cheers.
-
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. :)
-
reporter Also, if you are super stuck, here are the older versions of PoshTools: https://docs.poshtools.com/release-notes/powershell-tools-for-visual-studio
-
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.
-
reporter - changed status to resolved
PowerShell Tools now loads asynchronously. Please try version 5.0
- Log in to comment
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.