Each time we attempt to add a reference to a service fabric Web Api project to a unit test project we have just created we are getting the following issue:
C:\TFS\Finance\Payments.Card\Int\Source\Finance.Payments.Card.ServiceFabric.Web.Api\ obj\x64 \Release\Asos.Finance.Payments.Card.ServiceFabric.Web.Api.exe
The section in bold is the issue. We are unsure why this is happening by default as it's causing us issues in our CI pipeline.
If we delete the obj folder, it still points to it after re-adding the reference. It doesnt point to the bin folder which exists and contains all the relevant assemblies