[Expand]General Information
[Collapse]WinForms Controls
  .NET Core Support
  Prerequisites
 [Expand]What's Installed
 [Expand]Build an Application
 [Expand]Controls and Libraries
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

.NET Core Support

.NET Core is an open-source, general-purpose development platform maintained by Microsoft and the .NET community on GitHub.

Expanded Prerequisites

Expanded Create .NET Core Applications

  1. Create a new Windows Forms App (.NET Core) project.
  2. Obtain Your NuGet Feed URL.
  3. Setup Visual Studio's NuGet Package Manager.
  4. Install the DevExpress.WindowsDesktop.Win NuGet package.
  5. Build the project.

Upgrade .NET Framework Applications

Currently, there is no way to port .NET Framework apps to .NET Core in Visual Studio. You need to copy project folders and replace .csproj files. See the How to port desktop applications to .NET Core 3.0 article by Microsoft for more information.

Expanded Deploy .NET Core Applications

Self-Contained Deployment

Your applications can be deployed in two different ways:

  • Framework-dependent deployment - the application does not include .NET Core. The application may not work on a client machine if the correct .NET Core version is not installed.

  • Self-contained deployment - .NET Core is a part of the application package. The disadvantages of this approach are that you must select target platforms in advance, and distrubute larger deployment packages.

You can deploy self-contained applications in Visual Studio or call the following command in the command-line interface:

dotnet publish -c Release -r win10-x64 --self-contained true

See the .NET Core application deployment article for more information.

Single-File Applications

You can publish .NET Core applications as one executable file. To do this, run the command prompt, navigate to the application folder, and call the following command:

dotnet publish -r win10-x64 -c Release -p:PublishSingleFile=true

See the "Single-File Applications With .NET Core 3" blog post for more information.

Expanded Limitations

  • Global .NET Core 3 platform limitations, not specific for DevExpress controls.
  • Visual Studio Toolbox integration and design time features (smart tags, collection editors and other designer dialogs, Scaffolding Wizard, etc.) are not supported.

Is this topic helpful?​​​​​​​