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: CHANGELOG.md
+21Lines changed: 21 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,27 @@
4
4
- Debug from .csproj and .sln [#5876](https://github.com/dotnet/vscode-csharp/issues/5876)
5
5
6
6
# 2.86.x
7
+
* Bump Roslyn to 5.0.0-1.25358.1 (PR: [#8402](https://github.com/dotnet/vscode-csharp/pull/8402))
8
+
* Initial support for adding obsolete attributes to primary constructors(PR: [#79271](https://github.com/dotnet/roslyn/pull/79271))
9
+
* Allow the Razor extension to report telemetry (and initialize)(PR: [#79254](https://github.com/dotnet/roslyn/pull/79254))
10
+
* Use same location for 'use implicit object' as we do for 'use collection expression'.(PR: [#79265](https://github.com/dotnet/roslyn/pull/79265))
11
+
* Use the miscellaneous files project name for rich misc projects(PR: [#79267](https://github.com/dotnet/roslyn/pull/79267))
12
+
* Razor: Don't double register for document sync(PR: [#79241](https://github.com/dotnet/roslyn/pull/79241))
13
+
* Allow LanguageServerProjectSystems to load into more than one workspace(PR: [#78975](https://github.com/dotnet/roslyn/pull/78975))
14
+
* Improve diagnostic for ambiguous predefined type(PR: [#79196](https://github.com/dotnet/roslyn/pull/79196))
15
+
* Fix renaming constructor via alias(PR: [#79175](https://github.com/dotnet/roslyn/pull/79175))
16
+
* Speed up performance of remove-unused-imports fix all(PR: [#79173](https://github.com/dotnet/roslyn/pull/79173))
17
+
* Improve performance in metadata-to-project-reference conversion(PR: [#79163](https://github.com/dotnet/roslyn/pull/79163))
18
+
* Fix issue where we offered to use a collection expression when teh user didn't have a viable Add method(PR: [#79157](https://github.com/dotnet/roslyn/pull/79157))
19
+
* Don't load the razor redirector unless it could actually be a razor assembly(PR: [#79154](https://github.com/dotnet/roslyn/pull/79154))
20
+
* Tweak clarity rules for parentheses where ?? is involved(PR: [#79159](https://github.com/dotnet/roslyn/pull/79159))
21
+
* Avoid hitting object pool when not needed(PR: [#79158](https://github.com/dotnet/roslyn/pull/79158))
22
+
* Merge 'extension operators' into 'main'(PR: [#79151](https://github.com/dotnet/roslyn/pull/79151))
* Small but trivial allocation improvement in FileWatchedReferenceFactory.StopWatchingReference(PR: [#79140](https://github.com/dotnet/roslyn/pull/79140))
25
+
* Slight allocation reduction in CommandLineParser.FlattenArgs(PR: [#79139](https://github.com/dotnet/roslyn/pull/79139))
26
+
* Fix promptForDevKitDebugConfigurations without CDK installed(PR: [#8390](https://github.com/dotnet/vscode-csharp/pull/8390))
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,12 +36,15 @@ Follow these steps to build, run, and test the repository:
36
36
37
37
#### Building
38
38
39
+
If you have the ability to run powershell, you can invoke "init.ps1" from the root of the repo. If not, the following steps will get build going for you as well:
40
+
39
41
1. Run `npm install -g vsts-npm-auth`, then run `vsts-npm-auth -config .npmrc` - This command will configure your credentials for the next command.
40
42
a. If you have already authenticated before, but the token expired, you may need to run `vsts-npm-auth -config .npmrc -f` instead.
41
43
2. Run `npm i` - This command installs the project dependencies.
42
44
3. Run `npm i -g gulp` - This command installs Gulp globally.
43
45
4. Run `gulp installDependencies` - This command downloads the various dependencies as specified by the version in the [package.json](package.json) file.
44
-
5. Run `code .` - This command opens the project in Visual Studio Code.
46
+
47
+
You can now run `code .` - This command opens the project in Visual Studio Code.
45
48
46
49
#### Running
47
50
@@ -168,7 +171,7 @@ To package this extension, we need to create VSIX Packages. The VSIX packages ca
168
171
169
172
## Updating the `Roslyn` Language Server Version
170
173
171
-
In order to pull in new packages from upstreams into the msft_consumption feed we use for restoring, you will need to be a member of the 'CSharp VS Code Extension contributors' group in the [Azure Devops instance](https://dev.azure.com/azure-public/vside/_settings/teams).
174
+
In order to pull in new packages from upstreams into the msft_consumption feed we use for restoring, you will need to be a member of the 'CSharp VS Code Extension contributors' group in the [Azure Devops instance](https://dev.azure.com/azure-public/vside/_settings/teams).
172
175
173
176
To update the version of the roslyn server used by the extension do the following:
174
177
1. Find the the Roslyn signed build you want from [here](https://dnceng.visualstudio.com/internal/_build?definitionId=327&_a=summary). Typically the latest successful build of main is fine.
@@ -195,5 +198,5 @@ The marketplace release is managed by an internal AzDo pipeline. On the pipelin
195
198
1. The branch will **always** be main, no matter if release a build from prerelease or release.
196
199
2. Uncheck the "test" option.
197
200
3. In "Resources", choose "dotnet-vscode-csharp [officialBuildCI]", then check only the build that should be released, and then confirm with "Use selected run". Based on the selected build, it will automatically determine if it is prerelease or release. 
198
-
4. The pipeline parameters should then look something like the following image. Hit "Run". 
201
+
4. The pipeline parameters should then look something like the following image. Hit "Run". 
199
202
5. After a bit, the pipeline will request approval from an authorized approver before it actually uploads to the marketplace. Hit approve and it will continue.
Copy file name to clipboardExpand all lines: SUPPORT.md
+18-3Lines changed: 18 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,7 @@ For issues with Razor, the Razor Log output window can contain useful informatio
68
68
4.**Reset the Log Level**:
69
69
- Once the logs are collected, reset the log level to `Info`.
70
70
71
-
####Project Loading Problems
71
+
### Project Loading Problems
72
72
73
73
Missing language features are often caused by a failure to load the project(s) or solution. To diagnose and resolve these issues, follow these steps:
74
74
@@ -86,7 +86,7 @@ Missing language features are often caused by a failure to load the project(s) o
86
86
- If you are using C# Dev Kit, check the Solution Explorer to ensure the project is displayed with the expected references.
87
87
- If the references or structure are not as expected, include the contents of the `Projects` output window in your issue report.
88
88
89
-
####Colorization problems
89
+
### Colorization problems
90
90
If you encounter issues with document classification (e.g., incorrect syntax highlighting or colorization), please provide the following information to help us diagnose the problem:
91
91
92
92
1.**Theme in Use**:
@@ -101,7 +101,7 @@ If you encounter issues with document classification (e.g., incorrect syntax hig
101
101
102
102

103
103
104
-
####Diagnostics problems
104
+
### Diagnostics problems
105
105
106
106
For issues with diagnostics, please provide values of the background analysis scope options, `dotnet.backgroundAnalysis.analyzerDiagnosticsScope` and `dotnet.backgroundAnalysis.compilerDiagnosticsScope`
@@ -116,6 +116,21 @@ If the language server crashes, general logs are often helpful for diagnosing th
116
116
> [!WARNING]
117
117
> The dump can contain detailed information on the project - generally we will provide an email so that it can be shared privately
118
118
119
+
#### Recording a language server trace
120
+
121
+
When investigating performance issues, we may request a performance trace of the language server to diagnose what is causing the problem. These are typically taken via [dotnet-trace](https://learn.microsoft.com/en-us/dotnet/core/diagnostics/dotnet-trace) (a cross platform tool to collect performance traces of .NET processes)
122
+
123
+
The C# extension has a built in command, `csharp.recordTrace` to help with trace collection. This command will install `dotnet-trace` as a global tool and invoke it against the language server.
124
+
125
+
1. Invoke the `csharp.recordTrace` command
126
+

127
+
2. Select the folder to save the trace.
128
+
3. Accept the default trace arguments, or change them if requested
129
+

130
+
4. A new terminal window will open to run the trace collection. While the trace is running, reproduce the peformance issue. When done, hit <Enter> or <Ctrl+C> in the trace window to stop the trace
131
+

132
+
5. Share the trace. Note that the trace may contain PII, so generally we will provide an email or other confidential way to share the trace with us.
133
+
119
134
## Microsoft Support Policy
120
135
121
136
Support for this project is limited to the resources listed above.
0 commit comments