Skip to content

Commit f1009c6

Browse files
committed
Fix hardcoded path
1 parent 765562c commit f1009c6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/lsptoolshost/roslynLanguageServer.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,10 @@ export class RoslynLanguageServer {
510510
args.push('--extension', extensionPath);
511511
}
512512

513-
args.push('--devKitRazorOutputPath', 'C:/CodeHub/vscode-csharp/.razor');
513+
args.push(
514+
'--razorSourceGenerator',
515+
path.join(context.extension.extensionPath, '.razor', 'Microsoft.CodeAnalysis.Razor.Compiler.dll')
516+
);
514517

515518
// Get the brokered service pipe name from C# Dev Kit (if installed).
516519
// We explicitly call this in the LSP server start action instead of awaiting it

0 commit comments

Comments
 (0)