jwu
September 23, 2025, 2:04pm
1
I installed the NuGet.
I have followed the GettingStarted to the dot:
I have confirm the .csproj has been updated
_Imports.razor has the two imports
I did not setup the Theme...because no matter which option I tried, I get an error.
Append the script reference in the App.razor.
<script src="_content/Radzen.Blazor/Radzen.Blazor.js?v=@(typeof(Radzen.Colors).Assembly.GetName().Version)"></script>
The issue is _content\Radzen.Blazor.js is nowhere to be found. I've tried the setup on a couple of projects, but no luck.
Can anyone help?
korchev
September 23, 2025, 3:00pm
2
What kind of application are you trying with (target framework, rendering mode etc.).
What error did you get for the theme?
Radzen.Blazor.js is embedded in the Radzen.Blazor package and requires web assets to work. Some related info is available in this thread: [NET 8]_content not created
1 Like
jwu
September 23, 2025, 6:27pm
3
hi, Korchev...it's been awhile since we last spoke...thanks for the quick reply.
It's a server-app (not web assembly).
You suggestion + app.UseStaticFiles() helped! (Now I am baffled why I couldn't find that article when I did the search )
As always, thank you!