Open StuffOfInterest opened 6 years ago
me to
Trying to update for 4.5.1-rc1 is ok!
@birdlll Hi guys, for me still doesn't work
I gave up and switched to the RazorLight library. It took a little extra coding to work with their template provider model but after that was done it passed all my unit tests.
You must load the assembly with a custom ReferenceResolver
I'm using RazorLight in .NET Core: https://github.com/toddams/RazorLight
HI,
i have same problem. can someone give working example how to load the assembly with custom RefereceResolver ?
same issue here. please someone share a solution here! :) Thanks
@nfabian13 , Can you please provide a reproduce repo? Or you could try version 4.6.0-rc1.
I am trying to run some specflow tests inside a docker container for DotNet Core project. I have the same error even with RazorLight. Does anyone have a solution ? works fine on my windows/ just the problem inside docker container(microsoft/dotnet:2.1.302-sdk-stretch
).
Trying to update some .NET Framework code to .NET Core with .NET Standard support libraries. Installed the RazorEngine.Core.NetCore 4.5.2-rc1 package fork of the RazorEngine library which will install under .NET Standard and is consumable by a .NET Core 2.1 test project. Unfortunately, the tests are failing badly.
First, here is how I'm invoking:
Here is the result spit out from the engine:
Not sure if this is an issue with the port to .NET Core/.NET Standard, the forked package, or the update to ASP.NET Core 2.1. I've got quite a bit of code that is utilizing RazorEngine to translate cshtml (mostly hard coded or database stored) into HTML so I'd hate to give up on this project but it looks like development is stalled until a new maintainer steps up to take over. Getting this issue out there in case someone knows that is going on.