The legacy code uses a service reference called DesignTime2ServiceReference and it connects to endpoint http://localhost:8733/Design_Time_Addresses/XXX
I have added "/client:WcfTestClient.exe" into [project > Properties > Debug > Start Options > Command Line Arguments]. When I do that the tests passes if they are debugged. But if I simply run them, they still fail.
Of cause I've tried to use the same trick for [project > Properties > Release > ...] but that does not work.
I am currently using VS 2022.
I have no idea how that was supposed to work once - and more pressingly - how to make it work now.
The tests are integration tests, implemented in MS Test and calling this code direcly:
using (var client = new DesignTime2ServiceReference.XXXClient())