Sharepoint connection with Visual studio 2022

Anurag Basu 0 Reputation points
2024-02-22T12:45:10.0166667+00:00

I am trying to connect my SharePoint site with visual studio to do customize modification through code. But can't be able to get that. When i try to do connection through view -> server explorer -> SharePoint connection
It gives me error.
Required SharePoint foundation or SharePoint Server is not installed on that system.

and getting one more error that is IDCRL when i run connection. What does this error means? Explain this error.

regards, Anurag

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,336 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. RaytheonXie_MSFT 35,071 Reputation points Microsoft Vendor
    2024-02-23T02:34:25.2833333+00:00

    Hi @Anurag Basu, Assuming you have all the requirements needed for developing SharePoint including having SharePoint installed on the same machine, my guess is that you are choosing a project template that does not match your installed SharePoint version. Since you chose the template SharePoint 2013-Visual Web Part and the error message is indicating the target version is 15.0, you should ensure you have SharePoint 2013 installed and not 2010 or 2016. Or if you do have SharePoint 2010 or 2016 installed, then ensure you are choosing the proper template. Example: SharePoint 2016 - Visual Web Part

    ---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.

    0 comments No comments

  2. Anurag Basu 0 Reputation points
    2024-02-23T10:39:56.85+00:00

    I am getting the error Microsoft.SharePoint.Client.IdcrlException: 'Identity Client Runtime Library (IDCRL) did not get a response from the Login server.'
    when i run the code where i set the sharePoint site url and credential.
    how to remove this error .

    0 comments No comments

  3. Anurag Basu 0 Reputation points
    2024-02-23T10:41:27.8366667+00:00

    I am getting the error Microsoft.SharePoint.Client.IdcrlException: 'Identity Client Runtime Library (IDCRL) did not get a response from the Login server.'
    when i run the code where i set the sharePoint site url and credential.
    how to remove this error .

    0 comments No comments

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.