Visual Basic 2022 has no service based database

Govind Sankar M R 20 Reputation points
2023-04-11T16:23:29.48+00:00

Hello, I just installed visual studio 2022 and starting with a new project. For that created a wpf application. And then tried to add a new item service based database. I used to do this in previous job with visual studio 2019. Here I had to download 2022 and included all the extras include database and stuff. But when I tried to add service based database, I cant find it. Why is this? Kindly do help me. Thank you.

Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
{count} votes

2 answers

Sort by: Most helpful
  1. Tianyu Sun-MSFT 34,686 Reputation points Microsoft External Staff
    2023-04-12T06:06:38.4966667+00:00

    Hello @Govind Sankar M R ,

    Welcome to Microsoft Q&A forum.

    As @Viorel said, you need to select the project node in Solution Explorer instead of the solution node.

    See following screenshots(right-click the project => Add => New Item... => Service-based Database):

    User's image

    User's image

    Sincerely,

    Tianyu


    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.

    1 person found this answer helpful.

  2. Govind Sankar M R 20 Reputation points
    2023-04-12T05:25:32.71+00:00

    Yes I selected the project node. Check the pics I have uploaded. It shows all the items I have.IMG_4939 (1)

    IMG_4940 (1)

    IMG_4941 (1)


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.