Browse Source
Merge pull request #23021 from abpframework/maliming-patch-2
Update `Understanding the Embedded Files in ABP Framework`
pull/23027/head
Engincan VESKE
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
2 deletions
-
docs/en/Community-Articles/2025-03-23-Understanding-the-Embedded-Files-in-ABP-Framework/post.md
|
|
|
@ -119,7 +119,7 @@ For example, if your filename is `zh.hans.json`, ABP will generate the following |
|
|
|
[File] [/MyModule/Volo/Abp/MyModule/Localization/zh/hans.json] |
|
|
|
``` |
|
|
|
|
|
|
|
Microsoft provides the `Microsoft.Extensions.FileProviders.Manifest` library to solve this problem. |
|
|
|
Microsoft provides the `Microsoft.Extensions.FileProviders.Embedded` library to solve this problem. |
|
|
|
|
|
|
|
We need to add this package dependency and set `<GenerateEmbeddedFilesManifest>true</GenerateEmbeddedFilesManifest>` in our project: |
|
|
|
|
|
|
|
@ -136,7 +136,7 @@ We need to add this package dependency and set `<GenerateEmbeddedFilesManifest>t |
|
|
|
<ItemGroup> |
|
|
|
<PackageReference Include="Microsoft.Extensions.Hosting" Version="9.0.0" /> |
|
|
|
<PackageReference Include="Volo.Abp.VirtualFileSystem" Version="9.0.0" /> |
|
|
|
<PackageReference Include="Microsoft.Extensions.FileProviders.Manifest" Version="9.0.0" /> |
|
|
|
<PackageReference Include="Microsoft.Extensions.FileProviders.Embedded" Version="9.0.0" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
|