Closed DNNMonster closed 3 years ago
@DNNMonster thanks for reporting this. We will try this out and see if we can replicate the reported behavior.
@DNNMonster I just tested and it is working fine for me. Perhaps we can help narrow down, find, and resolve the issue for ya. Here are a few questions:
Let us know if there are any details to your steps that you find may be helpful for us to help you. Thanks.
I've got it functioning so perhaps it was environmental or some other operator error. For the dev machine I'm working on the menu fails if either of those entries are not in the web config.
If you're not reproducing it then let's close it up and it'll be here for reference if another person should have similar issues.
@DNNMonster thanks again for reporting this. Let's keep an eye out for it and we'll dive deeper if it pops up again. Have a great evening!
Describe the bug
Razor menu throws error on fresh DNN 9.9.1 install
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A fresh DNN installation and cloned NVQuickTheme repo should render a functional menu.
Screenshots
Errors
The issue results in logged errors and no visible menu
There error reads: \inetpub\wwwroot\storeo\Portals_default\Skins\test\menus\razor\RazorMenu.cshtml(12): error CS0012: The type 'System.Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
Additional context
I am adding 2 entries to system.web\compilation\assemblies to enable the RazorMenu.cshtml to work. If you add the first then you will get an additional error related to the netstandard assembly. Things work fine once both are in the web config.
I see some config mods happening in the manifest but I'm not clear if it would be best to enhance those to address these dependencies.