How to Install Package in Windows App RRS feed

  • Question

  • We can install packaged like Azure.cognitive services using command prompt in C# console app.

    dotnet add package Microsoft.Azure.CognitiveServices.Vision.ComputerVision --version 6.0.0-preview.1

    However when trying to add this in C# Windows app get error

    error: Error while adding package 'Microsoft.Azure.CognitiveServices.Vision.ComputerVision' to project 'C:\abc\Text Reader\Text Reader.csproj'. The project does not support adding package references through the add package command.

    How to install package in Windows C# Project? 

    Saturday, September 12, 2020 5:52 AM


  • Ok. Solved. 

    The library is available as a downloadable NuGet package.

    • Marked as answer by Compvishal08 Sunday, September 13, 2020 6:23 AM
    Saturday, September 12, 2020 6:05 AM