Hello,
I got the following exception when trying to run the StandaloneApp :

@MaherJendoubi a silly question, your not running the project in release?
@grahamehorner no, I'm running the project in debug.

@MaherJendoubi another silly question tried running VS as Administrator? I'm sure you would have, but just thought id ask. oh are you running under IIS or as StandaloneApp ?
@MaherJendoubi try deleting the netcoreapp2.0 directory, fixed mine by doing that. If I recall the aspnet team switched from netcore to netstandard on the project type for Blazor.
I'd guess that netcoreapp directory is a remnant of a past build before the change.
See https://github.com/aspnet/Blazor/commit/a79775a28e9bc4bda8a05658985617fbc0b3c82b
Do a "git clean -xdf" on your local copy if you get runtime errors after
updating to this.
@grahamehorner There is no silly question.

@RyoukoKonpaku By deleting the netcoreapp2.0 directory, it works now! Thanks a lot.

It's also fixed in the source code thanks to @SteveSandersonMS : https://github.com/aspnet/Blazor/commit/4f0330b1f10798fcdd625541db952e5380e7867c