Antaris / RazorEngine

Open source templating engine based on Microsoft's Razor parsing engine
http://antaris.github.io/RazorEngine
Other
2.14k stars 577 forks source link

The same key was already used for another template #494

Open paddygreens opened 6 years ago

paddygreens commented 6 years ago

Getting this exception We are using RazorEngine version 3.10.0. This is coming when there is only one template we have right now.

exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter. HandleNonSuccessAndDebuggerNotification(Task task)\r\n

exception:Exceptions.RazorEngineException: System.InvalidOperationException: The same key was already used for another template!\r\n at RazorEngine.Templating.DelegateTemplateManager

paddygreens commented 6 years ago

Is there some one looking into this issue?

stusklinar commented 6 years ago

Can you provide a working example?