Virtual File doesn't include embedded files when publish #12943
Unanswered
shawn-show
asked this question in
Q&A
Replies: 2 comments 6 replies
-
ABP all modules are configured the virtual file system, you can check it: https://github.com/abpframework/abp/blob/dev/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/AbpIdentityDomainSharedModule.cs#L23 |
Beta Was this translation helpful? Give feedback.
2 replies
-
Did you set the <PropertyGroup>
<GenerateEmbeddedFilesManifest>true</GenerateEmbeddedFilesManifest>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.FileProviders.Embedded" Version="6.0.5" />
</ItemGroup> Also, please ensure you've marked your embedded resources correctly: <ItemGroup>
<EmbeddedResource Include="MyResources\**\*.*" />
<Content Remove="MyResources\**\*.*" />
</ItemGroup> |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I added a json file and made it to be embedded. And I also added the config on Module just followed the document
It worked when the solution running in VS. But when I published the solution to the server, it didn't work. I can not find the json file
Beta Was this translation helpful? Give feedback.
All reactions