WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 9bfd906

Browse files
authored
Editorial pass over the dotnet.config file removal (#10170)
* Editorial pass over the dotnet.config file removal * Update known-issues.md Fix markdown linting error. * Remove newlines that fail linting validation
1 parent a70c3a1 commit 9bfd906

File tree

1 file changed

+5
-16
lines changed

1 file changed

+5
-16
lines changed

release-notes/10.0/known-issues.md

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,18 @@ Add the following to a `Directory.Build.props` file that is imported in all MAUI
2727

2828
The behavior will be **fixed in the .NET 10 preview 5** release. The workaround should be removed after that release.
2929

30-
## `dotnet.config` will be removed in favor of `global.json`
30+
## `global.json` is used for test runner selection instead of `dotnet.config`
3131

32-
In .NET 10, we introduced `dotnet.config` file that is used to set the test runner and is the way to opt-in using `dotnet test` for Microsoft.Testing.Platform. This is already shipping in RC1, but will be removed in RC2.
32+
In .NET 10 versions up to RC1, we supported the use of a `dotnet.config` file, an INI-formatted file that is currently used only to set the test runner to use with `dotnet test`. Setting this is required in order to use the new Microsoft.Testing.Platform. In 10.0.100 RC2 and beyond, the use of this file is removed in favor of the pre-existing `dotnet.config` file.
3333

34-
The `dotnet.config` used to look like:
34+
Instead of using `dotnet.config` to specify a runner:
3535

3636
```ini
3737
[dotnet.test.runner]
3838
name = "Microsoft.Testing.Platform"
3939
```
4040

41-
With `global.json`, this becomes:
41+
`global.json` uses the following to specify the same runner:
4242

4343
```json
4444
{
@@ -48,18 +48,7 @@ With `global.json`, this becomes:
4848
}
4949
```
5050

51-
A `global.json` that sets SDK version along with the test runner will look like:
52-
53-
```json
54-
{
55-
"sdk": {
56-
"version": "<version>"
57-
},
58-
"test": {
59-
"runner": "Microsoft.Testing.Platform"
60-
}
61-
}
62-
```
51+
This change is done in response to user feedback about the relative lack of utility of `dotnet.config` at this time.
6352

6453
## Startup Performance Regression in Fractional CPU Containers
6554

0 commit comments

Comments
 (0)