madskristensen / WebPackTaskRunner

A Visual Studio extension
Other
40 stars 17 forks source link

Add support for VS 2022 #55

Closed nil4 closed 3 years ago

nil4 commented 3 years ago

The changes are largely following the examples from:

I have tested the extension built locally with VS 2022 (preview 1) and it appears to works well.

madskristensen commented 3 years ago

Thanks. The item templates won’t work anymore since TemplateBuilder was removed. I think that package requires packages.config instead of PackageReference

nil4 commented 3 years ago

I've tried building the extension locally with VS 2022 preview 1, and testing this PR worked as expected for me both in the experimental instance while debugging, and then also when installed from VSIX into the main VS 2022 instance.

I am not familiar with the item templates, as I'm only using the ability to run webpack.config.js scripts myself via the Run/Watch commands (i.e. {Run,Watch} - {Development, Production}). I can confirm that these work fine, just as they did in VS 2019 and earlier.

@madskristensen if you could guide me a bit on the changes you'd like to see done to address the item templates issue, I'd by happy to help.

Thank you for this wonderful extension, by the way, and for updating NpmTaskRunner and many others to VS 2022 already! WebPackTaskRunner was the only extension I was missing out on and I managed to update it for myself. If I can help get it ready for others too I'd be glad to help.

madskristensen commented 3 years ago

We can probably drop support for the item template since it’s likely no longer needed.