Open msieker opened 4 years ago
LiveSharp doesn't have the .net5 support yet. I'll try to finish it before the release.
For some reason, I can't run this template even without LiveSharp installed.
Microsoft.JSInterop.JSException: Could not find any element matching selector '#app'.
f.printErr @ blazor.webassembly.js:1
blazor.webassembly.js:1 Error: Could not find any element matching selector '#app'.
f.printErr @ blazor.webassembly.js:1
blazor.webassembly.js:1 at Object.t.attachRootComponentToElement (https://localhost:5001/_framework/blazor.webassembly.js:1:11458)
f.printErr @ blazor.webassembly.js:1
EDIT: Seems like I have fixed it by renaming app.css
to site.css
. But now it runs fine for me with LiveSharp 1.6.10 installed and hot-reload working.
@msieker do you have the same issue with the latest RC?
I'm attempting to try out LiveSharp in my Blazor project. However, just adding the LiveSharp assembly to the Blazor project results in this:
The project is just a a default project created with
dotnet new blazorwasm --hosted
and then have LiveSharp and Microsoft.AspNetCore.SignalR.Client.I'm running dotnet5 RC1, with
Microsoft.AspNetCore.Components.WebAssembly
at version 5.0.0-rc.1.20451.17 in the project.