Skip to content

Commit 1b8a928

Browse files
authored
Update CONTRIBUTING.md
1 parent cf7640e commit 1b8a928

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

CONTRIBUTING.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,23 +115,28 @@ This section provides instructions on how to debug locally built Roslyn and Razo
115115

116116
#### Configuring Roslyn Language Server
117117

118-
In your workspace `settings.json` file, add the following lines:
118+
In your `settings.json` file, add the following lines:
119119

120120
```json
121121
"dotnet.server.waitForDebugger": true,
122122
"dotnet.server.path": "<roslynRepoRoot>/artifacts/bin/Microsoft.CodeAnalysis.LanguageServer/Debug/net9.0/Microsoft.CodeAnalysis.LanguageServer.dll"
123+
```
124+
125+
Replace <roslynRepoRoot> with the actual path to your Roslyn repository.
126+
127+
If using C# Dev Kit, you can also override the Roslyn DevKit component in your `settings.json`:
128+
```json
123129
"dotnet.server.componentPaths": {
124130
"roslynDevKit": "<roslynRepoRoot>/artifacts/bin/Microsoft.VisualStudio.LanguageServices.DevKit/Debug/net9.0"
125131
},
126132
```
127133

128-
Replace <roslynRepoRoot> with the actual path to your Roslyn repository.
129-
130134
Or, in VSCode settings (`Ctrl+,`):
131135

132136
1. Search for `dotnet server`.
133137
2. Set `dotnet.server.path` to the path of your Roslyn DLL.
134138
3. Enable `dotnet.server.waitForDebugger`.
139+
4. (Optional) - add the component to `dotnet.server.componentPaths` (see above).
135140

136141
#### Configuring Razor Language Server
137142

0 commit comments

Comments
 (0)