Open clementguillot opened 8 years ago
It's really hard to keep up with the new betas, a PR is very welcome.
Note for anyone who wants to contribute this:
.paket/paket.exe update
(mono .paket/paket.exe update
on linux)Is this still open? I forked and cloned, but the code I was going to try was already in there.
On a related note, build.cmd bombed out trying to build RazorEngine.Mvc for .NET 4.5, due to not being able to resolve the reference System.Web.Mvc. Am I missing something simple?
Maybe this could help you: http://stackoverflow.com/questions/32558941/render-razor-view-to-string-in-asp-net-core/37296765#37296765
I tried to build the project and I had to manually add some Nuget packages for non-ASP.NET Core assemblies. Now that I've update the project latest RC2 (including all renaming and fixing dependencies), I'm stucked with unit tests that do not pass.
Is there any update ? I'm not going to render a view to a string. I need to compile and render in memory text templates with dynamic JObject models so I cannot use RazorLight(no support for dynamic models) or asp.net view engine which need file path and view not text My templates are in mongoDB
The latest version of Razor 4.0.0 beta7 introduces a breaking change:
The breaking commit is the following: https://github.com/aspnet/Razor/commit/48a6b567d6d2194ce390599c37ef1e1b7c9c5a9e And involved code: https://github.com/Antaris/RazorEngine/blob/590b79cfb6253d6aa5e83863994ce12ae6178a34/src/source/RazorEngine.Core/Compilation/CompilerServiceBase.cs#L255
All credits go to hypercodeplace and N. Taylor Mullen: http://stackoverflow.com/questions/32558941/razorengine-and-mvc-6-beta-7