You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: SUPPORT.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ The template has a section to include the `C#` output window logs. These logs a
25
25
3. In the `C#` output window, select all (e.g. `cntrl+a`) and copy paste into the issue template under the 'C# Log' section. If you need to redact file paths and other information, please do so at this time.
26
26
4. Once the logs are collected, reset the window log level to `Info`
27
27
28
-
If the issue only reproduces on extension startup, you can set `Trace` as the default (see screenshot above), reload the window, and trace logs will be captured on startup.
28
+
If the issue only reproduces on extension startup, you can set `Trace` as the default (see screenshot above), restart VSCode, and trace logs will be captured on startup.
29
29
30
30
##### C# LSP Trace Logs
31
31
Sometimes we need to know exactly what requests were sent to the Roslyn language server. To capture these logs:
@@ -39,6 +39,15 @@ Sometimes we need to know exactly what requests were sent to the Roslyn language
39
39
1. When launching VSCode from the CLI, pass the `--log ms-dotnettools.csharp:trace` parameter.
40
40
2. Invoke the `Developer: Set Log Level` command from the VSCode command palette, find the `C#` entry and set the level.
41
41
42
+
##### Collecting Razor logs
43
+
For issues with Razor, the Razor Log output window can contain useful information.
44
+
45
+
1. Find the `Razor Log` output window (`View` -> `Output`) and set the log level to `Trace`
3. Select all contents of the window (e.g. `cntrl+a`) and paste into the GitHub issue when requested.
49
+
4. Once the logs are collected, reset the window log level to `Info`
50
+
42
51
#### Project loading problems
43
52
44
53
A common cause of missing language features is a failure to load the project(s) or solution. There can be a number of reasons why this happens, and some additional information is generally necessary to figure out what is going wrong.
0 commit comments