Closed brogits closed 5 years ago
ContentModule just need to be activated for this to work
You might need to add a feature dependency in your manifest to prevent that from happening again.
You might need to add a feature dependency in your manifest to prevent that from happening again.
Hi @sebastienros , do you mean to say to add this into the recipe.json file under steps? or you a separate manifest.json.
It just that whenever we add a new module we have to clean our app_data and do the setup just for the new module to be enabled.
Right now all our modules we put it in the theme.recipe.json in our recipe project.
Again thanks for your time.
You created a new module, this module apparently requires the Content module to be enabled. So in the Manifest.cs
file of your module just add a dependency to OrchardCore.Content
such that when your module is enabled (via recipe) the Content module will also be.
Take a look at other modules' manifest files for some examples.
I'm getting this error when activating my customer module/controller.
Any thoughts on this?
I also did try the following to add this on the StartUp but it still doesn't work.
services.AddScoped<IContentManager, DefaultContentManager>()