In late 2018, we announced .NET Core 3.0 support for WinForms and WPF apps with the new desktop SDK (Microsoft.NET.Sdk.WindowsDesktop). As of July 2019, we have completed all unit tests for XPO v19.2 for both WinForms and WPF .NET Core 3.0 apps. We will also migrate these changes to v19.1.
Distribution via Nuget
XPO for .NET Core 3.0 WinForms and WPF apps can be added using the DevExpress.WindowsDesktop.* packages from the DevExpress Nuget:
- DevExpress.WindowsDesktop.Core
- DevExpress.WindowsDesktop.Win
- DevExpress.WindowsDesktop.Wpf
- DevExpress.WindowsDesktop.Xaf
Updated early access preview feeds should be available sometime in August.
Platform Limitations
At present, the .NET Core 3.0-based version of XPO has the following limitations (these limitations are dictated by the target framework and other factors):
- ImageValueConverter. To workaround this limitation, change your image property declaration from System.Drawing.Image to byte[] (example).
- XpoDefault helper methods that allow you to create WCF data store clients from connection strings. This is also true for the .NET Standard 2.0 version of XPO - we cannot add dependencies to System.ServiceModel.Http and other Nuget packages (T736928).
- Database vendor limitation for .NET Core 3.0. For instance, the newest version of System.Data.SqlClient does not support SQL Server 2000.
- More difficult code sharing if you create core libraries with the DevExpress.Data or DevExpress.Xpo assemblies. You may need to create 2 *.csproj files: one for .NET Core 3.0 desktop apps and the other for .NET Standard 2.0 cross-platform apps (this may improve with .NET 5 in 2020).
Love XPO and want to help us promote it? Add the package through Nuget.org instead of DevExpress Nuget!