Skip to content

Commit

Permalink
Update the README to reflect that MSBuild.Sdk.Extras needs .NET Core 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
glennawatson authored May 14, 2019
1 parent 9119039 commit 2707a11
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,21 @@ The final project should look like this:
</Project>
```

You can put the `global.json` file next to your solution (use the latest available version of the extras):
If you are using MsBuild.Sdk.Extras version 2 or above, use .NET Core 3 Preview to compile. You can still target previous versions of .Net Core. In this case install the .NET Core 3 preiew and add the following to your `global.json` file:

```json
{
"msbuild-sdks": {
"MSBuild.Sdk.Extras": "1.6.68"
}
"sdk": {
"version": "3.0.100-preview"
},
"msbuild-sdks": {
"MSBuild.Sdk.Extras": "2.0.24"
}
}
```

Above the `sdk` section indicates use the .NET Core 3 preview to build, the `msbuild-sdks` indicates the NuGet package to include.

Then, all of your project files, from that directory forward, uses the version from the `global.json` file.
This would be a preferred solution for all the projects in your solution.

Expand Down

0 comments on commit 2707a11

Please sign in to comment.