# New generated project failed to build

**URL:** <https://forum.radzen.com/t/new-generated-project-failed-to-build/21670>\
**Category:** Radzen Blazor Studio\
**Created:** [August 18, 2026, 1:03pm UTC](https://forum.radzen.com/t/new-generated-project-failed-to-build/21670 "2026-08-18T13:03:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![weismantelf](https://forum.radzen.com/letter_avatar_proxy/v4/letter/w/9dc877/32.png) [@weismantelf](https://forum.radzen.com/u/weismantelf)\
**Post date:** [August 18, 2026, 1:03pm UTC](https://forum.radzen.com/t/new-generated-project-failed-to-build/21670/1 "2026-08-18T13:03:18Z")

</div>

Hello,  
I am using the latest version of Radzen Studio V.1.70.5. I only created a blank server site application. When trying to run this app. I getting the following errors:

> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\CCom.AlarmMonitor.csproj : error NU1008: The following PackageReference items cannot define a value for Version: Radzen.Blazor. Projects using Central Package Management must define a Version value on a PackageVersion item. For more information, visit [Central Package Management | Microsoft Learn](https://aka.ms/nuget/cpm/gettingstarted)
> 
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Layout\MainLayout.razor.cs(11,14): error CS0234: The type or namespace name 'Blazor' does not exist in the namespace 'Radzen' (are you missing an assembly reference?)  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Pages\Index.razor.cs(11,14): error CS0234: The type or namespace name 'Blazor' does not exist in the namespace 'Radzen' (are you missing an assembly reference?)  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\_Imports.razor(10,15): error CS0234: The type or namespace name 'Blazor' does not exist in the namespace 'Radzen' (are you missing an assembly reference?)  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\App.razor(30,13): error CS0246: The type or namespace name 'ThemeService' could not be found (are you missing a using directive or an assembly reference?)  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Pages\Index.razor.cs(24,19): error CS0246: The type or namespace name 'DialogService' could not be found (are you missing a using directive or an assembly reference?)  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Layout\MainLayout.razor.cs(24,19): error CS0246: The type or namespace name 'DialogService' could not be found (are you missing a using directive or an assembly reference?)  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Layout\MainLayout.razor.cs(27,19): error CS0246: The type or namespace name 'TooltipService' could not be found (are you missing a using directive or an assembly reference?)  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Pages\Index.razor.cs(27,19): error CS0246: The type or namespace name 'TooltipService' could not be found (are you missing a using directive or an assembly reference?)  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Layout\MainLayout.razor.cs(30,19): error CS0246: The type or namespace name 'ContextMenuService' could not be found (are you missing a using directive or an assembly reference?)  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Pages\Index.razor.cs(30,19): error CS0246: The type or namespace name 'ContextMenuService' could not be found (are you missing a using directive or an assembly reference?)  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Layout\MainLayout.razor.cs(33,19): error CS0246: The type or namespace name 'NotificationService' could not be found (are you missing a using directive or an assembly reference?)  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Pages\Index.razor.cs(33,19): error CS0246: The type or namespace name 'NotificationService' could not be found (are you missing a using directive or an assembly reference?)  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Layout\MainLayout.razor(2,9): error CS0246: The type or namespace name 'CookieThemeService' could not be found (are you missing a using directive or an assembly reference?)  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Program.cs(45,18): error CS1061: 'IServiceCollection' does not contain a definition for 'AddRadzenComponents' and no accessible extension method 'AddRadzenComponents' accepting a first argument of type 'IServiceCollection' could be found (are you missing a using directive or an assembly reference?)  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Program.cs(46,18): error CS1061: 'IServiceCollection' does not contain a definition for 'AddRadzenCookieThemeService' and no accessible extension method 'AddRadzenCookieThemeService' accepting a first argument of type 'IServiceCollection' could be found (are you missing a using directive or an assembly reference?)  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\App.razor(20,76): error CS0234: The type or namespace name 'Colors' does not exist in the namespace 'Radzen' (are you missing an assembly reference?)  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Program.cs(8,18): error CS1061: 'IServiceCollection' does not contain a definition for 'AddRadzenComponents' and no accessible extension method 'AddRadzenComponents' accepting a first argument of type 'IServiceCollection' could be found (are you missing a using directive or an assembly reference?)  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Program.cs(9,18): error CS1061: 'IServiceCollection' does not contain a definition for 'AddRadzenCookieThemeService' and no accessible extension method 'AddRadzenCookieThemeService' accepting a first argument of type 'IServiceCollection' could be found (are you missing a using directive or an assembly reference?)  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\App.razor(42,30): error CS1061: 'ThemeService' does not contain a definition for 'SetTheme' and no accessible extension method 'SetTheme' accepting a first argument of type 'ThemeService' could be found (are you missing a using directive or an assembly reference?)  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\App.razor(27,25): error CS8618: Non-nullable property 'HttpContext' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Layout\MainLayout.razor.cs(18,30): error CS8618: Non-nullable property 'JSRuntime' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Layout\MainLayout.razor.cs(21,37): error CS8618: Non-nullable property 'NavigationManager' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Pages\Index.razor.cs(18,30): error CS8618: Non-nullable property 'JSRuntime' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Pages\Index.razor.cs(21,37): error CS8618: Non-nullable property 'NavigationManager' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Controllers\ReportController.cs(103,100): error CS8601: Possible null reference assignment.
> 
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Pages\Index.razor.cs(18,30): error CS8618: Non-nullable property 'JSRuntime' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\CCom.AlarmMonitor.csproj]  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Pages\Index.razor.cs(21,37): error CS8618: Non-nullable property 'NavigationManager' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\CCom.AlarmMonitor.csproj]  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Pages\Index.razor.cs(24,33): error CS8618: Non-nullable property 'DialogService' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\CCom.AlarmMonitor.csproj]  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Pages\Index.razor.cs(27,34): error CS8618: Non-nullable property 'TooltipService' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\CCom.AlarmMonitor.csproj]  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Pages\Index.razor.cs(30,38): error CS8618: Non-nullable property 'ContextMenuService' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\CCom.AlarmMonitor.csproj]  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Pages\Index.razor.cs(33,39): error CS8618: Non-nullable property 'NotificationService' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\CCom.AlarmMonitor.csproj]  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\App.razor(27,25): error CS8618: Non-nullable property 'HttpContext' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\CCom.AlarmMonitor.csproj]  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\App.razor(30,26): error CS8618: Non-nullable property 'ThemeService' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\CCom.AlarmMonitor.csproj]  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Layout\MainLayout.razor.cs(18,30): error CS8618: Non-nullable property 'JSRuntime' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\CCom.AlarmMonitor.csproj]  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Layout\MainLayout.razor.cs(21,37): error CS8618: Non-nullable property 'NavigationManager' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\CCom.AlarmMonitor.csproj]  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Layout\MainLayout.razor.cs(24,33): error CS8618: Non-nullable property 'DialogService' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\CCom.AlarmMonitor.csproj]  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Layout\MainLayout.razor.cs(27,34): error CS8618: Non-nullable property 'TooltipService' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\CCom.AlarmMonitor.csproj]  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Layout\MainLayout.razor.cs(30,38): error CS8618: Non-nullable property 'ContextMenuService' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\CCom.AlarmMonitor.csproj]  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Layout\MainLayout.razor.cs(33,39): error CS8618: Non-nullable property 'NotificationService' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\CCom.AlarmMonitor.csproj]  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Controllers\ReportController.cs(103,100): error CS8601: Possible null reference assignment. [C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\CCom.AlarmMonitor.csproj]
> 
> Build FAILED.
> 
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Pages\Index.razor.cs(18,30): error CS8618: Non-nullable property 'JSRuntime' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\CCom.AlarmMonitor.csproj]  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Pages\Index.razor.cs(21,37): error CS8618: Non-nullable property 'NavigationManager' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\CCom.AlarmMonitor.csproj]  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Pages\Index.razor.cs(24,33): error CS8618: Non-nullable property 'DialogService' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\CCom.AlarmMonitor.csproj]  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Pages\Index.razor.cs(27,34): error CS8618: Non-nullable property 'TooltipService' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\CCom.AlarmMonitor.csproj]  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Pages\Index.razor.cs(30,38): error CS8618: Non-nullable property 'ContextMenuService' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\CCom.AlarmMonitor.csproj]  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Pages\Index.razor.cs(33,39): error CS8618: Non-nullable property 'NotificationService' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\CCom.AlarmMonitor.csproj]  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\App.razor(27,25): error CS8618: Non-nullable property 'HttpContext' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\CCom.AlarmMonitor.csproj]  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\App.razor(30,26): error CS8618: Non-nullable property 'ThemeService' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\CCom.AlarmMonitor.csproj]  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Layout\MainLayout.razor.cs(18,30): error CS8618: Non-nullable property 'JSRuntime' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\CCom.AlarmMonitor.csproj]  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Layout\MainLayout.razor.cs(21,37): error CS8618: Non-nullable property 'NavigationManager' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\CCom.AlarmMonitor.csproj]  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Layout\MainLayout.razor.cs(24,33): error CS8618: Non-nullable property 'DialogService' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\CCom.AlarmMonitor.csproj]  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Layout\MainLayout.razor.cs(27,34): error CS8618: Non-nullable property 'TooltipService' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\CCom.AlarmMonitor.csproj]  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Layout\MainLayout.razor.cs(30,38): error CS8618: Non-nullable property 'ContextMenuService' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\CCom.AlarmMonitor.csproj]  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Layout\MainLayout.razor.cs(33,39): error CS8618: Non-nullable property 'NotificationService' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\CCom.AlarmMonitor.csproj]  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Controllers\ReportController.cs(103,100): error CS8601: Possible null reference assignment. [C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\CCom.AlarmMonitor.csproj]  
> 0 Warning(s)  
> 15 Error(s)
> 
> Time Elapsed 00:00:03.15
> 
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\App.razor(27,25): error CS8618: Non-nullable property 'HttpContext' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\App.razor(30,26): error CS8618: Non-nullable property 'ThemeService' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Pages\Index.razor.cs(18,30): error CS8618: Non-nullable property 'JSRuntime' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Pages\Index.razor.cs(21,37): error CS8618: Non-nullable property 'NavigationManager' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Pages\Index.razor.cs(24,33): error CS8618: Non-nullable property 'DialogService' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Pages\Index.razor.cs(27,34): error CS8618: Non-nullable property 'TooltipService' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Pages\Index.razor.cs(30,38): error CS8618: Non-nullable property 'ContextMenuService' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Pages\Index.razor.cs(33,39): error CS8618: Non-nullable property 'NotificationService' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Layout\MainLayout.razor.cs(18,30): error CS8618: Non-nullable property 'JSRuntime' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Layout\MainLayout.razor.cs(21,37): error CS8618: Non-nullable property 'NavigationManager' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Layout\MainLayout.razor.cs(24,33): error CS8618: Non-nullable property 'DialogService' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Layout\MainLayout.razor.cs(27,34): error CS8618: Non-nullable property 'TooltipService' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Layout\MainLayout.razor.cs(30,38): error CS8618: Non-nullable property 'ContextMenuService' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.  
> C:\Develop\KI\projects\ccom.comserver\src\CCom.AlarmMonitor\Components\Layout\MainLayout.razor.cs(33,39): error CS8618: Non-nullable property 'NotificationService' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.

I was then fixing this with Claude AI. The AI makes the following fixes:

> `CCom.AlarmMonitor` now builds clean. Fixed three issues:
> 
> 1. **`CCom.AlarmMonitor.csproj`** — removed `Version="*"` from the `Radzen.Blazor` `PackageReference` (Central Package Management forbids per-project versions; the version is already centrally pinned to 11.2.3 in `Directory.Packages.props`).
> 
> 2. **`App.razor`, `MainLayout.razor.cs`, `Index.razor.cs`** — `[Inject]`/`[CascadingParameter]` properties lacked nullable initializers, which fails under this repo's `Nullable enable` + `TreatWarningsAsErrors`. (`required` for `App.razor`, `= default!;` for code-behind).
> 
> 3. **`Controllers/ReportController.cs:103`** — `header.Value` (a `StringValues`) implicitly converts to nullable `string?`, which failed CS8601 when boxed into a `string[]`. Matched the fix already present in the sibling `TestRadzen` project by calling `.ToString()`.

When generating a new app, there should be no error at all.

---

<div class="post-metadata">

**Author:** ![korchev](https://forum.radzen.com/user_avatar/forum.radzen.com/korchev/32/4_2.png) [@korchev](https://forum.radzen.com/u/korchev)\
**Post date:** [August 18, 2026, 2:02pm UTC](https://forum.radzen.com/t/new-generated-project-failed-to-build/21670/2 "2026-08-18T14:02:50Z")

</div>

Hi @weismantelf,

Normally there is no error when generating a new application with Radzen Blazor Studio. This is probably what caused the problem at your side:

> [@weismantelf](#):
>
> `` (Central Package Management forbids per-project versions; the version is already centrally pinned to 11.2.3 in `Directory.Packages.props`).

---

<div class="post-metadata">

**Author:** ![weismantelf](https://forum.radzen.com/letter_avatar_proxy/v4/letter/w/9dc877/32.png) [@weismantelf](https://forum.radzen.com/u/weismantelf)\
**Post date:** [August 18, 2026, 2:23pm UTC](https://forum.radzen.com/t/new-generated-project-failed-to-build/21670/3 "2026-08-18T14:23:09Z")

</div>

How can this be? I start Radzen Studio and click on create application and follow the the steps  
to create a new server side blazor app in an empty directory. So this should normally work.

So on my machine is only .net 10 SDK installed. Can it be that some parts of radzen studio is  
referencing old frameworks?

I just want to mention that on the PC is the brand new community edition of VS2026 installed.

---

<div class="post-metadata">

**Author:** ![korchev](https://forum.radzen.com/user_avatar/forum.radzen.com/korchev/32/4_2.png) [@korchev](https://forum.radzen.com/u/korchev)\
**Post date:** [August 18, 2026, 3:00pm UTC](https://forum.radzen.com/t/new-generated-project-failed-to-build/21670/4 "2026-08-18T15:00:59Z")

</div>

According to the message you posted there is a Directory.Packages.props up the folder hierarchy which forbids using "\*" as package version which apps created by Radzen Blazor Studio use by default for the Radzen.Blazor package to make upgrades seamless. You can search for this file in your system (or ask Claude to find it for you). Proved by this error message:

```auto
error NU1008: The following PackageReference items cannot define a value for Version: Radzen.Blazor.

```

Projects created by Radzen Blazor Studio do not enable Central Package Management by default - they use the simplest configuration that works.
