Closed Abrishges closed 4 years ago
Hello @Abrishges,
This is the intended behavior of the task. The latest .NET core SDK version is used. Look at installationPath
input in the doc
There are two ways to use the older version you want:
installationPath
input. You can use $(Agent.TempDirectory)
or any other temp directory. Hi @Abrishges is it still actual for you?
@anatolybolshakov @alexander-prozorov Thanks. Temp directory $(Agent.TempDirectory)
works. If it is intended behavior we can close this Issue
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?
Type: here
Enter Task Name: here
list here (V# not needed):
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks
Environment
Server - Azure Pipelines or TFS on-premises?
If using TFS on-premises, provide the version:
If using Azure Pipelines, provide the account name, team project name, build definition name/build number:
Agent - Hosted or Private:
If using Hosted agent, provide agent queue name:
If using private agent, provide the OS of the machine running the agent and the agent version:
Agent.OS: Linux AGENT_TYPE: services-build AZP_AGENT_NAME: gsservices-build-0 AZP_POOL: GameStreaming-Services-Build Team name: xbox.streaming
Issue Description
I used task called ".NET Core" at the beginning of the tasks to install a specific version of .net core. In my tasks I specified a task version 3.1.302 so that subsequent tasks will use this version. However subsequent tasks always uses the latest version when specific msbuild version selected.
Task steps:
.Net core installer step after execution
Subsequent steps always uses the latest version, instead of version 3.1.302
Task logs
Troubleshooting
Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting
Error logs
[Insert error from the logs here for a quick overview]