Skip to content

Commit 82fb887

Browse files
committed
Upgrade nuget packages for book store sample.
1 parent 7eaac6d commit 82fb887

File tree

5 files changed

+16
-12
lines changed

5 files changed

+16
-12
lines changed

samples/BookStore/src/Acme.BookStore.Application/Acme.BookStore.Application.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<ItemGroup>
99
<ProjectReference Include="..\Acme.BookStore.Domain\Acme.BookStore.Domain.csproj" />
10-
<PackageReference Include="Volo.Abp.Identity.Application" Version="0.3.3" />
10+
<PackageReference Include="Volo.Abp.Identity.Application" Version="0.3.4" />
1111
</ItemGroup>
1212

1313
</Project>

samples/BookStore/src/Acme.BookStore.Domain/Acme.BookStore.Domain.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="Volo.Abp.Identity.Domain" Version="0.3.3" />
9+
<PackageReference Include="Volo.Abp.Identity.Domain" Version="0.3.4" />
1010
<PackageReference Include="Microsoft.AspNetCore.Mvc.DataAnnotations" Version="2.1.1" />
1111
</ItemGroup>
1212

samples/BookStore/src/Acme.BookStore.EntityFrameworkCore/Acme.BookStore.EntityFrameworkCore.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212

1313
<ItemGroup>
1414
<ProjectReference Include="..\Acme.BookStore.Domain\Acme.BookStore.Domain.csproj" />
15-
<PackageReference Include="Volo.Abp.PermissionManagement.EntityFrameworkCore" Version="0.3.3" />
16-
<PackageReference Include="Volo.Abp.SettingManagement.EntityFrameworkCore" Version="0.3.3" />
17-
<PackageReference Include="Volo.Abp.Identity.EntityFrameworkCore" Version="0.3.3" />
18-
<PackageReference Include="Volo.Abp.EntityFrameworkCore.SqlServer" Version="0.3.3" />
15+
<PackageReference Include="Volo.Abp.PermissionManagement.EntityFrameworkCore" Version="0.3.4" />
16+
<PackageReference Include="Volo.Abp.SettingManagement.EntityFrameworkCore" Version="0.3.4" />
17+
<PackageReference Include="Volo.Abp.Identity.EntityFrameworkCore" Version="0.3.4" />
18+
<PackageReference Include="Volo.Abp.EntityFrameworkCore.SqlServer" Version="0.3.4" />
1919
</ItemGroup>
2020

2121
</Project>

samples/BookStore/src/Acme.BookStore.Web/Acme.BookStore.Web.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@
2727
<ItemGroup>
2828
<ProjectReference Include="..\Acme.BookStore.Application\Acme.BookStore.Application.csproj" />
2929
<ProjectReference Include="..\Acme.BookStore.EntityFrameworkCore\Acme.BookStore.EntityFrameworkCore.csproj" />
30-
<PackageReference Include="Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic" Version="0.3.3" />
31-
<PackageReference Include="Volo.Abp.Autofac" Version="0.3.3" />
32-
<PackageReference Include="Volo.Abp.Identity.Web" Version="0.3.3" />
33-
<PackageReference Include="Volo.Abp.Account.Web" Version="0.3.3" />
30+
<PackageReference Include="Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic" Version="0.3.4" />
31+
<PackageReference Include="Volo.Abp.Autofac" Version="0.3.4" />
32+
<PackageReference Include="Volo.Abp.Identity.Web" Version="0.3.4" />
33+
<PackageReference Include="Volo.Abp.Account.Web" Version="0.3.4" />
3434
</ItemGroup>
3535

3636
</Project>

samples/BookStore/src/Acme.BookStore.Web/BookStoreWebModule.cs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
using Volo.Abp.Data;
2525
using Volo.Abp.EntityFrameworkCore;
2626
using Volo.Abp.Identity;
27-
using Volo.Abp.Identity.Localization;
2827
using Volo.Abp.Identity.Web;
2928
using Volo.Abp.Localization;
3029
using Volo.Abp.Localization.Resources.AbpValidation;
@@ -49,7 +48,12 @@ public override void PreConfigureServices(IServiceCollection services)
4948
{
5049
services.PreConfigure<AbpMvcDataAnnotationsLocalizationOptions>(options =>
5150
{
52-
options.AddAssemblyResource(typeof(BookStoreResource), typeof(BookStoreWebModule).Assembly);
51+
options.AddAssemblyResource(
52+
typeof(BookStoreResource),
53+
typeof(BookStoreDomainModule).Assembly,
54+
typeof(BookStoreApplicationModule).Assembly,
55+
typeof(BookStoreWebModule).Assembly
56+
);
5357
});
5458
}
5559

0 commit comments

Comments
 (0)