toddams / RazorLight

Template engine based on Microsoft's Razor parsing engine for .NET Core
Apache License 2.0
1.5k stars 259 forks source link

The library states it is .Net System 2.0 #526

Open traustitj opened 1 year ago

traustitj commented 1 year ago

I have been completely unable to use this system in a project based around .Net framework 4.8.

It is my understanding that this library should be able to work on 4.8.

dmitrig89 commented 12 months ago

@traustitj Odd, I'm able to run this with no issues under both .Net Framework 4.8 and .net7 I did have issues with the assembly loading process when trying to create a template, but that was because I had assemblies with bad references which I had to fix.

Care to elaborate more on your setup?

jzabroski commented 11 months ago

It can be non-straight-forward to get it working on net48. Explaining your set-up is essential.

traustitj commented 11 months ago

Basically, I just created a new dotnet core command line project. I added the library. Copied example code from the site to run. Except it will never run