Sample App Does Not Compile
I followed the directions carefully at https://blazor.net/docs/get-started.html to create your first project. However, when I try to build the sample app created by the template I get this error:
Error MSB3073 The command "dotnet "C:\Users\DevCharlesB.nuget\packages\microsoft.aspnetcore.blazor.build\0.5.1\targets../tools/Microsoft.AspNetCore.Blazor.Build.dll" write-boot-json obj\Debug\netstandard2.0\Test Blazor2.dll --references "C:\Test\Test Blazor2\Test Blazor2\obj\Debug\netstandard2.0\blazor/bootjson-references.txt" --embedded-resources "C:\Test\Test Blazor2\Test Blazor2\obj\Debug\netstandard2.0\blazor/embedded.resources.txt" --linker-enabled --output "C:\Test\Test Blazor2\Test Blazor2\obj\Debug\netstandard2.0\blazor/blazor.boot.json"" exited with code -532462766. Test Blazor2 C:\Users\DevCharlesB.nuget\packages\microsoft.aspnetcore.blazor.build\0.5.1\targets\Blazor.MonoRuntime.targets 635
Can't quite pick out what it's trying to tell me or where to go with it. Appreciate any suggestions.
I've never had that error myself, but searching for the error code brings up this StackOverflow post: https://stackoverflow.com/a/43237980 ... where multiple people claim they've had it when their NuGet packages directory is corrupt or inconsistent in some way, and their fix has been to clear the NuGet packages directory (e.g., dotnet nuget locals all --clear).
Since this doesn't appear to be Blazor-related I'll close it, but please let us know if you investigate further and have reason to think it's something in Blazor itself. Hope that's OK!