Skip to content

Using a Razor Class Library inside an Orchard Core Module #17056

Closed Answered by max-roeder
max-roeder asked this question in Q&A
Discussion options

You must be logged in to vote

I finally managed to get this working. After Adding Mvc and the ApplicationPart for my Assembly explicitly and adding an EmbeddedFileProvider for my AddRazorRuntimeCompilation i only needed to tweak the path in my ViewComponent it now finds the ViewComponent and the corresponding View. I updated everything on my Sample Application https://github.com/max-roeder/OrchardRCLTest.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@max-roeder
Comment options

@hishamco
Comment options

@max-roeder
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by max-roeder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants