Hi all,
Am trying out creating a DNN module for a future project at my company and I have been having a very frustrating experience getting things running even when right out of the box. After a few tries at installing DNN intself on my local machine I was eventually able to get the dnndev.me site running. From here I turned to creating and adding my own module as we will need it to host a 3rd party report generation tool. I installed the Chris Hammond templates as instructed by the documentation and followed one of his tutorial videos to create my first module.
First issue encountered was that the module does not compile straight away. For some reason the project is set to .NET 4.7.2 while the dependencies it needs require .NET 4.8. Not sure why the discrepancy but I didn't create it so whatever. I update the project to the correct .NET version and now it compiles. But doing so has now broken the depencies for the ddndev.me site. When trying to visit I am met with an error: "Could not load file or assembly 'System.Collections.Immutable' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)"
If I place the old DLL from the downloaded install directory I am then met with a generic Application Error screen. The only way I've found so far to get dnndev.me running again is to full delete the created module and it's DLL's which defeats the whole purpose of what I am trying to do here. Am I going about this process incorrectly? Is there something that I'm missing that just hasn't been spelled out? I accept that I may have missed something but I find it very frustrating that I am encountering issues just installing and creating basic components with no modifications outside of what I have to do in order for them to build.
I run co-coding sessions on Discrord almost every friday if you want some help. The link to join our discord is on the home page of this very site. Those templates probably target 4.7.2 because they still support older versions of DNN. You can bump that in your project settings to 4.8 if you don't intend to support older DNN versions.
These Forums are for the discussion of the open source CMS DNN platform and ecosystem.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.