Skip to content

Commit a66f296

Browse files
EvangelinkYoussef1313nohwndadegeo
authored
MSTest SDK document limitations (#43717)
* MSTest SDK document limitations * Update docs/core/testing/unit-testing-mstest-sdk.md Co-authored-by: Youssef Victor <[email protected]> * Apply suggestions from code review Co-authored-by: Youssef Victor <[email protected]> * Update docs/core/testing/unit-testing-mstest-sdk.md Co-authored-by: Jakub Jareš <[email protected]> * Apply suggestions from code review Co-authored-by: Youssef Victor <[email protected]> * Fix typo in MSTest SDK documentation --------- Co-authored-by: Youssef Victor <[email protected]> Co-authored-by: Jakub Jareš <[email protected]> Co-authored-by: Andy (Steve) De George <[email protected]>
1 parent ea2df31 commit a66f296

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/core/testing/unit-testing-mstest-sdk.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,14 @@ Here's an example update when using the `DotNetCoreCLI` task in Azure DevOps:
288288
+ arguments: '--configuration Release -p:TestingPlatformCommandLineArguments="--report-trx --results-directory $(Agent.TempDirectory) --coverage"'
289289
```
290290

291+
## Known limitations
292+
293+
The NuGet-provided MSBuild SDKs (including MSTest.Sdk) have limited tooling support when it comes to updating its version, meaning that the usual NuGet update and Visual Studio UI for managing NuGet packages does not work as expected. See this issue for more details: [NuGet#13127](https://github.com/NuGet/Home/issues/13127).
294+
295+
> [!NOTE]
296+
> This limitation is not specific to MSTest SDK but to any NuGet-provided MSBuild SDK.
297+
> Dependabot will handle updating the version in the `global.json` file, but you will need to [manually update the version in the project file](https://github.com/dependabot/dependabot-core/issues/8615).
298+
291299
## See also
292300

293301
- [Test project&ndash;related properties](../project-sdk/msbuild-props.md#test-projectrelated-properties)

0 commit comments

Comments
 (0)