Type or namespace DocumentIntelligenceClient could not be found error

Sriramsubramaniyan Nadarajan 76 Reputation points
2024-02-12T12:33:25.29+00:00

Hi, I had referenced the Azure.AI.DocumentIntelligence reference in my solution but still I am unable to resolve the error Type or namespace DocumentIntelligenceClient could not be found error. Can someone please help me on this issue. Thanks

Azure AI Document Intelligence
Azure AI Document Intelligence
An Azure service that turns documents into usable data. Previously known as Azure Form Recognizer.
2,100 questions
{count} votes

1 answer

Sort by: Most helpful
  1. VasaviLankipalle-MSFT 18,676 Reputation points Moderator
    2024-02-12T19:01:54.4333333+00:00

    Hello @Sriramsubramaniyan Nadarajan , Thanks for using Microsoft Q&A Platform.

    It is possible that you have not installed the required package or that there is an issue with your installation. If you are using latest preview API version, make sure that you have installed the azure-ai-documentintelligence package.

    Install the Azure Document Intelligence client library for .NET with NuGet:

    dotnet add package Azure.AI.DocumentIntelligence --prerelease
    

    Here is the GitHub reference related to DocumentIntelligenceClient.cs: https://github.com/Azure/azure-sdk-for-net/blob/Azure.AI.DocumentIntelligence_1.0.0-beta.1/sdk/documentintelligence/Azure.AI.DocumentIntelligence/src/DocumentIntelligenceClient.cs

    I hope this helps.

    Regards,

    Vasavi

    -Please kindly accept the answer and vote 'yes' if you feel helpful to support the community, thanks.

    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.