Finding source code in .NET Core

10 May 2017 good-samaritan

I’ve got some integration tests that need to know where their source code lives as they require loading sample files when they run. Hard coding the path into the tests is possible - and I did that for a time - but it’s also fragile and has odd error modes.



Earlier

Later