- Local time
- Today, 07:39
- Joined
- Jul 9, 2003
- Messages
- 17,448
I Said (uncle gizmo)
I am currently testing the idea of moving the Northwind database into Blazor.... I have had a terrible time !!! wasted many hours possibly days !!!! and only just now discovered the problem !!! it is well worth knowing this for anyone running into a brick wall with large language models !!!
After many round robin experiences with different levels of chatGPT's the various models --- I got the hump and posted the following message :-
Visual Studio code terminal report
Time Elapsed 00:00:14.28
PS C:\AI\MSAccessAI\Blazor\VirginBlazor> dotnet run
Building...
C:\AI\MSAccessAI\Blazor\VirginBlazor\obj\Debug\net8.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Components_Pages_Cust
omerForm_razor.g.cs(235,101): error CS0103: The name 'interactiveServer' does not exist in the current context [C:\AI\MSAccessAI\Blazor\VirginBlazor\VirginBlazor.csproj]
The build failed. Fix the build errors and run again.
PS C:\AI\MSAccessAI\Blazor\VirginBlazor>
I Said (uncle gizmo)
I am switching up to the more advanced large language model in the hope that it might be able to locate the problem ....
However, depending on the answer reported from the large language model I may decide to move to another large language model for a second opinion --- I don't believe this project can be completed --- I don't know why it cannot be completed --- my guess is that blazor is very new and the information you are reading from the internet about it is confused and not mature hence the problems ....
The most respectful thing you can do (CHATTY) is to instead of saying that I am complaining ... as I have every right to do.... you should give me a positive instruction, even if that means that you should suggest that I should not continue with this project because of the failures that appear to have no identifiable root.....
After my somewhat peeved message chatty had a brainwave !!!
Chatty Said:-
Thought for 4 seconds
This is the hidden Thought process:-
>>>>>>
I need to empathize and make sure I thoroughly analyze the issue. Their .NET 8 Blazor interactiveServer directive isn't working, possibly because they missed the required Microsoft.AspNetCore.Components.Web package or an update to the VS preview. The compile error might result from missing RazorLangVersion in the csproj file or an incomplete setup for the interactiveServer directive. I'll double-check the documentation and make sure all dependencies <<<<<<
and then chatty Saw The Light !!!
Chatty Said:-
I finally see the source of the “endless circle” — and it’s a tiny, sneaky typo that turns into the
“ interactiveServer does not exist ” compiler error.
What’s actually wrong
The @rendermode directive is case-sensitive:
correct ------------------------- will not compile
@rendermode InteractiveServer @rendermode interactiveServer
Because the generated C# tries to reference an identifier named interactiveServer (lower-case i) it fails to find a symbol and the whole build blows up.
Uncle Gizmo said
the error was effectively a typo --- and seeing as I haven't typed anything it's all been done by the large language model ---- the lesson is that large language models can fall foul of typos ---- or I would guess more correctly is the large language model found someone's code on the internet and apply it with it containing a "typo"!!!
This suggests an instruction you should give the large language model, when it become stuck and Returns circular answers - and that is to ask it if the language you are working in is case sensitive and if any of the terms are required to be in a particular case structure/format like camel case...
I am currently testing the idea of moving the Northwind database into Blazor.... I have had a terrible time !!! wasted many hours possibly days !!!! and only just now discovered the problem !!! it is well worth knowing this for anyone running into a brick wall with large language models !!!
After many round robin experiences with different levels of chatGPT's the various models --- I got the hump and posted the following message :-
Visual Studio code terminal report
Time Elapsed 00:00:14.28
PS C:\AI\MSAccessAI\Blazor\VirginBlazor> dotnet run
Building...
C:\AI\MSAccessAI\Blazor\VirginBlazor\obj\Debug\net8.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Components_Pages_Cust
omerForm_razor.g.cs(235,101): error CS0103: The name 'interactiveServer' does not exist in the current context [C:\AI\MSAccessAI\Blazor\VirginBlazor\VirginBlazor.csproj]
The build failed. Fix the build errors and run again.
PS C:\AI\MSAccessAI\Blazor\VirginBlazor>
I Said (uncle gizmo)
I am switching up to the more advanced large language model in the hope that it might be able to locate the problem ....
However, depending on the answer reported from the large language model I may decide to move to another large language model for a second opinion --- I don't believe this project can be completed --- I don't know why it cannot be completed --- my guess is that blazor is very new and the information you are reading from the internet about it is confused and not mature hence the problems ....
The most respectful thing you can do (CHATTY) is to instead of saying that I am complaining ... as I have every right to do.... you should give me a positive instruction, even if that means that you should suggest that I should not continue with this project because of the failures that appear to have no identifiable root.....
After my somewhat peeved message chatty had a brainwave !!!
Chatty Said:-
Thought for 4 seconds
This is the hidden Thought process:-
>>>>>>
I need to empathize and make sure I thoroughly analyze the issue. Their .NET 8 Blazor interactiveServer directive isn't working, possibly because they missed the required Microsoft.AspNetCore.Components.Web package or an update to the VS preview. The compile error might result from missing RazorLangVersion in the csproj file or an incomplete setup for the interactiveServer directive. I'll double-check the documentation and make sure all dependencies <<<<<<
and then chatty Saw The Light !!!
Chatty Said:-
I finally see the source of the “endless circle” — and it’s a tiny, sneaky typo that turns into the
“ interactiveServer does not exist ” compiler error.
What’s actually wrong
The @rendermode directive is case-sensitive:
correct ------------------------- will not compile
@rendermode InteractiveServer @rendermode interactiveServer
Because the generated C# tries to reference an identifier named interactiveServer (lower-case i) it fails to find a symbol and the whole build blows up.
Uncle Gizmo said
the error was effectively a typo --- and seeing as I haven't typed anything it's all been done by the large language model ---- the lesson is that large language models can fall foul of typos ---- or I would guess more correctly is the large language model found someone's code on the internet and apply it with it containing a "typo"!!!
This suggests an instruction you should give the large language model, when it become stuck and Returns circular answers - and that is to ask it if the language you are working in is case sensitive and if any of the terms are required to be in a particular case structure/format like camel case...