Azure-pipelines-tasks: UseDotNet@2 can't find 3.0 preview 6

Created on 14 Jun 2019  路  3Comments  路  Source: microsoft/azure-pipelines-tasks

Required Information

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

Question, Bug, or Feature?
Type: Bug

Enter Task Name: here

list here (V# not needed): UseDotNet

Environment

  • Server - Azure Pipelines

  • Agent - Private:

    • If using private agent, provide the OS of the machine running the agent and the agent version: Windows Server 2012 R2

Issue Description

UseDotNet@2 cannot find .NET core 3.0 preview 6. (Note: Only up to preview 5 is listed in: https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/3.0/releases.json)

Excerpt from yaml pipeline:

- task: UseDotNet@2
  displayName: 'Use .NET Core sdk'
  inputs:
    packageType: sdk
    version: 3.0.100-preview6-012264
    installationPath: $(Agent.ToolsDirectory)/dotnet

Task logs

##[debug]installationPath=D:\SharedBuild1\_tool/dotnet
##[debug]includePreviewVersions=false
##[debug]agent.proxyurl=undefined
##[debug]AZURE_HTTP_USER_AGENT=VSTS_d31b77fc-dfbf-4068-8419-a4cc92bbfac6_build_2908_0
##[debug]Finding channel 3.0 for version 3.0.100-preview6-012264
##[debug]In release undefined for version 3.0.100-preview5-011568, File data is incorrect (might have missing required fields, such as name, rid and url): Version's files data is missing or has missing required fields.
##[debug]In release undefined for version 3.0.100-preview5-011568, File data is incorrect (might have missing required fields, such as name, rid and url): Version's files data is missing or has missing required fields.
##[debug]In release undefined for version 3.0.100-preview4-011223, File data is incorrect (might have missing required fields, such as name, rid and url): Version's files data is missing or has missing required fields.
##[debug]In release undefined for version 3.0.100-preview4-011223, File data is incorrect (might have missing required fields, such as name, rid and url): Version's files data is missing or has missing required fields.
##[debug]In release undefined for version 3.0.100-preview3-010431, File data is incorrect (might have missing required fields, such as name, rid and url): Version's files data is missing or has missing required fields.
##[debug]In release undefined for version 3.0.100-preview3-010431, File data is incorrect (might have missing required fields, such as name, rid and url): Version's files data is missing or has missing required fields.
##[debug]In release undefined for version 3.0.100-preview-010184, File data is incorrect (might have missing required fields, such as name, rid and url): Version's files data is missing or has missing required fields.
##[debug]In release undefined for version 3.0.100-preview-010184, File data is incorrect (might have missing required fields, such as name, rid and url): Version's files data is missing or has missing required fields.
##[debug]In release undefined for version 3.0.100-preview-009812, File data is incorrect (might have missing required fields, such as name, rid and url): Version's files data is missing or has missing required fields.
##[debug]In release undefined for version 3.0.100-preview-009812, File data is incorrect (might have missing required fields, such as name, rid and url): Version's files data is missing or has missing required fields.
No matching sdk version could be found for specified version: 3.0.100-preview6-012264 Kindly note the preview versions are only considered in latest version searches if Include Preview Versions checkbox is checked.
Version 3.0.100-preview6-012264 could not be found in its channel, will now search in adjacent channels.
Searching for version in channel 3.0
##[debug]In release undefined for version 3.0.100-preview5-011568, File data is incorrect (might have missing required fields, such as name, rid and url): Version's files data is missing or has missing required fields.
##[debug]In release undefined for version 3.0.100-preview5-011568, File data is incorrect (might have missing required fields, such as name, rid and url): Version's files data is missing or has missing required fields.
##[debug]In release undefined for version 3.0.100-preview4-011223, File data is incorrect (might have missing required fields, such as name, rid and url): Version's files data is missing or has missing required fields.
##[debug]In release undefined for version 3.0.100-preview4-011223, File data is incorrect (might have missing required fields, such as name, rid and url): Version's files data is missing or has missing required fields.
##[debug]In release undefined for version 3.0.100-preview3-010431, File data is incorrect (might have missing required fields, such as name, rid and url): Version's files data is missing or has missing required fields.
##[debug]In release undefined for version 3.0.100-preview3-010431, File data is incorrect (might have missing required fields, such as name, rid and url): Version's files data is missing or has missing required fields.
##[debug]In release undefined for version 3.0.100-preview-010184, File data is incorrect (might have missing required fields, such as name, rid and url): Version's files data is missing or has missing required fields.
##[debug]In release undefined for version 3.0.100-preview-010184, File data is incorrect (might have missing required fields, such as name, rid and url): Version's files data is missing or has missing required fields.
##[debug]In release undefined for version 3.0.100-preview-009812, File data is incorrect (might have missing required fields, such as name, rid and url): Version's files data is missing or has missing required fields.
##[debug]In release undefined for version 3.0.100-preview-009812, File data is incorrect (might have missing required fields, such as name, rid and url): Version's files data is missing or has missing required fields.
No matching sdk version could be found for specified version: 3.0.100-preview6-012264 Kindly note the preview versions are only considered in latest version searches if Include Preview Versions checkbox is checked.
##[debug]task result: Failed
##[error]sdk version matching: 3.0.100-preview6-012264 could not be found

Troubleshooting

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

Error logs

##[debug]task result: Failed
##[error]sdk version matching: 3.0.100-preview6-012264 could not be found
Release bug

All 3 comments

I'm also struggling with this right now.

This is not a UseDotNet@2 task issue. We've raised the issue on .NET Core team's queue. Please track it there.

This issue appears resolved.

Was this page helpful?
0 / 5 - 0 ratings