-
Notifications
You must be signed in to change notification settings - Fork 33
Description
The example site in the dxa-web-application-dotnet project uses the DXA Core module. The DLL of the Core module is not available on GitHub though, and the views have to be copied into the Site project manually (or with a post-build step in the Code module project).
This gets messy, especially when following the same pattern in custom modules, and using multiple module solutions.
The solution is using Razor Generator. I think this is an broadly accepted way to precompile MVC views. See https://github.com/RazorGenerator and https://community.sdl.com/product-groups/sdl-tridion-dx/tridion-sites/tridion-developer/b/weblog/posts/precompile-your-dxa-views-with-razor-generator.
Combined with a NuGet package for the DXA Core module, this would make it way easier to work with multi-module DXA solutions.