NuGet just updated DocumentFormat.OpenXml to latest version 2.20.
They depricated a command and now Radzen cannot compile.
Here is the error:
error CS0619: 'OpenXmlUnknownElement.CreateOpenXmlUnknownElement(string)' is obsolete: 'Use extension method CreateUnknownElement off of a part container'
Yes, this controller is generated by Rafzen however the code is tested only with the versions used by default. If you update some references to newer version we cannot guarantee that the application will work as expected.
Is there something you use to have NuGets automatically update and/or at least notify when new NuGets are available? "NuGet manage" is a product/add in?
Looks like you are using VB? Can you post your code? Radzen doesn’t have VB support for Blazor projects. If you are using Angular with VB here is how to change the code in XlsDataContractSerializerOutputFormatter.vb:
Dim openXmlUnknownElement4 As OpenXmlUnknownElement = workbookStylesPart1.CreateUnknownElement("<x15:timelineStyles defaultTimelineStyle=""TimeSlicerStyleLight1"" xmlns:x15=""http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"" />")
Yes, it is Angular with VB. I am editing the XlsDataContractSerializerOutputFormatter.vb file as shown in the error and changing it to the code you recommend. After editing, each time I try to run the app in the developer environment, the code has reverted back and the error is still present. I have also tried to edit the project file with the same result.