If I create a new Blazor wasm (client-side) project with Radzen, I'm not able to compile.
- Create a new Blazor wasm project
- Add a nuget pkg (Radzen.Blazor)
- Add this line to the index.html file
- Add a @using Radzen.Blazor to the _Imports.razor file
I get a red squiggly under the "@using Radzen.Blazor" statement and a compile time error saying that the namespace Radzen couldn't be found. From the sparse doco I've found on Radzen wasm, I thought that these were the only steps.
Environment:
VS 2019asp.net core 3.1-preview 2.19528Radzen.Blazor 2.5.7 .net standard lib 2.0.3
index.html
<body><app>Loading...</app><div id="blazor-error-ui"> An unhandled error has occurred.<a href class="reload">Reload</a><a class="dismiss">🗙</a></div><script src="_framework/blazor.webassembly.js"></script><script src="_content/Radzen.Blazor/Radzen.Blazor.js"></script></body>
_Imports.razor
@using System.Net.Http@using Microsoft.AspNetCore.Components.Forms@using Microsoft.AspNetCore.Components.Routing@using Microsoft.AspNetCore.Components.Web@using Microsoft.JSInterop@using BlazorApp1@using BlazorApp1.Shared@using Radzen.Blazor // <--- red squiggly here: "'Radzen' could not be found"