I've got a custom user control that is using the newest version of RazorEngine (razorengine.codeplex.com) and parses a template that receives a model based on some data from my business layer. All of this is done outside of umbraco and works fine, however when I try to use my usercontrol inside umbraco it no longer works anymore. I noticed that umbraco uses RazorEngine (an older version) so I referenced that one in my project however then my project fails to work although at least umbraco doesn't break. My question is, do you have any suggestions on how I can get my control to work both inside and outside umbraco that uses the RazorEngine?
I decided to just use a plain control and remove the razor stuff although in general it would be great if we could leverage this functionality in a user control somehow.
Usercontrol and RazorEngine
Umbraco 4.6.1
I've got a custom user control that is using the newest version of RazorEngine (razorengine.codeplex.com) and parses a template that receives a model based on some data from my business layer. All of this is done outside of umbraco and works fine, however when I try to use my usercontrol inside umbraco it no longer works anymore. I noticed that umbraco uses RazorEngine (an older version) so I referenced that one in my project however then my project fails to work although at least umbraco doesn't break. My question is, do you have any suggestions on how I can get my control to work both inside and outside umbraco that uses the RazorEngine?
Thanks.
I decided to just use a plain control and remove the razor stuff although in general it would be great if we could leverage this functionality in a user control somehow.
is working on a reply...