我正在使用TeamCity构建和运行我的MSTest项目。
一个工作负责构建项目,一旦完成它就会触发第二个工作,负责使用MSTest运行已编译的项目。
问题是当几乎立即触发第二个作业时,会显示以下错误并且作业失败:
Starting: C:\...\JetBrains.BuildServer.NUnitLauncher.exe
...
...
...
The process cannot acces the file 'C:\BuildAgent\work\{identifier}' because it is being used by another process.
即使在调用MSTest之前,作业似乎也失败了。