Skip to content

Instantly share code, notes, and snippets.

@javiercn
Created March 3, 2020 16:59
Show Gist options
  • Save javiercn/03b286e8592d36c19b50c7a3651e64ea to your computer and use it in GitHub Desktop.
Save javiercn/03b286e8592d36c19b50c7a3651e64ea to your computer and use it in GitHub Desktop.
Blazor nightly instructions
  • Create a global json with dotnet new globaljson --sdk-version 3.1.102
  • Create a nuget.config file with dotnet new nugetconfig.
    <?xml version="1.0" encoding="utf-8"?>
    <configuration>
      <packageSources>
        <add key="blazor-wasm" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet3.1-blazor/nuget/v3/index.json" />
        <add key="nuget" value="https://api.nuget.org/v3/index.json" />
      </packageSources>
    </configuration>
  • From the command-line run dotnet new -i Microsoft.AspNetCore.Components.WebAssembly.Templates::3.2.0-* to install the latest version of the templates.
  • Now you can run dotnet new blazorwasm to create the latest Blazor webassembly templates from the command-line or from Visual studio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment