I have a problem.
ca.ConveyancingAttorneyID = "C0B68DC3-C396-4264-880B-1A699C53A8CE";
ca.ConveyancingFirmID = "C0B68DC3-C396-4264-880B-1A699C53A8CE";
Guid id = new Guid("1A92CE5A-D956-486B-9B65-0A3630EF0285");
Guid id = new Guid("C0B68DC3-C396-4264-880B-1A699C53A8CE");
I'm not sure we know enough about the structure of your project to answer this in an adequate way. It basically depends on where and how you are using these values.
Ideally, you should fetch these IDs from somewhere via an interface. That would let you to fake and switch the implementation behind that interface, allowing you to return hard-coded dummy values when needed to test the logic where the values are used.
You could set up a configuration option allowing you to specify whether to use the real implementation, or a dummy data provider to allow switching without having to recompile.
Update: Since the above was not really a great answer to your specific question, here's another attempt: Under
Resharper > Options > Tools > Unit Testing, there is an option Run tests from:, where you can specify a folder to use instead of the default project output folder.
This may be a long shot, but perhaps you can configure VS to build a Release version of your project to some specific folder, and refer to that for testing, even if the main project build configuration is set to Debug?