Skip to content

Commit f1ee78d

Browse files
committed
Reference Razor design time targets from the extension if cohosting is on
1 parent f96d8d8 commit f1ee78d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lsptoolshost/server/roslynLanguageServer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ export class RoslynLanguageServer {
666666

667667
args.push(
668668
'--razorDesignTimePath',
669-
path.join(razorPath, 'Targets', 'Microsoft.NET.Sdk.Razor.DesignTime.targets')
669+
path.join(razorSourceGeneratorPath, 'Targets', 'Microsoft.NET.Sdk.Razor.DesignTime.targets')
670670
);
671671

672672
// Get the brokered service pipe name from C# Dev Kit (if installed).

0 commit comments

Comments
 (0)