Skip to content
This repository was archived by the owner on Aug 1, 2021. It is now read-only.

Commit 12a083a

Browse files
committed
bugs fix
1 parent 7062bef commit 12a083a

File tree

4 files changed

+8
-21
lines changed

4 files changed

+8
-21
lines changed

src/Backend/Jp.Infra.CrossCutting.Database/DbSettingsConfig.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public static void ConfigureDatabase(this IServiceCollection services, IConfigur
1717
case "MYSQL":
1818
services.AddIdentityMySql(connString);
1919
break;
20-
case "SQL":
20+
case "SQLSERVER":
2121
services.AddIdentitySqlServer(connString);
2222
break;
2323
case "POSTGRESQL":
@@ -35,7 +35,7 @@ public static void ConfigureIdentityServerDatabase(this IIdentityServerBuilder b
3535
case "MYSQL":
3636
builder.UseIdentityServerMySqlDatabase(connString);
3737
break;
38-
case "SQL":
38+
case "SQLSERVER":
3939
builder.UseIdentityServerSqlDatabase(connString);
4040
break;
4141
case "POSTGRESQL":
@@ -44,4 +44,4 @@ public static void ConfigureIdentityServerDatabase(this IIdentityServerBuilder b
4444
}
4545
}
4646
}
47-
}
47+
}

src/Backend/Jp.Infra.CrossCutting.Identity/Jp.Infra.CrossCutting.Identity.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="2.2.0" />
1616
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="2.2.0" />
1717
<PackageReference Include="Microsoft.AspNetCore.Authorization" Version="2.2.0" />
18-
1918
</ItemGroup>
2019
<ItemGroup>
2120
<PackageReference Include="MailKit" Version="2.2.0" />

src/Backend/Jp.Infra.CrossCutting.IdentityServer/Jp.Infra.CrossCutting.IdentityServer.csproj

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,15 @@
1010
<None Remove="Migrations\**" />
1111
</ItemGroup>
1212

13-
13+
14+
1415
<ItemGroup>
1516
<PackageReference Include="IdentityServer4.AspNetIdentity" Version="2.4.0" />
16-
<PackageReference Include="IdentityServer4.EntityFramework" Version="2.4.0" />
17-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="2.2.4" />
18-
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="2.2.4">
19-
<PrivateAssets>all</PrivateAssets>
20-
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
21-
</PackageReference>
2217
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="2.2.0" />
23-
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql" Version="2.2.0" />
2418
</ItemGroup>
2519

26-
20+
21+
2722
<ItemGroup>
2823
<ProjectReference Include="..\Jp.Infra.CrossCutting.Identity\Jp.Infra.CrossCutting.Identity.csproj" />
2924
<ProjectReference Include="..\Jp.Infra.Data\Jp.Infra.Data.csproj" />
Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<TargetFramework>netstandard2.0</TargetFramework>
@@ -14,11 +14,4 @@
1414
<ProjectReference Include="..\Jp.Application\Jp.Application.csproj" />
1515
<ProjectReference Include="..\Jp.Domain\Jp.Domain.csproj" />
1616
</ItemGroup>
17-
18-
<ItemGroup>
19-
<Reference Include="Microsoft.Extensions.Configuration">
20-
<HintPath>C:\Users\Bruno\.nuget\packages\microsoft.extensions.configuration\2.1.1\lib\netstandard2.0\Microsoft.Extensions.Configuration.dll</HintPath>
21-
</Reference>
22-
</ItemGroup>
23-
2417
</Project>

0 commit comments

Comments
 (0)