Reputation: 1499
I woke up this morning to receive the following error message from my NUnit tests in VSTS:
`##[section]Starting: Test Assemblies **\*.Unit.Tests.dll;-:**\obj\**
==============================================================================
Task : Visual Studio Test
Description : Run tests with Visual Studio test runner
Version : 2.0.30
Author : Microsoft Corporation
Help : [More Information](https://go.microsoft.com/fwlink/?LinkId=835764)
==============================================================================
!**\obj\**
[command]powershell -NonInteractive -ExecutionPolicy Unrestricted -file d:\a\_tasks\VSTest_ef087383-ee5e-42c7-9a53-ab56c98420f9\2.0.30\vs15Helper.ps1
Does not exist.
<Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04">
<Nil />
</Objs>
##[error]TypeError: Cannot read property 'replace' of null
##[error]TypeError: Cannot read property 'replace' of null
##[section]Finishing: Test Assemblies **\*.Unit.Tests.dll;-:**\obj\**
Just started happening, can anyone tell me why? I am using the Visual Studio Version 2 build step
Upvotes: 2
Views: 381
Reputation: 33698
Select the corresponding version of visual studio that the build agent server has.
Upvotes: 1