In the upcoming release of .NET Standard 2.1, Microsoft is going to introduce a new Range
structure in the System namespace.
All well and good, but since our Spreadsheet API already contains the DevExpress.Spreadsheet.Range
interface, you will get the following error when compiling your spreadsheet application under .NET Standard 2.1:
error CS0104: 'Range' is an ambiguous reference between 'DevExpress.Spreadsheet.Range' and 'System.Range'
Now the obvious workaround fix is to use the following code
using Range = DevExpress.Spreadsheet.Range;
but that's not going to help new customers or even you when writing new applications. Hence, in order to fix this issue properly, we've decided to rename our DevExpress.Spreadsheet.Range
interface to DevExpress.Spreadsheet.CellRange
in the next major release, v19.2. This change will affect all DevExpress Spreadsheet products:
- Spreadsheet Document API
- WinForms Spreadsheet
- WPF Spreadsheet
- ASP.NET Spreadsheet
- ASP.NET MVC Spreadsheet
- ASP.NET Core Spreadsheet
- ASP NET Bootstrap Spreadsheet
- XAF Office Module - Spreadsheet Editor
Once v19.2 has been released and you have upgraded to it, you will need to update your projects to use the CellRange
name.