Skip to content

Commit 43174c6

Browse files
committed
Merged PR 477536: Removed writeCommonPropsFile as it's not needed by Blue.
Fixed bug where the CSharp extension was overwriting the CSDevKit's common property file when it was trying to get the commonprops filepath. As Blue does not send telemetry outside of the CSDevKit extension, it does not need to create a common props file for Telemetry to use. Related work items: #1830937
2 parents 7a4b28f + 584acdc commit 43174c6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/lsptoolshost/roslynLanguageServer.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,7 @@ export class RoslynLanguageServer {
437437
_channel.appendLine(`Starting server at ${serverPath}`);
438438
}
439439

440+
// shouldn't this arg only be set if it's running with CSDevKit?
440441
args.push("--telemetryLevel", this.telemetryReporter.telemetryLevel);
441442

442443
let childProcess: cp.ChildProcessWithoutNullStreams;
@@ -528,9 +529,6 @@ export class RoslynLanguageServer {
528529

529530
const extensionPaths = options.languageServerOptions.extensionsPaths || [this.getLanguageServicesDevKitComponentPath(exports)];
530531

531-
// required for the telemetry service to work
532-
await exports.writeCommonPropsAsync(this.context);
533-
534532
let args: string[] = [];
535533

536534
for (const extensionPath of extensionPaths) {

0 commit comments

Comments
 (0)