Commit a0cf8b6
committed
global.json: add global.json file to lock SDK ver
Add a global.json file to the project to make it clearer that we should
be using _at least_ version 8.x of the .NET SDK. This can help when
building locally without a valid .NET Runtime version installed, to make
it clear what the issue is.
We set the roll-forward policy to `latestMajor` meaning we will look for
any SDK major version from the set version forward. In this case, since
we set 8.0, this will match 8.x, 9.x, 10.x etc.
When we move to a newer runtime target (probably `net10.0`) we'll want
to bump this minimum SDK version to 10.0.
Signed-off-by: Matthew John Cheetham <[email protected]>1 parent 718810c commit a0cf8b6
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
0 commit comments