Skip to content

Commit

Permalink
Merge pull request #163 from glennawatson/patch-2
Browse files Browse the repository at this point in the history
Update the README to reflect that MSBuild.Sdk.Extras needs .NET Core 3.0
  • Loading branch information
Oren Novotny committed May 14, 2019
2 parents 9119039 + 20bf775 commit f0e995a
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 preview 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 f0e995a

Please sign in to comment.