barthamark / Orchard-Core-Blazor-Sample

Modularized Orchard Core CMS website using servier-side Blazor components.
21 stars 6 forks source link

No service for type 'OrchardCore.Liquid.ILiquidTemplateManager' #1

Open win32nipuh opened 4 years ago

win32nipuh commented 4 years ago

I have run the sample once (VS2019). it worked, Then try to run the sample again (VS2019) but

InvalidOperationException: No service for type 'OrchardCore.Liquid.ILiquidTemplateManager' has been registered.

How to fix it?

barthamark commented 4 years ago

I think this is because this sample uses an old version of Orchard Core. What you should do is to upgrade it to the latest version. This means that you would need to fix a few breaking changes possibly. I might be able to work on the upgrade a few days later, but feel free to create a pull request if you actually do it sooner.

ZedZipDev commented 4 years ago

Hi Mark, I have rebuilt the solution for ASP.NET Core 3.1, using the latest Nuget packages in all projects (I changed the Nuge source MyNuget->All). Finally it is built. But it does not help, during the run I receive the same exception: InvalidOperationException: No service for type 'OrchardCore.Liquid.ILiquidTemplateManager' has been registered. I hope on your upgrade ;-)

ZedZipDev commented 4 years ago

Also, I have added Nuget package Orchard.Liquid to the main app. After it the exception disappeared, but "This site can’t be reached" appeared.