uli-weltersbach / XPathTools

A Visual Studio Extension which can run any XPath and XPath function; navigates through results at the click of a button. Can show and copy any XPath incl. XML namespaces, avoiding XML namespace induced headaches. Keeps track of the current XPath via the statusbar.
41 stars 4 forks source link

VS2019 Support? #36

Closed iccfish closed 5 years ago

iccfish commented 5 years ago

Please consider support for vs2019, Thanks 😄

uli-weltersbach commented 5 years ago

Thanks for the heads up, will get right on it :D

https://blogs.msdn.microsoft.com/visualstudio/2018/09/26/how-to-upgrade-extensions-to-support-visual-studio-2019/

uli-weltersbach commented 5 years ago

Seems like it will be necessary to change the "load behavior" of the extension, otherwise it won't work in Visual Studio 2019, version 16.1:

https://blogs.msdn.microsoft.com/visualstudio/2018/05/16/improving-the-responsiveness-of-critical-scenarios-by-updating-auto-load-behavior-for-extensions/

https://github.com/Microsoft/VSSDK-Extensibility-Samples/tree/master/AsyncPackageMigration

iccfish commented 5 years ago

Yep....Since 2017 MS has added a set of AsyncPackage in order to improve load speed. Class 'Package' and initialization method 'Initialize' needs to be replaced with 'AsyncPackage' and 'InitializeAsync'.

Emm....Seems that ms always changing something 😄