Skip to main content

DevExpress NuGet Packages and Popular Continuous Integration Systems

  • 2 minutes to read

Important

This topic contains instructions that may be incomplete. Please read CIS documentation for additional information.

This topic describes how to integrate an application with DevExpress controls into Azure DevOps, JFrog Artifactory, and Nexus OSS continuous integration (CI/CD) systems.

Azure DevOps

Azure DevOps does not support custom upstream NuGet sources. Use the NuGet.config file to configure the system.

  1. Obtain your NuGet feed credentials.
  2. Add the NuGet.config file next to the .sln file in your project.
  3. Add a package source with your DevExpress NuGet feed URL to the NuGet.config file.

The next steps depend on whether you use an authorization key or feed URL.

Feed Authorization Key

  1. Specify content of the Nuget.config file as follows:

    <?xml version="1.0" encoding="utf-8"?>
    <configuration>
      <packageSources>
        <add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
        <add key="DevExpress Feed" value="https://nuget.devexpress.com/api/" />
      </packageSources>
    </configuration>
    
  2. Add a new build pipeline.

  3. Add a new NuGet restore task to the pipeline and configure it to work with NuGet.config. You should specify the following settings:

    Settings Values
    Command restore
    Feeds to use Feeds in my NuGet.config
    Path to NuGet.config Path to your NuGet.config file

    Azure NuGet Task

  4. Click the New button to add feed credentials.

    Azure Task with Credentials

  5. Specify the connection settings as shown below and save them.

    Azure Connection Settings

NuGet Feed URL

  1. Specify content of the Nuget.config file as follows:

    <?xml version="1.0" encoding="utf-8"?>
    <configuration>
      <packageSources>
        <add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
        <add key="DevExpress Nuget server" value="https://nuget.devexpress.com/{Your feed authorization key}/api" />
      </packageSources>
    </configuration>
    
  2. Add a new build pipeline.

  3. Add a new NuGet restore task to the pipeline and configure it to work with NuGet.config. You should specify the following settings:

    Settings Values
    Command restore
    Feeds to use Feeds in my NuGet.config
    Path to NuGet.config Path to your NuGet.config file

    Azure NuGet Task

JFrog Artifactory

  1. Obtain your NuGet feed credentials.

  2. Create a new remote repository in Artifactory with the following settings:

    Settings Values
    URL https://nuget.devexpress.com/{Your feed authorization key}/api
    NuGet Download Context Path package
    NuGet Feed Context Path <empty>
    NuGet v3 Feed URL <empty>

JFrog Repository

JFrog Artifactory creates a NuGet feed on the jFrog server.

Nexus OSS

  1. Obtain your NuGet feed credentials.

  2. Create a new remote repository with the following settings.

    Settings Values
    Format nuget
    Type proxy
    Remote Storage https://nuget.devexpress.com/{Your feed authorization key}/api

Nexus OSS Repository

Nexus OSS creates a proxy URL feed with access to the DevExpress NuGet packages.

See Also