title: trying to publish blazor wasm app but mono runtime and class libs out of sync
body: <h3>Describe the bug</h3>
  
  <p>I'm trying to publish blazor wasm app to GitHub Pages and aliyun oss using GitHub Actions.
  Deploy success,but get error on browser,see <a href="https://gohopo.github.io/" rel="nofollow noreferrer">console log</a>.
  What I do wrong?</p>
  
  <p>My web.yml</p>
  
  <pre><code>name: deploy to web
  on:
    push:
      paths: 
      - 'src/Orion.UI.Web/**'
  jobs:
    build-deploy:
      runs-on: ubuntu-latest
      steps:
      - name: checkout
        uses: actions/checkout@master
  
      - name: setup dotnet core
        uses: actions/setup-dotnet@master
        with:
          dotnet-version: 3.1.100
  
      - name: setup aliyun oss
        uses: manyuanrong/setup-ossutil@master
        with:
          endpoint: oss-cn-hangzhou.aliyuncs.com
          access-key-id: ${{ secrets.ALIYUN_ACCESS_KEY_ID }}
          access-key-secret: ${{ secrets.ALIYUN_ACCESS_KEY_SECRET }}
  
      - name: build
        run: dotnet publish ./src/Orion.UI.Web/Orion.UI.Web.csproj -c Release -o ./bin/publish
  
      - name: deploy to aliyun oss
        run: ossutil cp -rf ./bin/publish/Orion.UI.Web/dist oss://gohopo-orion/
  
      - name: deploy to github pages
        uses: peaceiris/actions-gh-pages@master
        env:
          PERSONAL_TOKEN: ${{ secrets.GITHUB_PAGES_TOKEN }}
          EXTERNAL_REPOSITORY: gohopo/gohopo.github.io
          PUBLISH_BRANCH: master
          PUBLISH_DIR: ./bin/publish/Orion.UI.Web/dist
  </code></pre>
  
  <p>action result:
  <a href="https://user-images.githubusercontent.com/8192266/71986387-607c4a80-3267-11ea-94b4-bf98918cf349.jpg" rel="nofollow noreferrer">image url</a></p>
  
  <p>error on browser:
  <a href="https://user-images.githubusercontent.com/8192266/71986481-86095400-3267-11ea-8dbf-152ad25ba7dd.jpg" rel="nofollow noreferrer">image url</a></p>
  
  <h3>To Reproduce</h3>
  
  <p>My .csproj:</p>
  
  <pre><code>&lt;Project Sdk="Microsoft.NET.Sdk.Web"&gt;
  
    &lt;PropertyGroup&gt;
      &lt;TargetFramework&gt;netstandard2.1&lt;/TargetFramework&gt;
      &lt;RazorLangVersion&gt;3.0&lt;/RazorLangVersion&gt;
    &lt;/PropertyGroup&gt;
  
    &lt;ItemGroup&gt;
      &lt;PackageReference Include="Microsoft.AspNetCore.Blazor" Version="3.1.0-preview4.19579.2" /&gt;
      &lt;PackageReference Include="Microsoft.AspNetCore.Blazor.Build" Version="3.1.0-preview4.19579.2" PrivateAssets="all" /&gt;
      &lt;PackageReference Include="Microsoft.AspNetCore.Blazor.HttpClient" Version="3.1.0-preview4.19579.2" /&gt;
      &lt;PackageReference Include="Microsoft.AspNetCore.Blazor.DevServer" Version="3.1.0-preview4.19579.2" PrivateAssets="all" /&gt;
    &lt;/ItemGroup&gt;
  
  &lt;/Project&gt;
  </code></pre>
  
  <h3>Further technical details</h3>
  
  <ul>
  <li>Microsoft.AspNetCore.Blazor 3.1.0-preview4.19579.2</li>
  <li>dotnet-version: 3.1.100</li>
  <li>github actions build</li>
  </ul>