You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Interesting, for starters I think we need to think about of we perhaps should have made the core module itself also available on https://github.com/sdl/dxa-modules/releases
If I'm not mistaking the core module is available in the download of DXA itself, since you can install it so technically it is actually available from GitHub already/
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.
The text was updated successfully, but these errors were encountered: