Skip to content

request textdocument failed #9329

@ssambaraju

Description

@ssambaraju

Type: Bug

Issue Description

Steps to Reproduce

Expected Behavior

Actual Behavior

Extension version: 2.140.8
VS Code version: Code 1.115.0 (41dd792b5e652393e7787322889ed5fdc58bd75b, 2026-04-07T22:04:57Z)
OS version: Windows_NT x64 10.0.26100
Modes:

Logs

C# log

Details
2026-05-18 11:46:23.120 [info] Installing C# dependencies...
2026-05-18 11:46:23.120 [info] 

2026-05-18 11:46:23.120 [info] Platform: win32, x86_64

2026-05-18 11:46:23.120 [info] 

2026-05-18 11:46:23.120 [info] Downloading package 'Language server for Roslyn Copilot integration' 
2026-05-18 11:46:24.100 [info] (47 KB)
2026-05-18 11:46:24.101 [info] .......
2026-05-18 11:46:24.101 [info] .......
2026-05-18 11:46:24.102 [info] ......
2026-05-18 11:46:24.103 [info]  Done!

2026-05-18 11:46:24.105 [info] Validating download...

2026-05-18 11:46:24.105 [info] Integrity Check succeeded.

2026-05-18 11:46:24.106 [info] Installing package 'Language server for Roslyn Copilot integration'

2026-05-18 11:46:24.106 [info] 

2026-05-18 11:46:29.925 [info] Downloading package 'VSWebAssemblyBridge (Platform Agnostic)' 
2026-05-18 11:46:30.646 [info] (4143 KB)
2026-05-18 11:46:30.646 [info] .
2026-05-18 11:46:30.723 [info] 
2026-05-18 11:46:30.802 [info] 
2026-05-18 11:46:30.805 [info] 
2026-05-18 11:46:30.872 [info] 
2026-05-18 11:46:30.887 [info] .
2026-05-18 11:46:30.898 [info] 
2026-05-18 11:46:30.948 [info] 
2026-05-18 11:46:30.957 [info] 
2026-05-18 11:46:30.969 [info] 
2026-05-18 11:46:30.976 [info] .
2026-05-18 11:46:30.986 [info] 
2026-05-18 11:46:30.987 [info] 
2026-05-18 11:46:31.000 [info] 
2026-05-18 11:46:31.174 [info] 
2026-05-18 11:46:31.175 [info] .
2026-05-18 11:46:31.175 [info] 
2026-05-18 11:46:31.176 [info] 
2026-05-18 11:46:31.176 [info] 
2026-05-18 11:46:31.177 [info] 
2026-05-18 11:46:31.177 [info] .
2026-05-18 11:46:31.178 [info] 
2026-05-18 11:46:31.178 [info] 
2026-05-18 11:46:31.179 [info] 
2026-05-18 11:46:31.179 [info] 
2026-05-18 11:46:31.180 [info] .
2026-05-18 11:46:31.180 [info] 
2026-05-18 11:46:31.180 [info] 
2026-05-18 11:46:31.181 [info] 
2026-05-18 11:46:31.181 [info] 
2026-05-18 11:46:31.182 [info] .
2026-05-18 11:46:31.182 [info] 
2026-05-18 11:46:31.182 [info] 
2026-05-18 11:46:31.183 [info] 
2026-05-18 11:46:31.183 [info] 
2026-05-18 11:46:31.184 [info] .
2026-05-18 11:46:31.188 [info] 
2026-05-18 11:46:31.188 [info] 
2026-05-18 11:46:31.189 [info] 
2026-05-18 11:46:31.190 [info] 
2026-05-18 11:46:31.191 [info] .
2026-05-18 11:46:31.260 [info] 
2026-05-18 11:46:31.261 [info] 
2026-05-18 11:46:31.262 [info] 
2026-05-18 11:46:31.266 [info] 
2026-05-18 11:46:31.268 [info] .
2026-05-18 11:46:31.269 [info] 
2026-05-18 11:46:31.269 [info] 
2026-05-18 11:46:31.292 [info] 
2026-05-18 11:46:31.292 [info] 
2026-05-18 11:46:31.293 [info] .
2026-05-18 11:46:31.294 [info] 
2026-05-18 11:46:31.295 [info] 
2026-05-18 11:46:31.300 [info] 
2026-05-18 11:46:31.301 [info] 
2026-05-18 11:46:31.304 [info] .
2026-05-18 11:46:31.323 [info] 
2026-05-18 11:46:31.324 [info] 
2026-05-18 11:46:31.325 [info] 
2026-05-18 11:46:31.326 [info] 
2026-05-18 11:46:31.332 [info] .
2026-05-18 11:46:31.332 [info] 
2026-05-18 11:46:31.334 [info] 
2026-05-18 11:46:31.358 [info] 
2026-05-18 11:46:31.358 [info] 
2026-05-18 11:46:31.359 [info] .
2026-05-18 11:46:31.362 [info] 
2026-05-18 11:46:31.362 [info] 
2026-05-18 11:46:31.371 [info] 
2026-05-18 11:46:31.372 [info] 
2026-05-18 11:46:31.373 [info] .
2026-05-18 11:46:31.394 [info] 
2026-05-18 11:46:31.401 [info] 
2026-05-18 11:46:31.406 [info] 
2026-05-18 11:46:31.406 [info] 
2026-05-18 11:46:31.408 [info] .
2026-05-18 11:46:31.408 [info] 
2026-05-18 11:46:31.409 [info] 
2026-05-18 11:46:31.410 [info] 
2026-05-18 11:46:31.433 [info] 
2026-05-18 11:46:31.434 [info] .
2026-05-18 11:46:31.436 [info] 
2026-05-18 11:46:31.440 [info] 
2026-05-18 11:46:31.441 [info] 
2026-05-18 11:46:31.442 [info] 
2026-05-18 11:46:31.443 [info] .
2026-05-18 11:46:31.444 [info] 
2026-05-18 11:46:31.445 [info] 
2026-05-18 11:46:31.445 [info] 
2026-05-18 11:46:31.471 [info] 
2026-05-18 11:46:31.472 [info] .
2026-05-18 11:46:31.473 [info] 
2026-05-18 11:46:31.474 [info] 
2026-05-18 11:46:31.484 [info] 
2026-05-18 11:46:31.491 [info] 
2026-05-18 11:46:31.492 [info] .
2026-05-18 11:46:31.494 [info] 
2026-05-18 11:46:31.494 [info] 
2026-05-18 11:46:31.496 [info] 
2026-05-18 11:46:31.631 [info] 
2026-05-18 11:46:31.642 [info]  Done!

2026-05-18 11:46:31.648 [info] Validating download...

2026-05-18 11:46:31.648 [info] Integrity Check succeeded.

2026-05-18 11:46:31.648 [info] Installing package 'VSWebAssemblyBridge (Platform Agnostic)'

2026-05-18 11:46:31.649 [info] 

2026-05-18 11:46:33.029 [info] Finished

2026-05-18 11:46:33.030 [info] 

2026-05-18 11:46:33.798 [info] Locating .NET runtime version 10.0.5
2026-05-18 11:46:36.792 [info] Dotnet path: c:\Users\ssambaraju\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime\.dotnet\10.0.5~x64~aspnetcore\dotnet.exe
2026-05-18 11:46:36.792 [info] Activating C# + C# Dev Kit...
2026-05-18 11:46:37.965 [info] info: Program[0]
2026-05-18 11:46:37.966 [info]       Server started with process ID 38856
2026-05-18 11:46:41.510 [info] [Program] Language server initialized
2026-05-18 11:46:41.511 [info] [Program] Monitoring client process 16504 for exit
2026-05-18 11:46:42.828 [info] [initialized] [Microsoft.CodeAnalysis.LanguageServer.FileBasedPrograms.FileBasedProgramsEntryPointDiscovery] Finished discovery in 'c:\DevProjects2022\AgencyOS' in 30 milliseconds
2026-05-18 11:46:59.044 [info] [serviceBroker/connect] [WorkspaceProjectFactoryService] Project C:\DevProjects2022\AgencyOS\AgencyOS\AgencyOS.csproj loaded by C# Dev Kit
2026-05-18 11:46:59.098 [info] [serviceBroker/connect] [WorkspaceProjectFactoryService] Project C:\DevProjects2022\AgencyOS\AgencyOSProformaData\AgencyOSProformaData.csproj loaded by C# Dev Kit
2026-05-18 11:46:59.116 [info] [serviceBroker/connect] [WorkspaceProjectFactoryService] Project C:\DevProjects2022\AgencyOS\CCMDownloader\CCMDownloader.csproj loaded by C# Dev Kit
2026-05-19 15:23:27.333 [error] [textDocument/didOpen] [LSP] Unable to parse URI _claude_vscode_fs_right:/c:/DevProjects2022/AgencyOS/AgencyOS/Views/ComponentSpecs/UpdateNSItemID.cshtml
2026-05-19 15:23:27.351 [error] [textDocument/diagnostic] [LSP] StreamJsonRpc.LocalRpcException: Failed to get language for textDocument/diagnostic
2026-05-19 15:23:27.353 [error] Request textDocument/diagnostic failed.
  Message: Failed to get language for textDocument/diagnostic
  Code: -30099 
2026-05-19 15:23:27.353 [error] Document pull failed for text document _claude_vscode_fs_right:/c%3A/DevProjects2022/AgencyOS/AgencyOS/Views/ComponentSpecs/UpdateNSItemID.cshtml
  Message: Failed to get language for textDocument/diagnostic
  Code: -30099 
2026-05-19 15:23:27.404 [error] [textDocument/codeAction] [LSP] StreamJsonRpc.LocalRpcException: Failed to get language for textDocument/codeAction
2026-05-19 15:23:27.405 [error] Request textDocument/codeAction failed.
  Message: Failed to get language for textDocument/codeAction
  Code: -30099 
2026-05-19 15:23:27.407 [error] [textDocument/_vs_getProjectContexts] [LSP] StreamJsonRpc.LocalRpcException: Failed to get language for textDocument/_vs_getProjectContexts
2026-05-19 15:23:27.408 [error] Error making textDocument/_vs_getProjectContexts request Failed to get language for textDocument/_vs_getProjectContexts
2026-05-19 15:23:27.409 [error] [textDocument/documentSymbol] [LSP] StreamJsonRpc.LocalRpcException: Failed to get language for textDocument/documentSymbol
2026-05-19 15:23:27.409 [error] Request textDocument/documentSymbol failed.
  Message: Failed to get language for textDocument/documentSymbol
  Code: -30099 
2026-05-19 15:23:27.446 [error] [textDocument/documentColor] [LSP] StreamJsonRpc.LocalRpcException: Missing handler for textDocument/documentColor and language default
2026-05-19 15:23:27.446 [error] Request textDocument/documentColor failed.
  Message: Missing handler for textDocument/documentColor and language default
  Code: -30099 
2026-05-19 15:23:27.512 [error] [textDocument/inlayHint] [LSP] StreamJsonRpc.LocalRpcException: Failed to get language for textDocument/inlayHint
2026-05-19 15:23:27.512 [error] Request textDocument/inlayHint failed.
  Message: Failed to get language for textDocument/inlayHint
  Code: -30099 
2026-05-19 15:23:27.604 [error] [textDocument/semanticTokens/range] [LSP] StreamJsonRpc.LocalRpcException: Failed to get language for textDocument/semanticTokens/range
2026-05-19 15:23:27.604 [error] Request textDocument/semanticTokens/range failed.
  Message: Failed to get language for textDocument/semanticTokens/range
  Code: -30099 
2026-05-19 15:23:27.714 [error] [textDocument/documentSymbol] [LSP] StreamJsonRpc.LocalRpcException: Failed to get language for textDocument/documentSymbol
2026-05-19 15:23:27.715 [error] Request textDocument/documentSymbol failed.
  Message: Failed to get language for textDocument/documentSymbol
  Code: -30099 
2026-05-19 15:23:27.723 [error] [textDocument/foldingRange] [LSP] StreamJsonRpc.LocalRpcException: Failed to get language for textDocument/foldingRange
2026-05-19 15:23:27.724 [error] Request textDocument/foldingRange failed.
  Message: Failed to get language for textDocument/foldingRange
  Code: -30099 
2026-05-19 15:23:28.663 [error] [textDocument/hover] [LSP] StreamJsonRpc.LocalRpcException: Failed to get language for textDocument/hover
2026-05-19 15:23:28.663 [error] Request textDocument/hover failed.
  Message: Failed to get language for textDocument/hover
  Code: -30099 
2026-05-19 15:36:24.856 [error] Request textDocument/diagnostic failed.
  Message: Razor source generator did not produce a host output for project 'AgencyOS': warning CS8785: Generator 'RazorSourceGenerator' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. Exception was of type 'ArgumentException' with message 'The hintName 'Views/Billing/Dashboard_cshtml.g.cs' of the added source file must be unique within a generator. (Parameter 'hintName')'.
System.ArgumentException: The hintName 'Views/Billing/Dashboard_cshtml.g.cs' of the added source file must be unique within a generator. (Parameter 'hintName')
   at Microsoft.CodeAnalysis.AdditionalSourcesCollection.Add(String hintName, SourceText source) in /_/src/Compilers/Core/Portable/SourceGeneration/AdditionalSourcesCollection.cs:line 78
   at Microsoft.CodeAnalysis.SourceOutputNode`1.AppendOutputs(IncrementalExecutionContext context, CancellationToken cancellationToken) in /_/src/Compilers/Core/Portable/SourceGeneration/Nodes/SourceOutputNode.cs:line 113
-----

  Code: -32000 
[object Object]
2026-05-19 15:36:24.856 [error] Document pull failed for text document file:///c%3A/DevProjects2022/AgencyOS/AgencyOS/Views/CCM/_ClientBillingEmailsCCMSection.cshtml
  Message: Razor source generator did not produce a host output for project 'AgencyOS': warning CS8785: Generator 'RazorSourceGenerator' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. Exception was of type 'ArgumentException' with message 'The hintName 'Views/Billing/Dashboard_cshtml.g.cs' of the added source file must be unique within a generator. (Parameter 'hintName')'.
System.ArgumentException: The hintName 'Views/Billing/Dashboard_cshtml.g.cs' of the added source file must be unique within a generator. (Parameter 'hintName')
   at Microsoft.CodeAnalysis.AdditionalSourcesCollection.Add(String hintName, SourceText source) in /_/src/Compilers/Core/Portable/SourceGeneration/AdditionalSourcesCollection.cs:line 78
   at Microsoft.CodeAnalysis.SourceOutputNode`1.AppendOutputs(IncrementalExecutionContext context, CancellationToken cancellationToken) in /_/src/Compilers/Core/Portable/SourceGeneration/Nodes/SourceOutputNode.cs:line 113
-----

  Code: -32000 
[object Object]
2026-05-19 15:36:24.857 [error] Request textDocument/documentSymbol failed.
  Message: Razor source generator did not produce a host output for project 'AgencyOS': warning CS8785: Generator 'RazorSourceGenerator' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. Exception was of type 'ArgumentException' with message 'The hintName 'Views/Billing/Dashboard_cshtml.g.cs' of the added source file must be unique within a generator. (Parameter 'hintName')'.
System.ArgumentException: The hintName 'Views/Billing/Dashboard_cshtml.g.cs' of the added source file must be unique within a generator. (Parameter 'hintName')
   at Microsoft.CodeAnalysis.AdditionalSourcesCollection.Add(String hintName, SourceText source) in /_/src/Compilers/Core/Portable/SourceGeneration/AdditionalSourcesCollection.cs:line 78
   at Microsoft.CodeAnalysis.SourceOutputNode`1.AppendOutputs(IncrementalExecutionContext context, CancellationToken cancellationToken) in /_/src/Compilers/Core/Portable/SourceGeneration/Nodes/SourceOutputNode.cs:line 113
-----

  Code: -32000 
[object Object]
2026-05-19 15:36:24.858 [error] Request textDocument/codeAction failed.
  Message: Razor source generator did not produce a host output for project 'AgencyOS': warning CS8785: Generator 'RazorSourceGenerator' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. Exception was of type 'ArgumentException' with message 'The hintName 'Views/Billing/Dashboard_cshtml.g.cs' of the added source file must be unique within a generator. (Parameter 'hintName')'.
System.ArgumentException: The hintName 'Views/Billing/Dashboard_cshtml.g.cs' of the added source file must be unique within a generator. (Parameter 'hintName')
   at Microsoft.CodeAnalysis.AdditionalSourcesCollection.Add(String hintName, SourceText source) in /_/src/Compilers/Core/Portable/SourceGeneration/AdditionalSourcesCollection.cs:line 78
   at Microsoft.CodeAnalysis.SourceOutputNode`1.AppendOutputs(IncrementalExecutionContext context, CancellationToken cancellationToken) in /_/src/Compilers/Core/Portable/SourceGeneration/Nodes/SourceOutputNode.cs:line 113
-----

  Code: -32000 
[object Object]
2026-05-19 15:36:24.859 [error] Request textDocument/inlayHint failed.
  Message: Razor source generator did not produce a host output for project 'AgencyOS': warning CS8785: Generator 'RazorSourceGenerator' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. Exception was of type 'ArgumentException' with message 'The hintName 'Views/Billing/Dashboard_cshtml.g.cs' of the added source file must be unique within a generator. (Parameter 'hintName')'.
System.ArgumentException: The hintName 'Views/Billing/Dashboard_cshtml.g.cs' of the added source file must be unique within a generator. (Parameter 'hintName')
   at Microsoft.CodeAnalysis.AdditionalSourcesCollection.Add(String hintName, SourceText source) in /_/src/Compilers/Core/Portable/SourceGeneration/AdditionalSourcesCollection.cs:line 78
   at Microsoft.CodeAnalysis.SourceOutputNode`1.AppendOutputs(IncrementalExecutionContext context, CancellationToken cancellationToken) in /_/src/Compilers/Core/Portable/SourceGeneration/Nodes/SourceOutputNode.cs:line 113
-----

  Code: -32000 
[object Object]
2026-05-19 15:36:24.945 [error] Request textDocument/inlayHint failed.
  Message: Razor source generator did not produce a host output for project 'AgencyOS': warning CS8785: Generator 'RazorSourceGenerator' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. Exception was of type 'ArgumentException' with message 'The hintName 'Views/Billing/Dashboard_cshtml.g.cs' of the added source file must be unique within a generator. (Parameter 'hintName')'.
System.ArgumentException: The hintName 'Views/Billing/Dashboard_cshtml.g.cs' of the added source file must be unique within a generator. (Parameter 'hintName')
   at Microsoft.CodeAnalysis.AdditionalSourcesCollection.Add(String hintName, SourceText source) in /_/src/Compilers/Core/Portable/SourceGeneration/AdditionalSourcesCollection.cs:line 78
   at Microsoft.CodeAnalysis.SourceOutputNode`1.AppendOutputs(IncrementalExecutionContext context, CancellationToken cancellationToken) in /_/src/Compilers/Core/Portable/SourceGeneration/Nodes/SourceOutputNode.cs:line 113
-----

  Code: -32000 
[object Object]
2026-05-19 15:36:24.949 [error] Request textDocument/codeAction failed.
  Message: Razor source generator did not produce a host output for project 'AgencyOS': warning CS8785: Generator 'RazorSourceGenerator' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. Exception was of type 'ArgumentException' with message 'The hintName 'Views/Billing/Dashboard_cshtml.g.cs' of the added source file must be unique within a generator. (Parameter 'hintName')'.
System.ArgumentException: The hintName 'Views/Billing/Dashboard_cshtml.g.cs' of the added source file must be unique within a generator. (Parameter 'hintName')
   at Microsoft.CodeAnalysis.AdditionalSourcesCollection.Add(String hintName, SourceText source) in /_/src/Compilers/Core/Portable/SourceGeneration/AdditionalSourcesCollection.cs:line 78
   at Microsoft.CodeAnalysis.SourceOutputNode`1.AppendOutputs(IncrementalExecutionContext context, CancellationToken cancellationToken) in /_/src/Compilers/Core/Portable/SourceGeneration/Nodes/SourceOutputNode.cs:line 113
-----

  Code: -32000 
[object Object]
2026-05-19 15:36:24.986 [error] Request textDocument/semanticTokens/range failed.
  Message: Razor source generator did not produce a host output for project 'AgencyOS': warning CS8785: Generator 'RazorSourceGenerator' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. Exception was of type 'ArgumentException' with message 'The hintName 'Views/Billing/Dashboard_cshtml.g.cs' of the added source file must be unique within a generator. (Parameter 'hintName')'.
System.ArgumentException: The hintName 'Views/Billing/Dashboard_cshtml.g.cs' of the added source file must be unique within a generator. (Parameter 'hintName')
   at Microsoft.CodeAnalysis.AdditionalSourcesCollection.Add(String hintName, SourceText source) in /_/src/Compilers/Core/Portable/SourceGeneration/AdditionalSourcesCollection.cs:line 78
   at Microsoft.CodeAnalysis.SourceOutputNode`1.AppendOutputs(IncrementalExecutionContext context, CancellationToken cancellationToken) in /_/src/Compilers/Core/Portable/SourceGeneration/Nodes/SourceOutputNode.cs:line 113
-----

  Code: -32000 
[object Object]
2026-05-19 15:36:25.086 [error] Request textDocument/codeLens failed.
  Message: Razor source generator did not produce a host output for project 'AgencyOS': warning CS8785: Generator 'RazorSourceGenerator' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. Exception was of type 'ArgumentException' with message 'The hintName 'Views/Billing/Dashboard_cshtml.g.cs' of the added source file must be unique within a generator. (Parameter 'hintName')'.
System.ArgumentException: The hintName 'Views/Billing/Dashboard_cshtml.g.cs' of the added source file must be unique within a generator. (Parameter 'hintName')
   at Microsoft.CodeAnalysis.AdditionalSourcesCollection.Add(String hintName, SourceText source) in /_/src/Compilers/Core/Portable/SourceGeneration/AdditionalSourcesCollection.cs:line 78
   at Microsoft.CodeAnalysis.SourceOutputNode`1.AppendOutputs(IncrementalExecutionContext context, CancellationToken cancellationToken) in /_/src/Compilers/Core/Portable/SourceGeneration/Nodes/SourceOutputNode.cs:line 113
-----

  Code: -32000 
[object Object]
2026-05-19 15:36:25.147 [error] Request textDocument/documentSymbol failed.
  Message: Razor source generator did not produce a host output for project 'AgencyOS': warning CS8785: Generator 'RazorSourceGenerator' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. Exception was of type 'ArgumentException' with message 'The hintName 'Views/Billing/Dashboard_cshtml.g.cs' of the added source file must be unique within a generator. (Parameter 'hintName')'.
System.ArgumentException: The hintName 'Views/Billing/Dashboard_cshtml.g.cs' of the added source file must be unique within a generator. (Parameter 'hintName')
   at Microsoft.CodeAnalysis.AdditionalSourcesCollection.Add(String hintName, SourceText source) in /_/src/Compilers/Core/Portable/SourceGeneration/AdditionalSourcesCollection.cs:line 78
   at Microsoft.CodeAnalysis.SourceOutputNode`1.AppendOutputs(IncrementalExecutionContext context, CancellationToken cancellationToken) in /_/src/Compilers/Core/Portable/SourceGeneration/Nodes/SourceOutputNode.cs:line 113
-----

  Code: -32000 
[object Object]
2026-05-19 15:36:26.958 [error] Request textDocument/semanticTokens/range failed.
  Message: Razor source generator did not produce a host output for project 'AgencyOS': warning CS8785: Generator 'RazorSourceGenerator' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. Exception was of type 'ArgumentException' with message 'The hintName 'Views/Billing/Dashboard_cshtml.g.cs' of the added source file must be unique within a generator. (Parameter 'hintName')'.
System.ArgumentException: The hintName 'Views/Billing/Dashboard_cshtml.g.cs' of the added source file must be unique within a generator. (Parameter 'hintName')
   at Microsoft.CodeAnalysis.AdditionalSourcesCollection.Add(String hintName, SourceText source) in /_/src/Compilers/Core/Portable/SourceGeneration/AdditionalSourcesCollection.cs:line 78
   at Microsoft.CodeAnalysis.SourceOutputNode`1.AppendOutputs(IncrementalExecutionContext context, CancellationToken cancellationToken) in /_/src/Compilers/Core/Portable/SourceGeneration/Nodes/SourceOutputNode.cs:line 113
-----

  Code: -32000 
[object Object]
2026-05-19 15:36:27.103 [error] Request textDocument/codeLens failed.
  Message: Razor source generator did not produce a host output for project 'AgencyOS': warning CS8785: Generator 'RazorSourceGenerator' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. Exception was of type 'ArgumentException' with message 'The hintName 'Views/Billing/Dashboard_cshtml.g.cs' of the added source file must be unique within a generator. (Parameter 'hintName')'.
System.ArgumentException: The hintName 'Views/Billing/Dashboard_cshtml.g.cs' of the added source file must be unique within a generator. (Parameter 'hintName')
   at Microsoft.CodeAnalysis.AdditionalSourcesCollection.Add(String hintName, SourceText source) in /_/src/Compilers/Core/Portable/SourceGeneration/AdditionalSourcesCollection.cs:line 78
   at Microsoft.CodeAnalysis.SourceOutputNode`1.AppendOutputs(IncrementalExecutionContext context, CancellationToken cancellationToken) in /_/src/Compilers/Core/Portable/SourceGeneration/Nodes/SourceOutputNode.cs:line 113
-----

  Code: -32000 
[object Object]
2026-05-19 15:36:38.648 [error] Request textDocument/codeAction failed.
  Message: Razor source generator did not produce a host output for project 'AgencyOS': warning CS8785: Generator 'RazorSourceGenerator' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. Exception was of type 'ArgumentException' with message 'The hintName 'Views/Billing/Dashboard_cshtml.g.cs' of the added source file must be unique within a generator. (Parameter 'hintName')'.
System.ArgumentException: The hintName 'Views/Billing/Dashboard_cshtml.g.cs' of the added source file must be unique within a generator. (Parameter 'hintName')
   at Microsoft.CodeAnalysis.AdditionalSourcesCollection.Add(String hintName, SourceText source) in /_/src/Compilers/Core/Portable/SourceGeneration/AdditionalSourcesCollection.cs:line 78
   at Microsoft.CodeAnalysis.SourceOutputNode`1.AppendOutputs(IncrementalExecutionContext context, CancellationToken cancellationToken) in /_/src/Compilers/Core/Portable/SourceGeneration/Nodes/SourceOutputNode.cs:line 113
-----

  Code: -32000 
[object Object]
2026-05-19 15:36:38.814 [error] Request textDocument/codeLens failed.
  Message: Razor source generator did not produce a host output for project 'AgencyOS': warning CS8785: Generator 'RazorSourceGenerator' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. Exception was of type 'ArgumentException' with message 'The hintName 'Views/Billing/Dashboard_cshtml.g.cs' of the added source file must be unique within a generator. (Parameter 'hintName')'.
System.ArgumentException: The hintName 'Views/Billing/Dashboard_cshtml.g.cs' of the added source file must be unique within a generator. (Parameter 'hintName')
   at Microsoft.CodeAnalysis.AdditionalSourcesCollection.Add(String hintName, SourceText source) in /_/src/Compilers/Core/Portable/SourceGeneration/AdditionalSourcesCollection.cs:line 78
   at Microsoft.CodeAnalysis.SourceOutputNode`1.AppendOutputs(IncrementalExecutionContext context, CancellationToken cancellationToken) in /_/src/Compilers/Core/Portable/SourceGeneration/Nodes/SourceOutputNode.cs:line 113
-----

  Code: -32000 
[object Object]
2026-05-19 15:36:38.816 [error] Request textDocument/codeAction failed.
  Message: Razor source generator did not produce a host output for project 'AgencyOS': warning CS8785: Generator 'RazorSourceGenerator' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. Exception was of type 'ArgumentException' with message 'The hintName 'Views/Billing/Dashboard_cshtml.g.cs' of the added source file must be unique within a generator. (Parameter 'hintName')'.
System.ArgumentException: The hintName 'Views/Billing/Dashboard_cshtml.g.cs' of the added source file must be unique within a generator. (Parameter 'hintName')
   at Microsoft.CodeAnalysis.AdditionalSourcesCollection.Add(String hintName, SourceText source) in /_/src/Compilers/Core/Portable/SourceGeneration/AdditionalSourcesCollection.cs:line 78
   at Microsoft.CodeAnalysis.SourceOutputNode`1.AppendOutputs(IncrementalExecutionContext context, CancellationToken cancellationToken) in /_/src/Compilers/Core/Portable/SourceGeneration/Nodes/SourceOutputNode.cs:line 113
-----

  Code: -32000 
[object Object]

C# LSP Trace Logs log

Details

Environment Information

VSCode version: 1.115.0
C# Extension: 2.140.8
Using OmniSharp: false

Dotnet Information

Host:
Version: 10.0.5
Architecture: x64
Commit: a612c2a105
RID: win-x64

.NET SDKs installed:
No SDKs were found.

.NET runtimes installed:
Microsoft.AspNetCore.App 10.0.5 [c:\Users\ssambaraju\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime.dotnet\10.0.5x64aspnetcore\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 10.0.5 [c:\Users\ssambaraju\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime.dotnet\10.0.5x64aspnetcore\shared\Microsoft.NETCore.App]

Other architectures found:
x86 [C:\Program Files (x86)\dotnet]
registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]

Environment variables:
DOTNET_CLI_UI_LANGUAGE [en-US]
DOTNET_MULTILEVEL_LOOKUP [0]
DOTNET_NOLOGO [true]

global.json file:
Not found

Learn more:
https://aka.ms/dotnet/info

Download .NET:
https://aka.ms/dotnet/download

Visual Studio Code Extensions
Extension Author Version Folder Name
claude-code Anthropic 2.1.143 anthropic.claude-code-2.1.143-win32-x64
copilot-chat GitHub 0.43.0 github.copilot-chat-0.43.0
csdevkit ms-dotnettools 3.20.197 ms-dotnettools.csdevkit-3.20.197-win32-x64
csharp ms-dotnettools 2.140.8 ms-dotnettools.csharp-2.140.8-win32-x64
debugpy ms-python 2026.6.0 ms-python.debugpy-2026.6.0-win32-x64
python ms-python 2026.4.0 ms-python.python-2026.4.0-win32-x64
vscode-dotnet-runtime ms-dotnettools 3.0.2 ms-dotnettools.vscode-dotnet-runtime-3.0.2
vscode-pylance ms-python 2026.2.1 ms-python.vscode-pylance-2026.2.1
vscode-python-envs ms-python 1.30.0 ms-python.vscode-python-envs-1.30.0-win32-x64
C# Settings
Setting Value
preferCSharpExtension false
compilerDiagnosticScope openFiles
analyzerDiagnosticScope openFiles
enableXamlTools true
useServerGC true
System Info
Item Value
CPUs 12th Gen Intel(R) Core(TM) i7-12700H (20 x 2688)
GPU Status 2d_canvas: enabled
GPU0: VENDOR= 0x8086, DEVICE=0x46a6 [Intel(R) Iris(R) Xe Graphics], DRIVER_VENDOR=Intel, DRIVER_VERSION=32.0.101.7084 ACTIVE
GPU1: VENDOR= 0x10de, DEVICE=0x25b9 [NVIDIA RTX A1000 Laptop GPU], DRIVER_VERSION=32.0.15.8195
GPU2: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.8246
Machine model name:
Machine model version:
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 31.68GB (7.61GB free)
Process Argv --crash-reporter-id 0140ed62-ee1b-492f-8c8d-e157ba66a1ca
Screen Reader no
VM 0%
A/B Experiments
vsliv368cf:30146710
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
4f60g487:31327383
63221493:31336333
envsdeactivate2:31505458
cloudbuttont:31379625
42190218_ostrepl:31403339
ddidtcf:31399634
ec5jj548:31422691
cp_cls_t_966_ss:31454198
4je02754:31466945
8hhj4413:31478653
38bie571_auto:31426784
cp_cls_c_1081:31454833
conptydll_true:31498968
ia-use-proxy-models-svc:31452481
e9c30283:31461165
test_treatment2:31471001
idci7584:31464702
e3e4d672:31494082
ei9d7968:31496641
chat:31457767
8hig5102:31480529
7e187181:31503455
i2gc6536:31499202
52612955:31516516
ghj88844:31499326
h08i8180:31475369
ddid_t:31478206
getcmakediagnosticson:31489824
cp_cls_t_1082:31516087
logging_enabled_new:31498466
j0d79568:31499440
jb_cp_cls_c_632:31510883
852d2892:31506239
748c7209:31512887
ha629193:31508444

Metadata

Metadata

Assignees

No one assigned

    Labels

    C#DKThe C#DK extension is installeduntriaged

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions