I copy code from project to another project to use it in our project but I face issue in view , I get this error
'HtmlHelper' does not contain a definition for 'CodeEffects' and no accessible extension method 'CodeEffects' accepting a first argument of type 'HtmlHelper' could be found
(are you missing a using directive or an assembly reference?)
I get this error in when I write
Html.CodeEffects().Styles()
.Render();
And I get this error
The name 'RuleType' does not exist in the current context
Html.CodeEffects().RuleEditor()
.Id("ruleEditor")
.Mode(RuleType.Execution)
.ClientOnly(true)
.Rule(ViewBag.Rule)
.Render();