Template rendering issue in DNN 8

Jan 17, 2016 at 3:05 PM
I've run into an issue with my razor template. I just upgraded my site to the new DNN 8 release and using 2sic 8.0.12. When the page loads I'm getting the following error. I'm not sure if this is an issue with my razor template or could it be something in the module? Any ideas?

There was an error while rendering the template: System.Web.HttpCompileException (0x80004005): c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\25fbc6f2\d5f99294\App_Web__unoslider.cshtml.5f25b303.ewbfuf6g.0.cs(28): error CS0234: The type or namespace name 'DynamicContentViewer' does not exist in the namespace 'Dnn.Modules' (are you missing an assembly reference?) at System.Web.Compilation.AssemblyBuilder.Compile() at System.Web.Compilation.BuildProvidersCompiler.PerformBuild() at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound) at System.Web.Compilation.BuildManager.GetCompiledType(VirtualPath virtualPath) at ToSic.SexyContent.Engines.RazorEngine.CreateWebPageInstance() at ToSic.SexyContent.Engines.RazorEngine.InitWebpage() at ToSic.SexyContent.Engines.RazorEngine.Init() at ToSic.SexyContent.SexyViewContentOrApp.ProcessView(PlaceHolder phOutput, Panel pnlError, Panel pnlMessage)
Coordinator
Jan 18, 2016 at 4:22 PM
I believe that was a 8 beta CTP something issue. just use the real 8, you should be fine (but don't upgrade from a beta)
Coordinator
Jan 19, 2016 at 5:29 AM
I tried it myself, it is a bug in DNN 8 - pls continue on https://github.com/2sic/2sxc/issues/582
Coordinator
Jan 19, 2016 at 6:23 PM
Solved!

https://github.com/2sic/2sxc/issues/582

Will be released as 8.1 Beta 4