New issue checklist
Task name
DotNetCoreCLI
Task version
2.271
Issue Description
With the newer Version 2.271 of the DotNetTask the flag "--solution" is missing, which cannot be specified explicity by myself. As seen in the source code the flag will be set by determining the type of the project by the fileextension: A file ending with "slnx" should automatically add the flag, which does not happen.
With 2.269 everything worked fine (until yesterday). Same pipeline without any changes on our side, but with newer Version 2.271 we got the problem.
Starting: run unit tests
==============================================================================
Task : .NET Core
Description : Build, test, package, or publish a dotnet application, or run a custom dotnet command
Version : 2.269.0
Author : Microsoft Corporation
Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/build/dotnet-core-cli
==============================================================================
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.
/opt/hostedtoolcache/dotnet/dotnet test --solution /mnt/vss/_work/1/repository/./NameOfSolution.slnx
and now with Version 2.271 the flag "--solution" is missing
Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Ubuntu
Relevant log output
Starting: run unit tests
==============================================================================
Task : .NET Core
Description : Build, test, package, or publish a dotnet application, or run a custom dotnet command
Version : 2.271.0
Author : Microsoft Corporation
Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/build/dotnet-core-cli
==============================================================================
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.
/opt/hostedtoolcache/dotnet/dotnet test /mnt/vss/_work/1/repository/./NameOfSolution.slnx
Specifying a solution for 'dotnet test' should be via '--solution'.
Full task logs with system.debug enabled
Details
[REPLACE THIS WITH YOUR INFORMATION]
Repro steps
New issue checklist
Task name
DotNetCoreCLI
Task version
2.271
Issue Description
With the newer Version 2.271 of the DotNetTask the flag "--solution" is missing, which cannot be specified explicity by myself. As seen in the source code the flag will be set by determining the type of the project by the fileextension: A file ending with "slnx" should automatically add the flag, which does not happen.
With 2.269 everything worked fine (until yesterday). Same pipeline without any changes on our side, but with newer Version 2.271 we got the problem.
and now with Version 2.271 the flag "--solution" is missing
Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Ubuntu
Relevant log output
Full task logs with system.debug enabled
Details
Repro steps