负载测试抛出异常

Load test throwing exception

我有一个 visual studio 2015 负载测试项目,运行 几个集成测试

当我 运行 集成测试独立时,他们通过了

当我通过负载测试 运行 他们时,我得到一个异常:

Unit Test Adapter threw exception: The constructor to deserialize an object of type 'Hosting.Service.HostingRuntimeException' was not found..

我看过 this and this 但那里的解决方案不起作用

问题是未选中启用部署。

在 Local.testsettings 中转到“部署”选项卡并单击选中部署复选框