Got the trial - CRUD app fails to compile

I just downloaded the trial of radzen blazor studio

I'm not a web dev, my background is database architecture

I've got a 3nf database backend ready and need some basic crud pages over top of it

I followed the guide to add the tables and generate crud pages, but the project doesn't build

As a test I created a new empty web project and that doesn't build/compile either, seems radzen studio cant find .net?

I had to install .net 8 to run the installer (i've restarted my machine as well)

I've also run a repair of the install

running the dotnet cmd works fine

C:\git\test\Test.csproj : error NU1100: Unable to resolve 'Radzen.Blazor (>= 0.0.0)' for 'net8.0'.

C:\git\test\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:\git\test\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:\git\test\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:\git\test\Components\App.razor(28,13): error CS0246: The type or namespace name 'ThemeService' could not be found (are you missing a using directive or an assembly reference?)
C:\git\test\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:\git\test\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:\git\test\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:\git\test\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:\git\test\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:\git\test\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:\git\test\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:\git\test\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:\git\test\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:\git\test\Program.cs(37,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:\git\test\Program.cs(38,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:\git\test\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:\git\test\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:\git\test\Components\App.razor(18,76): error CS0234: The type or namespace name 'Colors' does not exist in the namespace 'Radzen' (are you missing an assembly reference?)
C:\git\test\Components\App.razor(40,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?)

I can't manually add the blazor .net library either

C:\git\webapp-aic_project_data_manager\test>dotnet add package Radzen.Blazor --version 5.5.2
  Determining projects to restore...
  Writing C:\Users\xxxxxxxxxxx\AppData\Local\Temp\tmpnfp535.tmp
info : X.509 certificate chain validation will use the default trust store selected by .NET for code signing.
info : X.509 certificate chain validation will use the default trust store selected by .NET for timestamping.
info : Adding PackageReference for package 'Radzen.Blazor' into project 'C:\git\test\Test.csproj'.
info : Restoring packages for C:\git\test\Test.csproj...
error: NU1100: Unable to resolve 'Radzen.Blazor (>= 5.5.2)' for 'net8.0'.
error: Package 'Radzen.Blazor' is incompatible with 'all' frameworks in project 'C:\git\test\Test.csproj'.

Can you compile the same project with Visual Studio? Most probably you are using different NuGet source, not the official one provided by Microsoft.

This indeed sounds as a package restore problem which occurs if using a third party nuget repository. Check here for further instructions: Troubleshooting | Radzen Blazor Studio

Yes you’re right

My nuget config file had no sources listed

This is a new work windows pc. Don’t have visual studio installed. Just .net 8 and radzen studio

I didn’t realise it didn’t come with


  <packageSources>
    <add key="nuget" value="https://api.nuget.org/v3/index.json" />
  </packageSources>

By default