I have some html pages that I keep in a separate project which I specify to copy to output. This project is referenced by the main SS app.
When debugging following code inside a service call
var context = new TemplateContext
VirtualFiles = base.VirtualFiles,
var page = context.GetPage("emails/verify-email");
I get a page at path was not found error, looking at the virtualfiles properties it looks like it is only picking up html files from the project directory and not the bin\Debug\netcoreapp2.0\ which i expected when debugging.
Are there other additional properties I need to set in order for it to pick up html files from the bin\debug\netcoreapp2.0 directory?