Просмотр исходного кода

Remove System.Text.Json from blazor-wasm (#29551)

The reference is brought in by the shared runtime and we do not need to explicitly reference it.
Pranav K 5 лет назад
Родитель
Сommit
38d826f988

+ 0 - 1
src/ProjectTemplates/Web.ProjectTemplates/ComponentsWebAssembly-CSharp.Client.csproj.in

@@ -16,7 +16,6 @@
     <PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Authentication" Version="${MicrosoftAspNetCoreComponentsWebAssemblyAuthenticationVersion}" Condition="'$(IndividualLocalAuth)' == 'true'" />
     <PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Authentication" Version="${MicrosoftAspNetCoreComponentsWebAssemblyAuthenticationVersion}" Condition="'$(IndividualLocalAuth)' == 'true'" />
     <PackageReference Include="Microsoft.Authentication.WebAssembly.Msal" Version="${MicrosoftAuthenticationWebAssemblyMsalVersion}" Condition="'$(OrganizationalAuth)' == 'true' OR '$(IndividualB2CAuth)' == 'true'" />
     <PackageReference Include="Microsoft.Authentication.WebAssembly.Msal" Version="${MicrosoftAuthenticationWebAssemblyMsalVersion}" Condition="'$(OrganizationalAuth)' == 'true' OR '$(IndividualB2CAuth)' == 'true'" />
     <PackageReference Include="Microsoft.Extensions.Http" Version="${MicrosoftExtensionsHttpVersion}" Condition="'$(NoAuth)' != 'true' AND '$(Hosted)' == 'true'" />
     <PackageReference Include="Microsoft.Extensions.Http" Version="${MicrosoftExtensionsHttpVersion}" Condition="'$(NoAuth)' != 'true' AND '$(Hosted)' == 'true'" />
-    <PackageReference Include="System.Net.Http.Json" Version="${SystemNetHttpJsonVersion}" />
   </ItemGroup>
   </ItemGroup>
 
 
   <!--#if Hosted -->
   <!--#if Hosted -->