Skip to content

Commit dee0038

Browse files
Merge pull request #49314 from dotnet/main
Merge main into live
2 parents 47fa48b + d20f30c commit dee0038

File tree

2 files changed

+17
-11
lines changed

2 files changed

+17
-11
lines changed

.github/dependabot.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1801,6 +1801,17 @@ updates:
18011801
dotnet:
18021802
patterns:
18031803
- "*" # Prefer a single PR per project update.
1804+
- package-ecosystem: "nuget"
1805+
directory: "/docs/core/extensions/snippets/http/latency" #latency.csproj
1806+
schedule:
1807+
interval: "weekly"
1808+
day: "wednesday"
1809+
open-pull-requests-limit: 5
1810+
groups:
1811+
# Group .NET updates together for projects.
1812+
dotnet:
1813+
patterns:
1814+
- "*" # Prefer a single PR per project update.
18041815
- package-ecosystem: "nuget"
18051816
directory: "/docs/core/extensions/snippets/http/named" #named.csproj
18061817
schedule:
@@ -2186,14 +2197,3 @@ updates:
21862197
dotnet:
21872198
patterns:
21882199
- "*" # Prefer a single PR per project update.
2189-
- package-ecosystem: "nuget"
2190-
directory: "/docs/core/resilience/snippets/http-resilience" #http-resilience.csproj
2191-
schedule:
2192-
interval: "weekly"
2193-
day: "wednesday"
2194-
open-pull-requests-limit: 5
2195-
groups:
2196-
# Group .NET updates together for projects.
2197-
dotnet:
2198-
patterns:
2199-
- "*" # Prefer a single PR per project update.

docs/core/testing/unit-testing-mstest-migration-v3-v4.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,3 +213,9 @@ To address long outstanding bugs that many users filed, the generation of `TestC
213213
### TreatDiscoveryWarningsAsErrors now defaults to true
214214

215215
v4 uses stricter defaults. As such, the default value of `TreatDiscoveryWarningsAsErrors` is now `true`. This should be a transparent change for most users and should help other users to uncover hidden bugs.
216+
217+
### MSTest.Sdk no longer adds `Microsoft.NET.Test.Sdk` reference when using Microsoft.Testing.Platform
218+
219+
By default, MSTest.Sdk uses Microsoft.Testing.Platform. If the `UseVSTest` MSBuild property is set to true, it will use VSTest instead. In MSTest 3.x, the SDK added a reference to Microsoft.NET.Test.Sdk (which brings VSTest support) even when using Microsoft.Testing.Platform. This package reference is unnecessary when running with Microsoft.Testing.Platform and has been removed in MSTest v4.
220+
221+
If you still want to have VSTest supported (for example, if you want to run with vstest.console), you need to manually add a package reference to `Microsoft.NET.Test.Sdk` NuGet package to your project.

0 commit comments

Comments
 (0)