We were able to replicate the problem locally and will update the references of Microsoft.CodeAnalysis.Razor to the needed version to overcome this problem. The fix will be included in our next official release R2 2019, which is scheduled for the middle of May.
I updated your Telerik points as appreciation for reporting this problem to us.
Get quickly onboarded and successful
with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.