Can't access all Razor Helpers #17452
Unanswered
RemcoW2002
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Almost if not all |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there I am trying to get access to content items in on of my views but I can't get it to work, I feel like I did everything right and added all necessary dependencies and the needed injection:
Here is my _ViewImports.cshtml

And my packages:

Apologies if it's obvious, I looked it up in the docs and I feel like it's telling me to do and implement the things that I already have/had
EDIT: I added the Alias nuget package, and for some reason I can access GetContentItemByAliasAsync(), so why cant I access Contents??
Beta Was this translation helpful? Give feedback.
All reactions