Closed nhwilly closed 11 months ago
For anyone finding this - you get this error:
CS0029 Cannot implicitly convert type 'Microsoft.AspNetCore.Components.ElementReference' to 'Blazor.Cropper.Cropper'
Evidently this is a known problem: https://github.com/dotnet/docs/issues/35449
And it's number 5 on this list: https://github.com/dotnet/razor/issues/8718
Hopefully you won't waste an afternoon it. There is a mention of someone with a .NET 8 preview version having the same issue.
I have no idea why it wasn't working. I created a new project from scratch and now it seems fine.
For anyone finding this - you get this error:
Evidently this is a known problem: https://github.com/dotnet/docs/issues/35449
And it's number 5 on this list: https://github.com/dotnet/razor/issues/8718
Hopefully you won't waste an afternoon it. There is a mention of someone with a .NET 8 preview version having the same issue.