InplaceStringBuilder no longer exists in Microsoft.Extensions.Primitives
See original GitHub issueTemplate compilation now fails because the obsoleted InplaceStringBuilder
was removed from the .NET Runtime in commit https://github.com/dotnet/runtime/commit/ef4bc4d503b71f9de1a8988da6db38bcfcfb0cc4.
This causes an error on the line:
System.TypeLoadException: Could not load type ‘Microsoft.Extensions.Primitives.InplaceStringBuilder’ from assembly ‘Microsoft.Extensions.Primitives, Version=5.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60’. at RazorLight.Compilation.RazorTemplateCompiler.NormalizeKey(String templateKey) at RazorLight.Compilation.RazorTemplateCompiler.GetNormalizedKey(String templateKey) at RazorLight.Compilation.RazorTemplateCompiler.CompileAsync(String templateKey) at RazorLight.EngineHandler.CompileTemplateAsync(String key) at RazorLight.EngineHandler.CompileRenderAsync[T](String key, T model, ExpandoObject viewBag)
Issue Analytics
- State:
- Created 3 years ago
- Reactions:5
- Comments:12 (4 by maintainers)
Top GitHub Comments
@kkkmail A fix hasn’t been implemented for this yet. I’m going to begin working on it tonight (better late than never) and it should make it into the Beta11 release.
@jzabroski Yeah, I will start work on this as soon as I can.