Because VS 2022 Version 17.2.0 Preview is under development and not has all module functions yet.
You can report this issue by click right upper icon which is right of Live Share in VS 2022 Version 17.2.0 Preview.
You can continue to use VS 2019 for development until the official version of VS 2022 is released.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.