Quote:By having the post build steps copying these DLLs into your resource location, you've effectively introduced an implicit dependency from DLLReader.Tests to your TestCaseExamples
Yes, indeed. Further this is a logical dependency, not merely an implementation detail ... Those tests are literally intended to depend on those TestCase Projects :)
I have already added build dependencies in the solution between the relevant projects, so that building the Test project forces a build of the TestCase Projects (i.e. lines in the .sln file)
Is this what you meant by
Quote:you'll need to have either project references from the DLLReader.Tests project pointing at the TestCaseExample projects
Or doing you mean that the references need to be defined on the csproj - as if it were referencing a library or directly calling another projects public classes?
Thanks for pointing me towards GetAllAssemblyLocations and/or GetImplicitlyReferencedAssemblyLocations; I'll give them a go.
Assuming I can get to a point where my test helper can see the files ... Are you recommending that I do the copying into a single folder within the test setup? Or that I re-write the code interface to so taht the test file fetcher gets each relevant file from its own sub-directory at the relevant point?