Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Remove DeprecatedDotnet2_2_And_3_0 message and Net5Update #19319

Open
4 of 7 tasks
michha opened this issue Nov 23, 2023 · 4 comments
Open
4 of 7 tasks

[BUG]: Remove DeprecatedDotnet2_2_And_3_0 message and Net5Update #19319

michha opened this issue Nov 23, 2023 · 4 comments
Labels

Comments

@michha
Copy link
Contributor

michha commented Nov 23, 2023

New issue checklist

Task name

DotnetCoreCLIV2

Task version

No response

Issue Description

After updating our first apps to .NET 8 I once again stumbled over the ancient messages writen by DotNetCoreCLI@2 about .NET 2.2, 3.0 and 5.x.

We are using Azure DevOps Server in latest version and use only support .NET runtimes/SDKs. Our Devs ask every than and now why these messages still pop up.

I would like to see this message removed or at least give us an environment variable (e.g. SKIP_HOSTED_AGENT_INFOS) to skip these messages

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

Azure DevOps Server (Please specify exact version in the textbox below)

Azure DevOps Server Version (if applicable)

Azure DevOps Server 2022.0.1

Operation system

Windows Server 2022

Relevant log output

Starting: Install dotnet tools
==============================================================================
Task         : .NET Core
Description  : Build, test, package, or publish a dotnet application, or run a custom dotnet command
Version      : 2.202.0
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/build/dotnet-core-cli
==============================================================================
C:\Windows\system32\chcp.com 65001
Active code page: 65001
Info: .NET Core SDK/runtime 2.2 and 3.0 are now End of Life(EOL) and have been removed from all hosted agents. If you're using these SDK/runtimes on hosted agents, kindly upgrade to newer versions which are not EOL, or else use UseDotNet task to install the required version.
"C:\Program Files\dotnet\dotnet.exe" tool restore
Tool 'dotnet-ef' (version '8.0.0') was restored. Available commands: dotnet-ef

Restore was successful.
Info: Azure Pipelines hosted agents have been updated and now contain .Net 5.x SDK/Runtime along with the older .Net Core version which are currently lts. Unless you have locked down a SDK version for your project(s), 5.x SDK might be picked up which might have breaking behavior as compared to previous versions. You can learn more about the breaking changes here: https://docs.microsoft.com/en-us/dotnet/core/tools/ and https://docs.microsoft.com/en-us/dotnet/core/compatibility/ . To learn about more such changes and troubleshoot, refer here: https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/build/dotnet-core-cli?view=azure-devops#troubleshooting
Finishing: Install dotnet tools

Full task logs with system.debug enabled

 [REPLACE THIS WITH YOUR INFORMATION] 

Repro steps

No response

Copy link

This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days

@github-actions github-actions bot added the stale label May 25, 2024
@michha
Copy link
Contributor Author

michha commented May 25, 2024

Could we get an update about this?

Copy link

This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days

@github-actions github-actions bot added the stale label Jan 20, 2025
@michha
Copy link
Contributor Author

michha commented Jan 20, 2025

If I provide a PR will it be merged?

@github-actions github-actions bot removed the stale label Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants