Dear DotNetNuke Pros,
What DLL has the object "Dnn.Tab" in it for DotNetNuke 8.03 for Razor?
Razor compilation is not working.
I know, Razor is more-or-less compile-on-demand, but when running in an isolated project for debugging and testing, from Visual Studio, in debug mode, it is auto-compiled when run, so the error appears.
Here are the details.
I am looking at the _TabInfo Razor sample that shipped with the DotNetNuke Razor Module.
Visual Studio is complaining with the following compile-time error...
Error The type or namespace name 'Tab' does not exist in the namespace 'Dnn' (are you missing an assembly reference?)
This is the Razor file...
This is the code in the Razor File...
Razor Page Info Module Example
The current page is:
- Name: @Dnn.Tab.TabName
- Id: @Dnn.Tab.TabID
- Path: @Dnn.Tab.TabPath
And, I did try adding these using statements but it did not help.
Do you know the answer? Do you have suggestion?
-- Mark Kamoski