Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

305
Vistas
Installing dotnet new template not working from NuGet Feed, works locally

Looking for some guidance on fault finding an install from dotnet new -i <NUGET_PACKAGE_ID>

I have a template which is packaged and deployed to an Azure Devops NuGet Feed. I can't install this template when I use the dotnet new -i <NUGET_PACKAGE_ID> However I'm able to install it if I download .nupkg file from nuget server and install it from the file system.

I get no diagnostics messages from the install process. Is there a way of seeing detailed messaging on what is wrong with this template. I'm suspecting it's an auth problem or similar.

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

Is there a way of seeing detailed messaging on what is wrong with this template.

You can add add the DOTNET_CLI_CONTEXT_VERBOSE environment variable with value true to get more verbose logging.

Then you will get the actual error, which is most likely an authorization issue:

Response status code does not indicate success: 401 (Unauthorized).

In that case you need to install the Azure Artifacts Credential Provider and run the install command interactively once again:

dotnet new -i <NUGET_PACKAGE_ID> --interactive

Then you will get instructions on how to authenticate with the Azure Devops NuGet feed.
See Unable to install template from Azure DevOps Nuget Feed issue for more details.

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda