Create web part in visual studio 2019 - sharepoint 2019 - using c#

daryush salahshur 136 Reputation points

I 'm tring to creat an empty sharepoint 2016 with visual studio 2019. My version of sharepoint is 2019

The following error appears When I press the button create botton

Can anyone guide me?

Best Regards,

SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,576 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. RaytheonXie_MSFT 32,081 Reputation points Microsoft Vendor

    Hi @daryush salahshur ,
    The required version of sharepoint is 2016. We are unable to create sharepoint 2016 empty project in sharepoint 2019. I would introduce sharepoint framework to you if you want create custom web part in sharepoint 2019. Here is the link of document

    If the answer is helpful, 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.