React to JwtBearer removal from Microsoft.AspNetCore.App
nits: - remove NET461 special case - remove reference to transitive Mvc.Core dependency
This commit is contained in:
parent
143a727113
commit
69b5ab9c01
|
|
@ -11,39 +11,34 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="$(BenchmarksOnlyNpgsqlEntityFrameworkCorePostgreSQLPackageVersion)" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup Condition="'$(TargetFramework)' != 'net461'">
|
|
||||||
<PackageReference Include="MySqlConnector" Version="$(BenchmarksOnlyMySqlConnectorPackageVersion)" />
|
|
||||||
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql" Version="$(BenchmarksOnlyPomeloEntityFrameworkCoreMySqlPackageVersion)" />
|
|
||||||
|
|
||||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="$(BenchmarksOnlyMicrosoftEntityFrameworkCoreDesignPackageVersion)" PrivateAssets="All" />
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="$(BenchmarksOnlyMicrosoftEntityFrameworkCoreDesignPackageVersion)" PrivateAssets="All" />
|
||||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="$(BenchmarksOnlyMicrosoftEntityFrameworkCoreSqlitePackageVersion)" />
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="$(BenchmarksOnlyMicrosoftEntityFrameworkCoreSqlitePackageVersion)" />
|
||||||
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="$(BenchmarksOnlyMicrosoftEntityFrameworkCoreSqlServerPackageVersion)" />
|
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="$(BenchmarksOnlyMicrosoftEntityFrameworkCoreSqlServerPackageVersion)" />
|
||||||
|
<PackageReference Include="MySqlConnector" Version="$(BenchmarksOnlyMySqlConnectorPackageVersion)" />
|
||||||
|
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="$(BenchmarksOnlyNpgsqlEntityFrameworkCorePostgreSQLPackageVersion)" />
|
||||||
|
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql" Version="$(BenchmarksOnlyPomeloEntityFrameworkCoreMySqlPackageVersion)" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<!-- These references are used when running locally -->
|
<!-- These references are used when building locally or on CI. -->
|
||||||
<ItemGroup Condition="'$(BenchmarksTargetFramework)' == ''">
|
<ItemGroup Condition="'$(BenchmarksTargetFramework)' == ''">
|
||||||
<Reference Include="Microsoft.AspNetCore.Authentication" />
|
<Reference Include="Microsoft.AspNetCore.Authentication" />
|
||||||
<Reference Include="Microsoft.AspNetCore.Authentication.JwtBearer" />
|
<Reference Include="Microsoft.AspNetCore.Authentication.JwtBearer" />
|
||||||
<Reference Include="Microsoft.AspNetCore.Server.Kestrel" />
|
|
||||||
<Reference Include="Microsoft.Extensions.Configuration.CommandLine" />
|
|
||||||
|
|
||||||
<Reference Include="Microsoft.AspNetCore.Mvc.Core" />
|
|
||||||
<Reference Include="Microsoft.AspNetCore.Mvc.DataAnnotations" />
|
<Reference Include="Microsoft.AspNetCore.Mvc.DataAnnotations" />
|
||||||
<Reference Include="Microsoft.AspNetCore.Mvc.Formatters.Json" />
|
<Reference Include="Microsoft.AspNetCore.Mvc.Formatters.Json" />
|
||||||
|
<Reference Include="Microsoft.AspNetCore.Server.Kestrel" />
|
||||||
|
<Reference Include="Microsoft.Extensions.Configuration.CommandLine" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<!--
|
<!-- These references are used when building on the Benchmarks Server. -->
|
||||||
These references are used when running on the Benchmarks Server.
|
|
||||||
Use All meta-package and not App to include Microsoft.EntityFrameworkCore.Sqlite.
|
|
||||||
-->
|
|
||||||
<ItemGroup Condition="'$(BenchmarksTargetFramework)' != ''">
|
<ItemGroup Condition="'$(BenchmarksTargetFramework)' != ''">
|
||||||
<KnownFrameworkReference
|
<KnownFrameworkReference
|
||||||
Update="Microsoft.AspNetCore.App"
|
Update="Microsoft.AspNetCore.App"
|
||||||
DefaultRuntimeFrameworkVersion="$(MicrosoftAspNetCoreAppPackageVersion)"
|
DefaultRuntimeFrameworkVersion="$(MicrosoftAspNetCoreAppPackageVersion)"
|
||||||
LatestRuntimeFrameworkVersion="$(MicrosoftAspNetCoreAppPackageVersion)"
|
LatestRuntimeFrameworkVersion="$(MicrosoftAspNetCoreAppPackageVersion)"
|
||||||
TargetingPackVersion="$(MicrosoftAspNetCoreAppPackageVersion)" />
|
TargetingPackVersion="$(MicrosoftAspNetCoreAppPackageVersion)" />
|
||||||
|
|
||||||
|
<!-- Special-case the JwtBearer package because assembly no longer ships in Microsoft.AspNetCore.App. -->
|
||||||
|
<!-- Cannot use <Reference> because it's unsupported when building an isolated project. -->
|
||||||
|
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="$(BenchmarksAspNetCoreVersion)" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue