Azure-pipelines-tasks: Warnings "Can't find loc string for key: Info_ResolvedToolFromCache" and "Can't find loc string for key: Info_UsingVersion"

Created on 30 Dec 2019  路  5Comments  路  Source: microsoft/azure-pipelines-tasks

Note

Issues in this repo are for tracking bugs, feature requests and questions for the tasks in this repo

For a list:
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks

If you have an issue or request for the Azure Pipelines service, use developer community instead:

https://developercommunity.visualstudio.com/spaces/21/index.html )

Required Information

Entering this information will route you directly to the right team and expedite traction.

Question, Bug, or Feature?
Question

Enter Task Name: NuGetInstaller@0

list here (V# not needed):
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks

Environment

  • Server - Azure Pipelines

    • Account name: wkaxcess
    • Team project name: Axcess
    • Build definition name/build number: buildId=127788
  • Agent - Hosted

    • windows-2019

Issue Description

I am getting the following warnings when I use this task:

[warning]Can\'t find loc string for key: Info_ResolvedToolFromCache

[warning]Can\'t find loc string for key: Info_UsingVersion

Task logs

logs_127788.zip

Troubleshooting

Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting

Error logs

2019-12-30T15:42:03.3041067Z ##[section]Starting: NuGet restore */.sln
2019-12-30T15:42:03.3164181Z ==============================================================================
2019-12-30T15:42:03.3164258Z Task : NuGet Installer
2019-12-30T15:42:03.3164292Z Description : Installs or restores missing NuGet packages
2019-12-30T15:42:03.3164326Z Version : 0.144.0
2019-12-30T15:42:03.3164399Z Author : Microsoft Corporation
2019-12-30T15:42:03.3164431Z Help : More Information
2019-12-30T15:42:03.3164465Z ==============================================================================
2019-12-30T15:42:04.3920812Z SYSTEMVSSCONNECTION exists true
2019-12-30T15:42:04.6242920Z SYSTEMVSSCONNECTION exists true
2019-12-30T15:42:04.7095888Z [command]C:\windows\system32\chcp.com 65001
2019-12-30T15:42:04.7205499Z Active code page: 65001
2019-12-30T15:42:06.1532558Z Caching tool: NuGet 4.0.0 x64
2019-12-30T15:42:06.1636694Z Found tool in cache: NuGet 4.0.0 x64
2019-12-30T15:42:06.1902902Z ##[warning]Can\'t find loc string for key: Info_ResolvedToolFromCache
2019-12-30T15:42:06.1911894Z Info_ResolvedToolFromCache 4.0.0
2019-12-30T15:42:06.1912453Z ##[warning]Can\'t find loc string for key: Info_UsingVersion
2019-12-30T15:42:06.1912812Z Info_UsingVersion 4.0.0
2019-12-30T15:42:06.1914350Z Found tool in cache: NuGet 4.0.0 x64
2019-12-30T15:42:06.2324780Z Detected NuGet version 4.0.0.2283 / 4.0.0
2019-12-30T15:42:06.2334786Z SYSTEMVSSCONNECTION exists true

Artifacts question

Most helpful comment

Same issue here on the DownloadPackage task.

Pool: Hosted Windows 2019 with VS2019
Agent: Hosted Agent

==============================================================================
Task         : Download package
Description  : Download a package from a package management feed in Azure Artifacts
Version      : 1.164.0
Author       : ms-vscs-rm
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/download-package
==============================================================================
SYSTEMVSSCONNECTION exists true
Found tool in cache: artifacttool 0.2.128 x64
##[warning]Can\'t find loc string for key: Info_ResolvedToolFromCache
Downloading package: <package_name>, version: * using feed id: <id>, project: null

All 5 comments

Any updates about this? We are getting the same warnings on an agent installed on Windows machine.

Same issue here on the DownloadPackage task.

Pool: Hosted Windows 2019 with VS2019
Agent: Hosted Agent

==============================================================================
Task         : Download package
Description  : Download a package from a package management feed in Azure Artifacts
Version      : 1.164.0
Author       : ms-vscs-rm
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/download-package
==============================================================================
SYSTEMVSSCONNECTION exists true
Found tool in cache: artifacttool 0.2.128 x64
##[warning]Can\'t find loc string for key: Info_ResolvedToolFromCache
Downloading package: <package_name>, version: * using feed id: <id>, project: null

Could this be related/similar to #11588?

It seems to me very similar to me task.loc.json has no Info_ResolvedToolFromCache

image

I've got the same issue. Did you do something to make it work?

Was this page helpful?
0 / 5 - 0 ratings