.net core Azure DevOps use dotnet core下载失败:证书错误

.net core Azure DevOps use dotnet core下载失败:证书错误,.net-core,azure-pipelines,.net Core,Azure Pipelines,我在Azure管道中有一个构建管道失败。它声明无法下载该文件,因为证书已过期 目前,指定版本3.x正在解析为版本3.1.201。 如果我明确指定了以前的版本3.1.103,则步骤将成功,没有错误 什么“证书”过期了 附近有工作吗?还是只需要向MSFT报告 亚马尔 构建错误 Tool to install: .NET Core sdk version 3.x. Found version 3.1.201 in channel 3.1 for user specified version spec:

我在Azure管道中有一个构建管道失败。它声明无法下载该文件,因为证书已过期

目前,指定版本
3.x
正在解析为版本3.1.201。 如果我明确指定了以前的版本
3.1.103
,则步骤将成功,没有错误

  • 什么“证书”过期了
  • 附近有工作吗?还是只需要向MSFT报告
  • 亚马尔

    构建错误

    Tool to install: .NET Core sdk version 3.x.
    Found version 3.1.201 in channel 3.1 for user specified version spec: 3.x
    Version 3.1.201 was not found in cache.
    Getting URL to download .NET Core sdk version: 3.1.201.
    Detecting OS platform to find correct download package for the OS.
    C:\windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoLogo -Sta -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command "& 'd:\a\_tasks\UseDotNet_b0ce7256-7898-45d3-9cb5-176b752bfea6\2.165.2\externals\get-os-platform.ps1'"
    Primary:win-x64
    Detected platform (Primary): win-x64
    Downloading: https://download.visualstudio.microsoft.com/download/pr/adeab8b1-1c44-41b2-b12a-156442f307e9/65ebf805366410c63edeb06e53959383/dotnet-sdk-3.1.201-win-x64.zip
    ##[error]Failed while installing version: 3.1.201 at path: C:/hostedtoolcache/windows/dotnet with error: Could not download installation package from this URL: https://download.visualstudio.microsoft.com/download/pr/adeab8b1-1c44-41b2-b12a-156442f307e9/65ebf805366410c63edeb06e53959383/dotnet-sdk-3.1.201-win-x64.zip Error: Error: certificate has expired
    Finishing: Use .Net Core sdk 3.x
    
    Azure DevOps use dotnet core下载失败:证书错误

    好的,当我们使用这个
    UseDotNet@2
    任务

    因此,证书应该更多地与SDK本身相关,它应该由SDK提供商全面更新

    此外,其他成员最近也对同一问题作出了反应,而这个问题已不复存在

    尝试检查您是否仍然存在此问题。此外,您可以尝试在该任务中显式指定以前的版本
    3.1.201

    希望这有帮助

    Azure DevOps use dotnet core下载失败:证书错误

    好的,当我们使用这个
    UseDotNet@2
    任务

    因此,证书应该更多地与SDK本身相关,它应该由SDK提供商全面更新

    此外,其他成员最近也对同一问题作出了反应,而这个问题已不复存在

    尝试检查您是否仍然存在此问题。此外,您可以尝试在该任务中显式指定以前的版本
    3.1.201


    希望这有帮助。

    谢谢。这有助于提供更多的背景信息。在SDK提供商解决问题后,我可以切换回指定
    3.x
    。谢谢。这有助于提供更多的背景信息。在SDK提供商解决问题后,我可以切换回指定
    3.x
    Tool to install: .NET Core sdk version 3.x.
    Found version 3.1.201 in channel 3.1 for user specified version spec: 3.x
    Version 3.1.201 was not found in cache.
    Getting URL to download .NET Core sdk version: 3.1.201.
    Detecting OS platform to find correct download package for the OS.
    C:\windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoLogo -Sta -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command "& 'd:\a\_tasks\UseDotNet_b0ce7256-7898-45d3-9cb5-176b752bfea6\2.165.2\externals\get-os-platform.ps1'"
    Primary:win-x64
    Detected platform (Primary): win-x64
    Downloading: https://download.visualstudio.microsoft.com/download/pr/adeab8b1-1c44-41b2-b12a-156442f307e9/65ebf805366410c63edeb06e53959383/dotnet-sdk-3.1.201-win-x64.zip
    ##[error]Failed while installing version: 3.1.201 at path: C:/hostedtoolcache/windows/dotnet with error: Could not download installation package from this URL: https://download.visualstudio.microsoft.com/download/pr/adeab8b1-1c44-41b2-b12a-156442f307e9/65ebf805366410c63edeb06e53959383/dotnet-sdk-3.1.201-win-x64.zip Error: Error: certificate has expired
    Finishing: Use .Net Core sdk 3.x