Skip to content

Commit 8df57fa

Browse files
committed
revert contributing
1 parent d64fa89 commit 8df57fa

File tree

1 file changed

+1
-23
lines changed

1 file changed

+1
-23
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,8 @@
22

33
1. Clone repo.
44
2. Install local tools with `dotnet tool restore`
5-
6-
## Testing
7-
8-
Testing against different .NET runtimes is a bit of a chore because we want to let the runtime load the current runtime's Microsoft.Build assemblies. Unfortunately, we can't have the `global.json` set to `net9.0` because the `Microsoft.Build` assemblies are compatible with the .NET 9 runtime, and will try to load them, even in a net8.0 TFM context. (Chet to fill in longer description as to why.)
9-
10-
### Against LTS (net8.0)
11-
1. Run tests with `dotnet run --project .\build\ -- -t Test`
12-
1. This should chose the `Test:net9.0` target and run against that runtime
13-
14-
15-
### Against STS (net9.0)
16-
1. Change global.json to use net9.0
17-
```json
18-
"sdk": {
19-
"version": "9.0.100",
20-
"rollForward": "latestMinor",
21-
"allowPrerelease": true
22-
}
23-
```
24-
2. Set environment variable `BuildNet9` to `true`
25-
1. Bash: `export BuildNet9=true`
26-
2. PowerShell: `$env:BuildNet9 = "true"`
275
3. Run tests with `dotnet run --project .\build\ -- -t Test`
28-
1. This should chose the `Test:net9.0` target and run against that runtime
6+
4. Create packages with `dotnet run --project .\build\ -- -t Pack`
297

308
## Release
319

0 commit comments

Comments
 (0)