Trying to install the components using the "Get Started" instructions.
My project is a Blazor Server App. I updated the solution with the instructions for all 6 steps and tried to build it. Below is the first failure I received.
step1 seemed to work fine
step 2 worked
step 3 failed
----- Step 3 instructions
3. Set the themelink
Open the App.razor
file of your application. Add this code within the <head>
element:
<RadzenTheme Theme="material" @rendermode="InteractiveAuto" />
My app.razor file didn't have a head element so I added:
head>
RadzenTheme Theme="material" @rendermode="InteractiveAuto" />
/head>
to the front of the file as the first 3 lines. (I removed the < char so it would display)
Later I got this error message when I tried to build my project:
Severity | Code | Description | Project | File | Line | Suppression State |
---|---|---|---|---|---|---|
Error (active) | CS0103 | The name 'InteractiveAuto' does not exist in the current context | Traffic Pgm (Blazor) | K:\Visual Studio 2022\Projects\Projects Traffic\Traffic Pgm (Blazor)\Traffic Pgm (Blazor)\App.razor | 2 |
Later in step 6 the compiler again complained about "InteractiveAuto"