Fuente NuGet Infragistics

    Infragistics proporciona una fuente NuGet privada para que los usuarios con licencia consuman y agreguen paquetes NuGet de Ignite UI for Blazor con licencia a sus aplicaciones a través del Administrador de paquetes NuGet.

    Este tema contiene las siguientes secciones:

    • Cómo agregar la fuente NuGet Infragistics con Visual Studio
    • Cómo agregar la fuente NuGet Infragistics con la CLI de NuGet

    Adding with Visual Studio

    1 - En Visual Studio, seleccione Herramientas → Administrador de paquetes NuGet → Configuración del administrador de paquetes.

    nuget-package-manager-setting-menu-item

    2 - En la sección Fuentes del paquete, agregue una nueva fuente del paquete haciendo clic en el ícono más en la esquina superior derecha del cuadro de diálogo.

    [!Note] For more details on whether to use v3 or older please visit: https://devblogs.microsoft.com/nuget/nuget-3-what-and-why/. Protocol v3 is applicable only when using newer versions of NuGet clients (after 2015). Older NuGet clients may or may not be compatible with v3.

    Haz clic en el botón Actualizar y luego en Aceptar para cerrar el diálogo.

    nuget-package-manager-package-sources-ig-server

    [!Note] When adding a NuGet package from this source for the first time, you will be prompted for your Infragistics credentials.

    Adding with the NuGet CLI

    1 - Descargar el último ejecutable de Nuget. Indica a tu navegador que guarde el archivo en una carpeta que elijas. El archivo no es un instalador; No verás nada si lo ejecutas directamente desde el navegador. 2 - Abre un símbolo en la ruta de la carpeta delnuget.exe archivo que acabas de descargar. 3 - Ejecuta el siguiente comando

    //nuget protocol v3
    nuget sources add -name "Infragistics" -source "https://packages.infragistics.com/nuget/licensed/v3/index.json" -username "your login email" -password "your password"
    
    //nuget protocol v2
    nuget sources add -name "Infragistics" -source "https://packages.infragistics.com/nuget/licensed" -username "your login email" -password "your password"
    

    [!Note] The password will be stored encrypted in the NuGet config file and can only be decrypted in the same user context as it was encrypted. The default location of the config file can be found here %AppData%\NuGet\NuGet.config