title: Blazor Client - error NETSDK1082: 'browser-wasm'
body: <p>I created a simple blazor wa project hosted option selected. In the client side of the project in the project it automatically comes with <code>&lt;Project Sdk=&quot;Microsoft.NET.Sdk.BlazorWebAssembly&quot;&gt;</code>. I then added a few nuget packages before writing any code and when I clean the solution and even rebuild the solution it gives me the error:</p>
  <blockquote>
  <p>error NETSDK1082: There was no runtime pack for Microsoft.AspNetCore.App available for the specified RuntimeIdentifier 'browser-wasm'.</p>
  </blockquote>
  <p>I looked it up and saw that one solution to this is to change the first line in the <code>.csproj</code> to <code>&lt;Project Sdk=&quot;Microsoft.NET.Sdk.Web&quot;&gt;</code> instead of what it comes with by default. I did so but then when I run just the client it says 404. Then if I remove the extra packages and put it back to the default sdk it works. Is there a reason why I am getting this error with those packages? I created a blazor wa hosted .net 6 project btw.</p>
  <p>my client.csproj</p>
  <pre><code>&lt;Project Sdk=&quot;Microsoft.NET.Sdk.Web&quot;&gt;
  
    &lt;PropertyGroup&gt;
      &lt;TargetFramework&gt;net6.0&lt;/TargetFramework&gt;
      &lt;Nullable&gt;enable&lt;/Nullable&gt;
      &lt;ImplicitUsings&gt;enable&lt;/ImplicitUsings&gt;
    &lt;/PropertyGroup&gt;
  
    &lt;ItemGroup&gt;
      &lt;PackageReference Include=&quot;Blazored.LocalStorage&quot; Version=&quot;4.1.5&quot; /&gt;
      &lt;PackageReference Include=&quot;Microsoft.AspNetCore.Authentication.JwtBearer&quot; Version=&quot;5.0.12&quot; /&gt;
      &lt;PackageReference Include=&quot;Microsoft.AspNetCore.Authentication.OpenIdConnect&quot; Version=&quot;6.0.0&quot; /&gt;
      &lt;PackageReference Include=&quot;Microsoft.AspNetCore.Components.ProtectedBrowserStorage&quot; Version=&quot;5.0.0-rc.1.20451.17&quot; /&gt;
      &lt;PackageReference Include=&quot;Microsoft.AspNetCore.Components.WebAssembly&quot; Version=&quot;6.0.0&quot; /&gt;
      &lt;PackageReference Include=&quot;Microsoft.AspNetCore.Components.WebAssembly.DevServer&quot; Version=&quot;6.0.0&quot; PrivateAssets=&quot;all&quot; /&gt;
      &lt;PackageReference Include=&quot;Microsoft.Identity.Web&quot; Version=&quot;1.21.0&quot; /&gt;
      &lt;PackageReference Include=&quot;Newtonsoft.Json&quot; Version=&quot;13.0.1&quot; /&gt;
      &lt;PackageReference Include=&quot;RestSharp&quot; Version=&quot;106.13.0&quot; /&gt;
    &lt;/ItemGroup&gt;
  
    
  &lt;/Project&gt;
  </code></pre>