Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
win32nipuh opened this issue Apr 29, 2020 · 3 comments
Open

Comments

@win32nipuh
Copy link

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
Copy link
Owner

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
Copy link

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
Copy link

ZedZipDev commented May 2, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants