DNN + 2sxc = #DNNCMS - This tool helps web designers and developers prepare great looking content in DNN (DotNetNuke). It's like mixing DNN with Umbraco and Drupal :)
Expand the accordion and observe the following exception:
Error: ToSic.Sxc.Razor.DotNetOverrides.CompilationFailedException: Resources.CompilationFailed pahwzzrr.s44(32,82): error CS0234: The type or namespace name 'TextMediaRazor' does not exist in the namespace 'AppCode.Razor' (are you missing an assembly reference?) pahwzzrr.s44(37,13): error CS0103: The name 'WriteLiteral' does not exist in the current context pahwzzrr.s44(38,13): error CS0103: The name 'WriteLiteral' does not exist in the current context pahwzzrr.s44(46,13): error CS0103: The name 'WriteLiteral' does not exist in the current context pahwzzrr.s44(57,13): error CS0103: The name 'WriteLiteral' does not exist in the current context pahwzzrr.s44(66,13): error CS0103: The name 'WriteLiteral' does not exist in the current context pahwzzrr.s44(67,13): error CS0103: The name 'BeginWriteAttribute' does not exist in the current context pahwzzrr.s44(68,13): error CS0103: The name 'WriteAttributeValue' does not exist in the current context pahwzzrr.s44(76,13): error CS0103: The name 'EndWriteAttribute' does not exist in the current context pahwzzrr.s44(77,13): error CS0103: The name 'WriteLiteral' does not exist in the current context pahwzzrr.s44(85,13): error CS0103: The name 'WriteLiteral' does not exist in the current context pahwzzrr.s44(86,13): error CS0103: The name 'BeginWriteAttribute' does not exist in the current context pahwzzrr.s44(87,13): error CS0103: The name 'WriteAttributeValue' does not exist in the current context pahwzzrr.s44(95,13): error CS0103: The name 'WriteAttributeValue' does not exist in the current context pahwzzrr.s44(103,13): error CS0103: The name 'EndWriteAttribute' does not exist in the current context pahwzzrr.s44(104,13): error CS0103: The name 'WriteLiteral' does not exist in the current context pahwzzrr.s44(112,13): error CS0103: The name 'WriteLiteral' does not exist in the current context pahwzzrr.s44(136,13): error CS0103: The name 'WriteLiteral' does not exist in the current context pahwzzrr.s44(144,13): error CS0103: The name 'WriteLiteral' does not exist in the current context pahwzzrr.s44(153,13): error CS0103: The name 'WriteLiteral' does not exist in the current context pahwzzrr.s44(154,13): error CS0103: The name 'BeginWriteAttribute' does not exist in the current context pahwzzrr.s44(155,13): error CS0103: The name 'WriteAttributeValue' does not exist in the current context pahwzzrr.s44(163,13): error CS0103: The name 'WriteAttributeValue' does not exist in the current context pahwzzrr.s44(171,13): error CS0103: The name 'EndWriteAttribute' does not exist in the current context pahwzzrr.s44(172,13): error CS0103: The name 'WriteLiteral' does not exist in the current context pahwzzrr.s44(173,13): error CS0103: The name 'WriteLiteral' does not exist in the current context pahwzzrr.s44(181,13): error CS0103: The name 'WriteLiteral' does not exist in the current context pahwzzrr.s44(189,13): error CS0103: The name 'WriteLiteral' does not exist in the current context pahwzzrr.s44(197,13): error CS0103: The name 'WriteLiteral' does not exist in the current context pahwzzrr.s44(205,13): error CS0103: The name 'WriteLiteral' does not exist in the current context pahwzzrr.s44(213,13): error CS0103: The name 'WriteLiteral' does not exist in the current context A:\2sxc\oqtane\oqtane.framework\Oqtane.Server\2sxc\2108\Content\bs5\TextImage\Text and Image.cshtml🎯(8,2): error CS0103: The name 'Write' does not exist in the current context A:\2sxc\oqtane\oqtane.framework\Oqtane.Server\2sxc\2108\Content\bs5\TextImage\Text and Image.cshtml🎯(12,53): error CS0103: The name 'UniqueKey' does not exist in the current context A:\2sxc\oqtane\oqtane.framework\Oqtane.Server\2sxc\2108\Content\bs5\TextImage\Text and Image.cshtml🎯(13,18): error CS0103: The name 'MyView' does not exist in the current context A:\2sxc\oqtane\oqtane.framework\Oqtane.Server\2sxc\2108\Content\bs5\TextImage\Text and Image.cshtml🎯(17,23): error CS0103: The name 'MyTextsWithImages' does not exist in the current context A:\2sxc\oqtane\oqtane.framework\Oqtane.Server\2sxc\2108\Content\bs5\TextImage\Text and Image.cshtml🎯(19,18): error CS0103: The name 'WriteAttributeValue' does not exist in the current context A:\2sxc\oqtane\oqtane.framework\Oqtane.Server\2sxc\2108\Content\bs5\TextImage\Text and Image.cshtml🎯(19,36): error CS0103: The name 'Write' does not exist in the current context A:\2sxc\oqtane\oqtane.framework\Oqtane.Server\2sxc\2108\Content\bs5\TextImage\Text and Image.cshtml🎯(19,37): error CS0103: The name 'Kit' does not exist in the current context A:\2sxc\oqtane\oqtane.framework\Oqtane.Server\2sxc\2108\Content\bs5\TextImage\Text and Image.cshtml🎯(21,24): error CS0103: The name 'WriteAttributeValue' does not exist in the current context A:\2sxc\oqtane\oqtane.framework\Oqtane.Server\2sxc\2108\Content\bs5\TextImage\Text and Image.cshtml🎯(21,52): error CS0103: The name 'WriteAttributeValue' does not exist in the current context A:\2sxc\oqtane\oqtane.framework\Oqtane.Server\2sxc\2108\Content\bs5\TextImage\Text and Image.cshtml🎯(22,8): error CS0103: The name 'Write' does not exist in the current context A:\2sxc\oqtane\oqtane.framework\Oqtane.Server\2sxc\2108\Content\bs5\TextImage\Text and Image.cshtml🎯(22,9): error CS0103: The name 'Helpers' does not exist in the current context A:\2sxc\oqtane\oqtane.framework\Oqtane.Server\2sxc\2108\Content\bs5\TextImage\Text and Image.cshtml🎯(24,10): error CS0103: The name 'Write' does not exist in the current context A:\2sxc\oqtane\oqtane.framework\Oqtane.Server\2sxc\2108\Content\bs5\TextImage\Text and Image.cshtml🎯(26,8): error CS0103: The name 'Write' does not exist in the current context A:\2sxc\oqtane\oqtane.framework\Oqtane.Server\2sxc\2108\Content\bs5\TextImage\Text and Image.cshtml🎯(32,26): error CS0103: The name 'WriteAttributeValue' does not exist in the current context A:\2sxc\oqtane\oqtane.framework\Oqtane.Server\2sxc\2108\Content\bs5\TextImage\Text and Image.cshtml🎯(32,55): error CS0103: The name 'WriteAttributeValue' does not exist in the current context A:\2sxc\oqtane\oqtane.framework\Oqtane.Server\2sxc\2108\Content\bs5\TextImage\Text and Image.cshtml🎯(34,10): error CS0103: The name 'Write' does not exist in the current context A:\2sxc\oqtane\oqtane.framework\Oqtane.Server\2sxc\2108\Content\bs5\TextImage\Text and Image.cshtml🎯(40,2): error CS0103: The name 'Write' does not exist in the current context A:\2sxc\oqtane\oqtane.framework\Oqtane.Server\2sxc\2108\Content\bs5\TextImage\Text and Image.cshtml🎯(41,2): error CS0103: The name 'Write' does not exist in the current context A:\2sxc\oqtane\oqtane.framework\Oqtane.Server\2sxc\2108\Content\bs5\TextImage\Text and Image.cshtml🎯(41,3): error CS0103: The name 'ActivateFancyBox' does not exist in the current context at ToSic.Sxc.Razor.RazorCompiler.FindViewAsync(ActionContext actionContext, String partialName, IApp app, HotBuildSpec spec) at ToSic.Sxc.Razor.RazorCompiler.CompileView(String partialName, Action`1 configure, IApp app, HotBuildSpec spec) at ToSic.Sxc.Razor.RazorRenderer.RenderToStringAsync[TModel](String templatePath, TModel model, Action`1 configure, IApp app, HotBuildSpec hotBuildSpec) at ToSic.Sxc.Razor.RazorEngine.RenderTask(RenderSpecs specs)
I'm submitting a
[x] bug report => search github for a similar issue before submitting
...about
[x] Razor templating
Current Behavior / Expected Behavior
Inner-content app is not working as expected. There is exception related to compiling template with AppCode.
Instructions to Reproduce the Problem
Your environment