Skip to content

Commit

Permalink
Add MSTest.Sdk to global.json
Browse files Browse the repository at this point in the history
Use MSBuild SDK in `global.json` for the version of `MSTest.Sdk` so that dependabot can update it at the same time as `MSTest.TestFramework`.
See microsoft/testfx#2703 (comment).
  • Loading branch information
martincostello committed Apr 15, 2024
1 parent 80cd59e commit 7622011
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ updates:
awssdk:
patterns:
- AWSSDK*
mstest:
patterns:
- MSTest.Sdk
- MSTest.TestFramework
opentelemetry:
patterns:
- OpenTelemetry*
Expand Down
3 changes: 3 additions & 0 deletions global.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@
"version": "8.0.204",
"allowPrerelease": false,
"rollForward": "latestMajor"
},
"msbuild-sdks": {
"MSTest.Sdk": "3.3.1"
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="MSTest.Sdk/3.3.1">
<Project Sdk="MSTest.Sdk">
<PropertyGroup>
<JsonSerializerIsReflectionEnabledByDefault>false</JsonSerializerIsReflectionEnabledByDefault>
<NoWarn>$(NoWarn);CA1062;CA1707;CA2007;CA2234;SA1600</NoWarn>
Expand Down

0 comments on commit 7622011

Please sign in to comment.