How to run Virto Commerce on .NET 5

At this moment, VC is running on .NET Core 3.1. But I can find how to run it on .NET 5.

This post explains how to run Virto Commerce on .NET Core 5.0.

  1. Create a fork from VirtoCommerce/vc-platform: VirtoCommerce Platform repository (

  2. Update the project file’s Target Framework Moniker (TFM) to net5.0.

<Project Sdk="Microsoft.NET.Sdk.Web">

-    <TargetFramework>netcoreapp3.1</TargetFramework>
+    <TargetFramework>net5.0</TargetFramework>


I updated theses files:

  1. Delete bin and obj folders. If you build the platform before.

  2. Open VirtoCommerce.Platform.sln in Visual Studio 2019.

  3. Build vc-platform.

  1. Run vc-platform

Note: All modules are loaded without any modifications.

You can find the code here: OlegoO/vc-platform at feature/net50 (


Migrate from ASP.NET Core 3.1 to 5.0 | Microsoft Docs
OlegoO/vc-platform at feature/net50 (