# VC-Build problem on NET 5 and NET6

**URL:** <https://www.virtocommerce.org/t/vc-build-problem-on-net-5-and-net6/276>\
**Category:** dev\
**Tags:** vc-build, net5\
**Created:** [December 11, 2020, 11:22am UTC](https://www.virtocommerce.org/t/vc-build-problem-on-net-5-and-net6/276 "2020-12-11T11:22:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![yecli](https://yyz2.discourse-cdn.com/flex032/user_avatar/www.virtocommerce.org/yecli/32/87_2.png) [@yecli](https://www.virtocommerce.org/u/yecli)\
**Post date:** [December 11, 2020, 11:22am UTC](https://www.virtocommerce.org/t/vc-build-problem-on-net-5-and-net6/276/1 "2020-12-11T11:22:51Z")

</div>

Our vc-build tool is currently working on Net Core 3.1 and could have problems running on NET5 and NET6.

To use vc-build before the release of a version for Net 5, you could create `global.json` file to the folder with your projects (or upper by hierarchy).  
Here is the possible `global.json` content t use the latest 3.x.x sdk:

```json
{
  "sdk": {
    "version": "3.1.0",
	"rollForward": "latestMinor"
  }
}

```

or you can create a new _global.json_ file in the current directory by executing the [dotnet new](https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-new) command, similar to the following example:

```auto
dotnet new globaljson --sdk-version 3.1.0 --roll-forward latestMinor

```
