Ran the following steps:
1) .NET Core 3.0 Preview 6 SDK (3.0.100-preview6-012264)
2) Visual Studio Preview (16.2 Preview 2 or later) with the ASP.NET and web development workload selected.
3) The latest Blazor extension from the Visual Studio Marketplace.
4) The Blazor templates on the command-line:
dotnet new -i Microsoft.AspNetCore.Blazor.Templates::3.0.0-preview6.19307.2
Then used the Blazor (ASP.NET Core hosted) template.
Without touching the code, just doing
1) Restore NuGet packages
2) built Shared project
3) build the Client project
I get the following error inside the Client project:
Severity Code Description Project File Line Suppression State
Error RZ9980 Unclosed tag 'WeatherForecast' with no matching end tag. Blazor.Client C:\Users\AAdams1\Repos\FullStackBlazor2\Blazor.Client\Pages\FetchData.razor 43
Thank you for filing this issue. We are unable to reproduce this issue.
In order for us to investigate this issue, please provide a minimalistic repro project that illustrates the problem.
I am also having this issue, here is a repo.
Thanks @herrozerro. Looks like your repo is private. Can you please move the repro to a public repo so we can get to it?
@mkArtakMSFT it should be public now.
@herrozerro, I'm unable to repro it using your repo. It successfully builds for me:
Can you open the Package Manager Console
when you have the project loaded, and run dotnet --version
and you should see:
That was it, I updated blazor but not .net core.
@mkArtakMSFT FYI I see this issue building from source and running a template from source. The main painpoint is that it works on BlazorFiddle
@isaac2004 I'm going to try this out and get back to you.
Talked to @isaac2004 on this and he is going to try to repro one more time. Seems like he also feels like this is not an issue any more, but waiting for confirmation.
@isaac2004, I'm closing this. Please reopen if you'll face this issue again.
I am still facing the same issue. I have dotnet --version > 3.0.100-preview6-012264. still it is giving me the error.
@maulinshah1015 do you have the latest blazor template?
Good day! I decided to try creating a Blazor WebAssembly App project template. Everything was done as it is written here - https://docs.microsoft.com/en-us/aspnet/core/blazor/get-started?view=aspnetcore-3.0&tabs=visual-studio. At Press F5 to run the app a blank page opens with an inscription in the upper left corner Loading.
SDK - 3.0.100 - preview8-013656
Visual Studio Community 2019 Preview 16.3.0 Preview 2.0
In Output VS i see -
Failed to load resource: the server responded with a status of 404 (Not Found) [http://localhost:49566/_framework/blazor.boot.json]
SyntaxError: Unexpected end of JSON input
at Object. (http://localhost:49566/_framework/blazor.webassembly.js:1:30734)
at http://localhost:49566/_framework/blazor.webassembly.js:1:30237
at Object.next (http://localhost:49566/_framework/blazor.webassembly.js:1:30342)
at i (http://localhost:49566/_framework/blazor.webassembly.js:1:29088)
The program '' has exited with code -1 (0xffffffff).
The program '[3548] dotnet.exe' has exited with code -1 (0xffffffff).
I tried to run like this - For a Blazor client-side experience, execute the following commands in a command shell:
dotnet new blazorwasm -o WebApplication1
cd WebApplication1
dotnet run
The result is the same. Help, please! I can鈥檛 do anything, because I stopped at the very beginning.
Hi.
It looks like you are posting on a closed issue!
We're very likely to lose track of your bug/feedback/question unless you:
Most helpful comment
I am also having this issue, here is a repo.
https://github.com/herrozerro/singularity-lathe