enter image description here

Hello Experts,

I had installed SharePoint 2019 and Visual Studio 2019 in Hyper V. When i try to create an Empty project in Visual Studio Getting this error, Please help.

Please find the below screenshots for more information.

enter image description here

enter image description here

Once i click on create it is showing the error. Thanks in Advance.

  • have you checked the old question here: sharepoint.stackexchange.com/questions/234943/…
    – Mark L
    Nov 6, 2020 at 1:35
  • This old question is related to VS 2015, And more over the answer suggesting to install both on same server. But i had already installed both on the same server. Nov 6, 2020 at 6:55
  • are you able to open the sharepoint page within the same server with browser? Sometimes the url is not resolved properly
    – Mark L
    Nov 6, 2020 at 7:03
  • Yes i am able to access SharePoint through the browser with in the server, Just to mention this environment setup done in Hyper V Nov 6, 2020 at 7:30

1 Answer 1


Please make sure you have selected the SharePoint 2019 Project templates in visual studio.

If there is no valid template, try to reinstall Office Development tools like this:

  1. Run VS2019 > Tools > Get tools and features
  2. Uncheck Office/Sharepoint development and click Modify
  3. Wait when installation will be completed. After that install them using the same method

More information for your reference:


SharePoint 2019 Project templates in Visual Studio 2019

  • I can see the SharePoint templates in VS2019. When I try to create SharePoint project with SharePoint 2019 empty project I get this error. SharePoint 2019 and VS2019 are both installed on same Hyper-V windows server. Nov 11, 2020 at 7:01
  • Please provide more information about the SharePoint project template in visual studio such as screenshoot.
    – Julie_MSFT
    Nov 12, 2020 at 6:42
  • Please find the screenshots i updated the question. Nov 12, 2020 at 16:54
  • From your screenshoot, it is normal. We suggest you run visual studio as administrator, if the issue still exists, you may need to re-install visual studio.
    – Julie_MSFT
    Nov 13, 2020 at 9:30
  • I had already run visual studio several times as Administrator but still i go the same error. I will give a try to to re-install VS2019. Nov 13, 2020 at 12:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.