Use Infragistics.WPF.Excel in Blazor .NET Core 3.1

167 views Asked by At

It may be not the right thing to do, but ... i have a 3rd party library (Infragistics) that provides functionality to create and read Excel files. I need to use this from within a Blazor application. Unfortunately this 3rd party dll references something from WPF i guess...

TypeLoadException: Counld not load type 'System.Windows.Size' from assembly 'WindowsBase, V4.0...'

Question is: What do i need to search for in NuGet to get the WindowsBase Assembly into my Core 3.1 Blazor application?

1

There are 1 answers

0
teck0r On

Using the Infragistics package "IgniteUI.Blazor.Documents.Excel" instead of "Infragistics.WPF.Excel" solves the problem for me.