If you use IRazorLightEngine for dependency injection instead of the implementation of RazorLightEngine you do not see the obsolete highlighting in Visual Studio. This may cause issues for existing and new users as methods marked obsolete have had their implementation removed and throw exceptions now.
If you use IRazorLightEngine for dependency injection instead of the implementation of RazorLightEngine you do not see the obsolete highlighting in Visual Studio. This may cause issues for existing and new users as methods marked obsolete have had their implementation removed and throw exceptions now.