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

daryush salahshur 136 Reputation points
2021-11-27T18:43:46.527+00:00

Hi
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

153091-error.png
Can anyone guide me?

Best Regards,
Daryush

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,626 questions
{count} votes

1 answer

Sort by: Most helpful
  1. RaytheonXie_MSFT 37,151 Reputation points Microsoft Vendor
    2021-11-29T03:08:47.467+00:00

    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
    https://learn.microsoft.com/en-us/sharepoint/dev/spfx/sharepoint-framework-overview


    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.

Your answer

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