csimone86
csimone86
You must load the assembly with a custom ReferenceResolver
I need it too... I think I cant resolve my problem without change the path
Hope this can help everyone [RazorEngine throw a NotSupportedException when compiling template in Azure Function](https://stackoverflow.com/questions/51431720/razorengine-throw-a-notsupportedexception-when-compiling-template-in-azure-funct?noredirect=1#comment89871917_51431720) But I am still not satisfied because I would like to run RrazorEngine in another...
Good luck.... We are moving to azure function too... Honestly I think I will change engine... It's about a week I am trying to make it work and there is...
Perhaps the scheduled task has no sufficient permission to read from folder where template is?
Perhaps are you in an Isolated (hosted) environment? I do not know exactly what I mean... I mean, is there a process that run you code? Perhaps the base directory...
You are right... I have already solved that... if you look for in the issues you can find my solution... I think someone also implemented it in the last version...
I have found the problem, downloading your code and doing reverse engineering. Problem was inside the `UseCurrentAssembliesReferenceResolver` class, in the `GetReferences` method... here the code that throws the exception: ```...