dotnet-sdk icon indicating copy to clipboard operation
dotnet-sdk copied to clipboard

Question about embedding resources without class Assembly under Net 6.x or greater?

Open DeafMan1983 opened this issue 2 years ago • 1 comments

Ask your question here

Hello everyone,

I want know to embed resources like textures, pictures, models, etc... into NativeAOT executable program.

  1. Does it work only resources into byte[] or sbyte[] - OR -
  2. Embed resources into <EmbeddedResource ... /> and find embedded resource items? - OR -
  3. Or do you have an idea?

Because I try to deploy apk if who want work on tablet or smartphone?

PS: Do not use class-related Marshal and Assembly! Because I use NativeAOT executable program.

Thanks!

DeafMan1983 avatar Oct 16 '23 21:10 DeafMan1983

@DeafMan1983 Is your question specifically related to Dapr in some way or is it more generally directed at the .NET runtime? If the latter, you may find more help in the dotnet/runtime repo.

philliphoff avatar Oct 17 '23 17:10 philliphoff