DevArt postgres in AzureDevops

95 views Asked by At

I'm working on a local build application that requires DevArt dotnet Connect for Postgres. I'm trying to set up the build pipeline in Azure DevOps, but I can't find the extension for Postgres in the extensions marketplace. Any guidance on how to obtain DevArt dotnet Connect for Postgres in Azure DevOps would be appreciated. Thanks!

1

There are 1 answers

3
Bright Ran-MSFT On

If you want to restore "Devart.Data.PostgreSql" package when building your application in the pipeline of Azure DevOps, you can follow the steps below to configure:

  1. Open your application in Visual Studio.

  2. Right click on the project which needs "Devart.Data.PostgreSql" package, and select "Manage NuGet Packages..." option.

  3. Under the Browse tab, search for and install "Devart.Data.PostgreSql" package.

    enter image description here

  4. Save and push the changes to the remote repo.

  5. In the pipeline, if you use the VSBuild or MSBuild task to build the application, before the build task, you need to add a NuGet task like as below to run 'nuget restore' to restore the required packages from NuGet.org.

    enter image description here