Skip to content

Commit 06cacb2

Browse files
authored
Merge pull request #7036 from dibarbet/upgrade_roslyn
Upgrade Roslyn to 4.11.0-1.24209.10
2 parents c01b890 + 38882aa commit 06cacb2

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
- Debug from .csproj and .sln [#5876](https://github.com/dotnet/vscode-csharp/issues/5876)
55

66
# Latest
7+
* Update Roslyn to 4.11.0-1.24209.10 (PR: [#<>](https://github.com/dotnet/vscode-csharp/pull/<>))
8+
* Fix issue with case sensitivity when finding documentIds for URIs (PR: [#72965](https://github.com/dotnet/roslyn/pull/72965))
9+
* Bulk add/remove projects to workspace (PR: [#72957](https://github.com/dotnet/roslyn/pull/72957))
10+
* Allow language specific handlers to use their own types for serialization (PR: [#72230](https://github.com/dotnet/roslyn/pull/72230))
11+
* Update VS telemetry for devkit (PR: [#72894](https://github.com/dotnet/roslyn/pull/72894))
712
* Bump Razor to 7.0.0-preview.24178.4 (PR: [#7017](https://github.com/dotnet/vscode-csharp/pull/7017))
813
* Add option to force runtime code generation for razor (a.k.a fuse)
914
* [Fix vscode fuse feature flag (10169)](https://github.com/dotnet/razor/pull/10169)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
}
3838
},
3939
"defaults": {
40-
"roslyn": "4.11.0-1.24179.11",
40+
"roslyn": "4.11.0-1.24209.10",
4141
"omniSharp": "1.39.11",
4242
"razor": "7.0.0-preview.24178.4",
4343
"razorOmnisharp": "7.0.0-preview.23363.1",

src/lsptoolshost/unitTesting.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import * as languageClient from 'vscode-languageclient/node';
1010
import { RoslynLanguageServer } from './roslynLanguageServer';
1111
import { RunTestsParams, RunTestsPartialResult, RunTestsRequest, TestProgress } from './roslynProtocol';
1212
import { commonOptions } from '../shared/options';
13+
import { UriConverter } from './uriConverter';
1314

1415
export function registerUnitTestingCommands(
1516
context: vscode.ExtensionContext,
@@ -52,7 +53,9 @@ async function runTestsInContext(
5253
start: activeEditor.selection.active,
5354
end: activeEditor.selection.active,
5455
};
55-
const textDocument: languageClient.TextDocumentIdentifier = { uri: activeEditor.document.fileName };
56+
const textDocument: languageClient.TextDocumentIdentifier = languageClient.TextDocumentIdentifier.create(
57+
UriConverter.serialize(activeEditor.document.uri)
58+
);
5659
const request: RunTestsParams = { textDocument: textDocument, range: contextRange, attachDebugger: debug };
5760
return runTests(request, languageServer, dotnetTestChannel);
5861
}

0 commit comments

Comments
 (0)