Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

301
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!