microsoft / azure-pipelines-agent

Azure Pipelines Agent 🚀
MIT License
1.73k stars 869 forks source link

Update `TF.exe` and binding redirects for `vstshost` #4990

Closed aleksandrlevochkin closed 2 months ago

aleksandrlevochkin commented 2 months ago

WI AB#2138625

Description Re-introduce this PR: https://github.com/microsoft/azure-pipelines-agent/pull/4955 with the fix of LegacyVSTSPowerShellHost's binding redirects for Newtonsoft.Json. It should fix the incompatibility between tf and vstsom and vstshost binaries.

Tested with VsTest@0 task which runs on the legacy Powershell handler (with AGENT_INSTALL_LEGACY_TF_EXE knob both enabled and disabled)