Skip to content

Commit d3c6e1d

Browse files
authored
Merge branch 'main' into merge/prerelease-to-main
2 parents ff6f33b + bd1ca38 commit d3c6e1d

File tree

6 files changed

+16
-5
lines changed

6 files changed

+16
-5
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
- Diagnostics related feature requests and improvements [#5951](https://github.com/dotnet/vscode-csharp/issues/5951)
44
- Debug from .csproj and .sln [#5876](https://github.com/dotnet/vscode-csharp/issues/5876)
55

6+
# 2.61.x
7+
68
# 2.60.x
79
* Improve performance of razor/blazor component discovery (PR: [#7826](https://github.com/dotnet/vscode-csharp/pull/7826))
810
* Update Razor to 9.0.0-preview.24605.1 (PR: [#7826](https://github.com/dotnet/vscode-csharp/pull/7826))

azure-pipelines/prereqs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ steps:
2323
- script: dotnet --info
2424
displayName: Display dotnet info
2525

26-
- script: dotnet tool install --tool-path $(Agent.BuildDirectory) nbgv
26+
- script: dotnet tool install --version 3.6.146 --tool-path $(Agent.BuildDirectory) nbgv
2727
displayName: Install nbgv
2828

2929
# If we want to override the version, update the version.json here - vsix packaging will see this value

azure-pipelines/test-matrix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
matrix:
1919
CSharpTests:
20-
npmCommand: 'test:withoutDevKit'
20+
npmCommand: 'test:unit' # Restore when integration test are stable: 'test:withoutDevKit'
2121
DevKitTests:
2222
npmCommand: test:integration:devkit
2323
pool: ${{ parameters.pool }}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@
6868
"compileTest": "tsc -p ./ && webpack --mode development",
6969
"watch": "tsc -watch -p ./",
7070
"test": "tsc -p ./ && gulp test",
71+
"test:unit": "tsc -p ./ && gulp test:unit",
7172
"test:withoutDevKit": "tsc -p ./ && gulp test:withoutDevKit",
7273
"test:integration:devkit": "tsc -p ./ && gulp test:integration:devkit",
7374
"test:razor": "tsc -p ./ && npm run compile:razorTextMate && gulp test:razor",

src/lsptoolshost/roslynLanguageServer.ts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -792,8 +792,16 @@ export class RoslynLanguageServer {
792792
);
793793
vscode.commands.registerCommand(
794794
DynamicFileInfoHandler.dynamicFileUpdatedCommand,
795-
async (notification: RazorDynamicFileChangedParams) =>
796-
this.sendNotification<RazorDynamicFileChangedParams>('razor/dynamicFileInfoChanged', notification)
795+
async (notification: RazorDynamicFileChangedParams) => {
796+
if (this.isRunning()) {
797+
await this.sendNotification<RazorDynamicFileChangedParams>(
798+
'razor/dynamicFileInfoChanged',
799+
notification
800+
);
801+
} else {
802+
_channel.warn('Tried to send razor/dynamicFileInfoChanged while server is not running');
803+
}
804+
}
797805
);
798806
}
799807

version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
3-
"version": "2.60",
3+
"version": "2.61",
44
"publicReleaseRefSpec": [
55
"^refs/heads/release$",
66
"^refs/heads/prerelease$",

0 commit comments

Comments
 (0)