-
Notifications
You must be signed in to change notification settings - Fork 727
Closed
dotnet/roslyn
#79844Labels
Description
REGRESSION INFO
Works well on prerelease C# 2.87.30
INSTALL STEPS
1.Repro OS: Linux
2.Install latest VSCode (latest released version 1.103.0).
3.Install SDK 10.0 Preview 6/SDK 9.0
4.Install C# main [2.88.28] and C#DK main [1.41.22]
REPRO STEPS
- Create a blazor project and open it with VS Code.
- Open Home.razor page and type
<SomeUnknownTag>, and it will provide a light bulb to "Create component from tag". Executing the light bulb creates a newSomeUnknokwnTag.razorfile. - Open the
SomeUnknokwnTag.razorfile and observe.
ACTUAL
TextDocument error occurred.
2025-08-01 16:43:17.102 [info] Locating .NET runtime version 9.0.1
2025-08-01 16:43:17.295 [info] Dotnet path: /home/nicole/dotnet/dotnet
2025-08-01 16:43:17.295 [info] Activating C# + C# Dev Kit...
2025-08-01 16:43:17.455 [info] [stdout] info: Program[0]
Server started with process ID 10342
2025-08-01 16:43:17.957 [info] [stdout] {"pipeName":"/tmp/9b425842.sock"}
2025-08-01 16:43:17.958 [info] received named pipe information from server
2025-08-01 16:43:17.960 [info] client has connected to server
2025-08-01 16:43:18.150 [info] [Info - 4:43:18 PM] [Program] Language server initialized
2025-08-01 16:43:34.791 [info] Locating .NET runtime version 9.0.1
2025-08-01 16:43:35.025 [info] Dotnet path: /home/nicole/dotnet/dotnet
2025-08-01 16:43:35.025 [info] Activating C# + C# Dev Kit...
2025-08-01 16:43:35.147 [info] [stdout] info: Program[0]
Server started with process ID 10587
2025-08-01 16:43:35.694 [info] [stdout] {"pipeName":"/tmp/14a60355.sock"}
2025-08-01 16:43:35.694 [info] received named pipe information from server
2025-08-01 16:43:35.697 [info] client has connected to server
2025-08-01 16:43:35.810 [info] [Info - 4:43:35 PM] [Program] Language server initialized
2025-08-01 16:43:40.884 [info] [Info - 4:43:40 PM] [serviceBroker/connect] [WorkspaceProjectFactoryService] Project /home/nicole/web3/web3/web3.csproj loaded by C# Dev Kit
2025-08-01 16:44:36.948 [info] [Error - 4:44:36 PM] Request textDocument/documentSymbol failed.
2025-08-01 16:44:36.948 [info] Message: Couldn't get the source generated document for a hint name that we got from the generator?
Code: -32000
[object Object]
2025-08-01 16:44:36.949 [info] [Error - 4:44:36 PM] Request textDocument/inlayHint failed.
2025-08-01 16:44:36.950 [info] Message: Could not get the code document
Code: -32000
[object Object]
2025-08-01 16:44:36.950 [info] [Error - 4:44:36 PM] Request textDocument/diagnostic failed.
2025-08-01 16:44:36.950 [info] Message: Could not get the code document
Code: -32000
[object Object]
2025-08-01 16:44:36.951 [info] [Error - 4:44:36 PM] Document pull failed for text document file:///home/nicole/web3/web3/Components/Pages/SomeUnknownTag.razor
2025-08-01 16:44:36.951 [info] Message: Could not get the code document
Code: -32000
[object Object]
2025-08-01 16:44:37.155 [info] [Error - 4:44:37 PM] Request textDocument/documentSymbol failed.
2025-08-01 16:44:37.155 [info] Message: Couldn't get the source generated document for a hint name that we got from the generator?
Code: -32000
[object Object]
2025-08-01 16:44:37.284 [info] [Error - 4:44:37 PM] Request textDocument/semanticTokens/range failed.
2025-08-01 16:44:37.284 [info] Message: Could not get the code document
Code: -32000
[object Object]
2025-08-01 16:44:40.800 [info] [Error - 4:44:40 PM] Request textDocument/inlayHint failed.
2025-08-01 16:44:40.800 [info] Message: Could not get the code document
Code: -32000
[object Object]
2025-08-01 16:44:40.808 [info] [Error - 4:44:40 PM] Request textDocument/semanticTokens/range failed.
2025-08-01 16:44:40.808 [info] Message: Could not get the code document
Code: -32000
[object Object]
EXPECTED
No problem occurred.
